• HI,
    I have just installed simple photo gallery and tried to upload my first gallery. The upload all went smoothly. I selected template 3 for the masonry option. However, when I click on the thumbnail to view I get the following error message as if there is an error in the directory somehow:
    website: https://www.effervescence.com.au/wppg_photogallery/wppg_photo_details/?gallery_id=2&image_id=687

    Photo Details

    Warning: getimagesize(/home/efferve1/public_html/wp-content/uploads/simple_photo_gallery/2/Eff0816_01.jpg?fit=1024%2C1536): failed to open stream: No such file or directory in /home/efferve1/public_html/wp-content/plugins/simple-photo-gallery/classes/wppg-photo-gallery-class.php on line 462

    Warning: Division by zero in /home/efferve1/public_html/wp-content/plugins/simple-photo-gallery/classes/wppg-photo-gallery-class.php on line 476

    Warning: imagesx() expects parameter 1 to be resource, null given in /home/efferve1/public_html/wp-content/plugins/simple-photo-gallery/classes/wppg-photo-gallery-class.php on line 521

    Warning: imagesy() expects parameter 1 to be resource, null given in /home/efferve1/public_html/wp-content/plugins/simple-photo-gallery/classes/wppg-photo-gallery-class.php on line 522

    Warning: imagecopy() expects parameter 1 to be resource, null given in /home/efferve1/public_html/wp-content/plugins/simple-photo-gallery/classes/wppg-photo-gallery-class.php on line 555

    Warning: imagejpeg() expects parameter 1 to be resource, null given in /home/efferve1/public_html/wp-content/plugins/simple-photo-gallery/classes/wppg-photo-gallery-class.php on line 574

    Warning: imagedestroy() expects parameter 1 to be resource, null given in /home/efferve1/public_html/wp-content/plugins/simple-photo-gallery/classes/wppg-photo-gallery-class.php on line 575

    I can’t see where to fix it. Can anyone help, please?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi, thank you for reporting this issue. The plugin developers will investigate further your issue.

    Kind regards

    Thread Starter amberlou70

    (@amberlou70)

    Thank you. I look forward to hearing of the solution.

    Plugin Author mra13

    (@mra13)

    Something on your site (most likely another plugin or theme) is adding the following to the end of your images:

    ?fit=1024%2C1536

    This is causing the photo gallery plugin to not be able to fetch the image. Do you know which resource on your site is adding that query parameter to the end of the photo automatically?

    Plugin Author wpsolutions

    (@wpsolutions)

    Can you try disabling the “photon” feature of jetpack and then create a new gallery and check to see if the new gallery works?

    • This reply was modified 8 years, 6 months ago by wpsolutions.
    Thread Starter amberlou70

    (@amberlou70)

    I don’t know what is causing the add on at the end of the images. I’ll try to disale photon and see if that fixes it. – Thanks!

    Thread Starter amberlou70

    (@amberlou70)

    Thank you – that has fixed the problem!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Error when opening thumbnail’ is closed to new replies.