Hi Karim,

On Sunday 11 June 2017 08:26:44 Karim wrote:
> UPDATE
> 
> if STATIC_URL and MEDIA_URL are set with the `http://....` the img are
> correctly rendered in the posts with the right `src`.
> 
> The thumbnails generation in django-filebrowser is still broken
> because point to `static/media`

If STATIC_URL fixes part of your problem, then your setting is incorrect. Make 
sure they 
are absolute, not relative, so /static/ not static/.

If no thumbnails are generated on disk, then (like Joshua) the problem is with 
Pillow.

You can test what happens in a django shell as follows:
>>> from mezzanine.core.templatetags.mezzanine_tags import thumbnail
>>> thumbnail('/media/uploads/foo.jpg', 80, 80)

(needs to be an existing image bigger then 80x80 for any Pillow runtime related 
errors to 
surface.)
-- 
Melvyn Sopacua

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to