-
Notifications
You must be signed in to change notification settings - Fork 580
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
thumbnail is missing... [BUG] #1412
Comments
Can you share your MEDIA settings? |
Yes my apologies for the late return if this is not the right answer, I will be back at it on Saturday night... I was up late that night and did an hour sieste now but I want to finish making my soup , etc.. adding MEDIA rootMEDIA_ROOT = '/usr/home/sixpiece/python/emploiquebec/media' MEDIA_URL = '/media/'e__).resolve().parent.parent |
The |
sorry about that there was probably something wrong with how it posted... adding MEDIA rootMEDIA_ROOT = '/usr/home/sixpiece/python/emploiquebec/media' MEDIA_URL = '/media/' I just looked at it now and was wondering how I came up with such a thing... going to share the whole settings.py ... |
|
here's the issue as far as I see... is the thumbnail 'filer.thumbnail_processors.scale_and_crop_with_subject_location', will not work but if I use 'easy_thumbnails.processors.scale_and_crop', then it works.... cause it gives a different location |
for example it looks for this thumbnail : https://tld-withheld.net/media/filer_public_thumbnails/filer_public/fb/5b/fb5bdd6d-9a78-4a7c-ab42-39c41d3b510b/sheldon-lub.png__40x40_q85_crop_subsampling-2.jpg sheldon-lub.png__40x40_q85_crop_subsampling-2.jpg a little bit odd... |
I set it back to 'filer.thumbnail_processors.scale_and_crop_with_subject_location' what I notice is that the minute it uploads the picture it's there but if I refresh it's gone... |
|
apologize for the fatigure of the other I was up late doing the system upgrades, etc.. |
it's missing filer_thumbnails in the path... between /media/"missing here"/filer_public_thumbnails ... |
Your settings look good to me. Just to nail this down: I assume the issue disappears if you remove your custom thumbnail filer storage? If so, I assume there is a bug using the wrong storage (default storage as opposed to thumbnail storage). Can you confirm? |
yes that is correct, on new pictures if I comment out the thumbnail storage it will work properly... |
it seems to fix the issue... in fact because by selecting the image it will recreate the thumbnail and it will work... should I close this issue? |
thank you... |
I think you found a real bug: If you have a custom file storage for thumbnails, it needs to be reflected in the directory listing. Leave this issue open. |
I would like to come up with a fix. Once I've done that, could you test it with your original settings? |
Here's a fix: #1413 Can you test if it works with your original settings? You can install the fix using |
no it's not working... |
|
This install looks all right. To be on the safe side, you might try uninstalling filer beforehand ( I guess we should also have a test for that. |
Let's leave this open until the fix is merged :-) Thank you for your help! Great work! |
you're welcome, thank you for the help as well.. |
Description
thumbnail image in the preview section is missing ...
Steps to reproduce
Expected behaviour
thumbnail should show image
show image
Actual behaviour
broken link
it looks like it's close but for some reason thumbnail is not generated...
Screenshots
Additional information (CMS/Python/Django versions)
Do you want to help fix this issue?
The text was updated successfully, but these errors were encountered: