Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Photos: Check if full size photo exists before showing/linking to it #618

Open
GregLeonhardt opened this issue Jul 7, 2021 · 1 comment
Labels
Bug Something is broken

Comments

@GregLeonhardt
Copy link

If this switch is changed from 'Off (2 photos)' to 'On (3 photos)' after photos are already uploaded, an error:

"PHP Error
filesize(): stat failed for /var/www/html/fcms/uploads/photos/member*/full_xx.jpg"

whenever a previously uploaded photo is selected for viewing.

It looks like once the switch is set to "On" it expects that all photos will have a "full_xx.jpg" file. Unfortunately these files do not exist for photos uploaded to the server when the switch was set to "Off".

@ryanhowdy ryanhowdy added the Bug Something is broken label Jul 12, 2021
@ryanhowdy
Copy link
Owner

That is correct.

I thought there was a check to make sure those full sized photos existed before using them.

@ryanhowdy ryanhowdy changed the title Administration->Configuration->Photo Gallery->Full Size Photos Photos: Check if full size photo exists before showing/linking to it Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken
Projects
None yet
Development

No branches or pull requests

2 participants