-
Notifications
You must be signed in to change notification settings - Fork 171
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
Thumbnails gets recreated unrotated #211
Comments
Hmm this should not happen, unless you put the build directory inside the source one ? Can you post the output in debug mode for the two runs (with a small test gallery) ? |
Problem doesn't happen when sigal runs in debug mode. So I quickpached image.py:
First run - creating from scratch - thumbnails is ok.
|
|
Sorry it took some time before I could come back to this. So yes, actually you were right when you said "Reason seems to be that first time thumbnails was generated from output images and second time from source images." It is the result of both a side effect from another feature (the possibility to generate thumbnail only when the theme request them, and when they have not been generated in the image processing step), and from the fact that you deleted only the thumbnail directory.
So, what could be done is to check if both the thumbnail and image exists to know if an image must be processed. But really, for me it is an edge-case, the state of the dst directory should not be inconsistent with what sigal expects from your settings. |
I needed to change theme (on 100+GB source dir) with different thumbnail size and didn't wanted to reprocess all images and reencode videos. |
Steps to reproduce:
Reason seems to be that first time thumbnails was generated from output images and second time from source images.
The text was updated successfully, but these errors were encountered: