I narrowed the problem (or I guess so).

Here the settings on production:

In [2]: settings.STATIC_ROOT
Out[2]: '/home/user/webapps/static_app/'

In [3]: settings.STATIC_URL
Out[3]: '/static/'

In [4]: settings.MEDIA_ROOT
Out[4]: '/home/user/webapps/static_app/media/'

In [5]: settings.MEDIA_URL
Out[5]: '/static/media/'

If I upload a file using django-filebrowser the file is loaded and stored
in the STATIC_ROOT, but somehow the thumbnail is not generated and in the
django-filebrowser panel the src of the thumbnail is /static/media/.

If I load the image file in a post, I see the image correctly in the
WYSIWYG editor, the html generated in there point correctly to the image
url. The problem is the published post where the image is broken because
the src is, like in the filebrowser panel, /static/media/

The error is in the url process of the static file, but I don't know where
to look.

I already checked:

- The permissions on the server are ok.
- The Pillow installation works.
- The images in static/ are available and I can load them from the browser.


Any suggestion where to look?





-- 
Karim N. Gorjux

-- 
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