Join Free
  • Inbox
    + Reply to Thread
    Results 1 to 7 of 7
    1. #1

      Prosperent Plugin - Images Not Showing Up

      I have been using prosperent plugin since 7/11. I just noticed recently ad images suddenly stopped showing up, although I still see the description. Anybody has the same problem and know what to do about it? Any input or directions you could give me would be much appreciated.


      Thanks!
      Juanita

    2. #2
      I dont know how this plugin, but if you are using images with size 125x125 px (image_thumb_url), then now they are not available from the api repsonse. Now you have to use field image_url (image with size 250x250) and replace string "250x250" for "125x125".

    3. #3
      Quote Originally Posted by 312k1t View Post
      I dont know how this plugin, but if you are using images with size 125x125 px (image_thumb_url), then now they are not available from the api repsonse. Now you have to use field image_url (image with size 250x250) and replace string "250x250" for "125x125".
      image_thumb_url was depreciated, so what 312k1t said

    4. #4
      Administrator Prosperent Andrew's Avatar
      Join Date
      Apr 2011
      Location
      Colorado Springs, CO
      Posts
      241
      Quote Originally Posted by 312k1t View Post
      replace string "250x250" for "125x125"
      If you have upgraded your prosperentApi class, there is no need to do a string replace any longer. Use the imageSize parameter.

    5. #5
      Quote Originally Posted by Prosperent Andrew View Post
      If you have upgraded your prosperentApi class, there is no need to do a string replace any longer. Use the imageSize parameter.

      OK, I know this is a stupid question, but when you don't know, you just don't know. So, I just have to ask.

      How do you upgrade prosperent API class, Andrew?

      I created a new API and tried that one. It doesn't work, the images are still missing.
      The closest code I could find in the plugin editor in order to change the image size is this:

      #wpp-products table.grid .wpp-image img {
      width: 125px;
      height: 125px;

      I changed both to 250, that didn't work either. The images are still not showing up.

      I am not sure what else to do now.

    6. #6
      If you're talking about the WP Prosperent Pro plugin, you're going to need to go through and open/edit all the files that reference 'image_thumb_url'. As mentioned above, replace every instance of 'image_thumb_url' with 'image_url'. I just fixed this problem on a few of my blogs and here are the file names I edited:

      classic.phtml
      list.phtml
      custom.phtml
      list-no-store.phtml
      widget.phtml
      general.phtml
      general.phtml

      Editing those files fixed the problem for me. The files for this plugin are spread around in several different folders so I just went through and opened all the .php and .phtml files to do a search and replace. I didn't have to change any of the size (125x125 etc) settings for the templates I'm using and I didn't have to update the API.

      Use a text editor with a good search and replace function like EditPadLite (editpadlite.com - it's free) and be sure to back up your current plugin before you start making changes. Good luck

    7. #7
      Administrator Prosperent Andrew's Avatar
      Join Date
      Apr 2011
      Location
      Colorado Springs, CO
      Posts
      241
      Quote Originally Posted by Prosperent Andrew View Post
      If you have upgraded your prosperentApi class, there is no need to do a string replace any longer. Use the imageSize parameter.
      Sorry, I failed to notice that this was for the Prosperent Plugin. You would use the imageSize param if you use the API directly. Jamie's solution should work for you...

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts