Forum Replies Created

Viewing 1 replies (of 1 total)
  • I know this is 10 months old, but in case anyone else has the same issue and is looking for a solution…

    I’ve been using this plug-in for a couple of months without any problems, then all of a sudden I started having this problem today after uploading a bunch of pictures, no idea why!!! As the OP says, the slide show was working perfectly, but it still displayed that “Warning: getimagesize() [function.getimagesize]: Filename cannot be empty in…..” error message on every page with new pictures.

    I was about to give up when my husband came to the rescue and found this solution – at least it works for me, slide-show working beautifully again and error messages have gone!!

    – Find the galleria-wp.php file.
    – Scroll all the way to the bottom to lines 1245 + 1246, they should read:

    $thumb_file = wp_get_attachment_thumb_file( $id ); // modified by Y2
    if ( $info = getimagesize($thumb_file) ) { //

    Highlight and replace both lines with this one line:

    if ( ($thumb_file = wp_get_attachment_thumb_file($id)) && $info = getimagesize($thumb_file) ) { //

    That’s it! Don’t forget to save the changes ??

Viewing 1 replies (of 1 total)