Search code examples
javascriptwordpressprettyphoto

prettyphoto not displaying thumbnail but resolves image when clicked


I had to move my wordpress site to a different directory folder on my hosting server. Now for some reason on the portfolio pages of my website it's not displaying the thumbnail preview for lightbox images. The image will display when the thumbnail is clicked so I know it's pulling the right image from the right place but why is it not showing the preview thumbnail?

Here is a link:

Any help would be really appreciated!


Solution

  • OK, well based on your comments the switch across from one server to another has stopped the method aq_resize() working. It is called Aqua-Resizer, here's the Github page;

    https://github.com/sy4mil/Aqua-Resizer/blob/master/aq_resizer.php

    The wiki on it explains it's use but if all you've done is change the server then you will have to look at other explanations for why it's not working. The following is a list you can start looking through;

    Make sure your functions.php still has require_once('aq_resizer.php'); with the correct path to this script. Make sure the script is actually there. If it is try changing the file permissions on the file to see if that helps. If the script uses a cache directory try changing the permissions on this.

    It could also be that the PHP version on the new server is different (maybe, I'm guessing now)? Check that too.