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

Sorl thumbnail / swift storage #22

Open
masterdubs opened this issue Apr 21, 2015 · 1 comment
Open

Sorl thumbnail / swift storage #22

masterdubs opened this issue Apr 21, 2015 · 1 comment

Comments

@masterdubs
Copy link

Hi @Blacktorn,
did you try implementing this with soul-thumbnail ? It return a 404 error for image.
It return url of the website instead of the swift url .
without sorl image is returned correctly.
Is it possible to fix that ?

Thank you

@pchinea
Copy link
Contributor

pchinea commented Nov 7, 2016

@masterdubs: It will never works. With Sorl-thumbnails, django generates images at the time of serving, with swift storage the files are not served by django but media server, so the thumbnails must be generated previously and uploaded to media server. These are two different ways of working.

https://sorl-thumbnail.readthedocs.io/en/latest/operation.html

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

No branches or pull requests

2 participants