IMage not showing

Images have been captioned and moved into a folder for checking.
Images are published but containing folder is not.
the thumbnails show up fine but when you click on the thumbnail to see the main entry, in many case (not every) the image does not show - just a broken image thumbnail - though the other details, ie. caption, desc etc do show up.
In the debug log we get the following:

{4073920:Tue, 22 Jul 2025 15:03:40 GMT}

WARNING: imagejpeg(/home/graveseggsa/public_html/easterncape/cache/photo-labelling-group/halfway-house_EC/2024_STEYTLERVILLE_CEM_3_2_RB/2d9bfbe62d25548a749b346ac073e3ee0d644930.IMG_6825_1200.jpg): Failed to open stream: No such file or directory in /home/graveseggsa/public_html/easterncape/zp-core/classes/class-graphicsgd.php on line 101

imagejpeg called from graphicsGD->imageOutput (class-graphicsgd.php [101])

from cacheImage (functions-image.php [495])

from i.php [152]

Any idea on what is going wrong and how I can put it right, please?

Many thanks,
Richard

Comments

  • acrylian Administrator, Developer

    Is 2d9bfbe62d25548a749b346ac073e3ee0d644930.IMG_6825_1200.jpg really the image name? Then the two "dots" maybe the reason here. File names should not have dots other than for the suffix.

  • RichardB Member

    No - the image name is IMG_6825_1200.jpg
    I presume that image name is from the cache?

  • acrylian Administrator, Developer

    Sorry, my mistake! The _1200 at the end is likely the cause because on cache files the intended size information is appended.

    This would mean a 1200px image resized without cropping (longest or tallest side depending on the image options). The image processor in this case now looks for an image IMG_6825.jpg it does not find since that does not exist. (IMG_6825.jpg will not work for the same reason).

  • RichardB Member

    I deleted the cache and it works OK now.

    I assume that when the album was moved to a new location that the cache was not completely updated.

    Thank you,
    Richard

  • acrylian Administrator, Developer

    Okay, good, you got it working. I remember we had this "number in filename" issue in the past and might have fixed it some years ago by checking the suffix to avoid these conflicts. Too many changes over the years that I don't remember them all ;-). So probably it is indeed not an actual problem anymore.

    The hash btw may be from a Options > SEcurity option to hash the cachefilename. I rarely used that mysefl but I think it should hash the whole filename.

    GEnerally if you have issue with your albums/images after changes hit the "Refresh database" utility button as that matches the database with the filesystem again in case it got out of sync.

Sign In or Register to comment.