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

Correction of the thumb path #816

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

Conversation

Ilya-Zhulin
Copy link
Contributor

There is an error when filename is a part of article id. For example filename is "4.jpg" and article id is "324". Path to file is "/images/type_name/324/4.jpg", but path to thumb in this case is "/images/type_name/32_thumb1/4/_thumb1/4.jpg". So, such thumb is anavailiable.
My correction limits filename between slash and dot to define filename more clear.

There is an error when filename is a part of article id. For example filename is "4.jpg" and article id is "324". Path to file is "/images/type_name/324/4.jpg", but path to thumb in this case is "/images/type_name/32_thumb1/4/_thumb1/4.jpg". So, such thumb is anavailiable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant