Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Thumb error #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

InfinityHayden
Copy link

If you install this script as is within public_html for example or even public_html/galleryscript once you upload images into cat/dog/misc when you load the index.php it will show error thumbnails it tries to retrieve the thumbnail from / and then displays no image, once you click on the broken image the full image still loads.
I have changed line 467 from ThumbsDir . '/' to ThumbsDir . '/cache/' and it seems to solve the issue.

No idea if this is "correct" but it made the script work for me!
before
afte

If you install this script as is within public_html for example or even public_html/galleryscript once you upload images into cat/dog/misc  when you load the index.php it will show error thumbnails it tries to retrieve the thumbnail from / and then displays no image, once you click on the broken image the full image still loads.
I have changed line 467 from ThumbsDir . '/' to ThumbsDir . '/cache/' and it seems to solve the issue.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant