Open YOBA1112 opened 3 years ago
when there is no BLOG_IMAGE_FULL_SIZE in the settings, the picture also does not appear.
I just had this same problem: if you don't provide a width AND a height in your settings, the image will not be loaded (the src attribute is empty). It can be fixed with a custom setting like this BLOG_IMAGE_FULL_SIZE = {"size": "640x640", "crop": True, "upscale": False}
, but it would be nice if the image would be rendered without specifying the width and height with an HTML attribute. It's hard to deal in responsive designs with it.
I just stumbled upon this as well - it would lovely to have this in the installation instructions, if nothing else.
Description
Pictures not loading, raising an exception
Steps to reproduce
1.Install djangocms-blog via pip 2.Complete the installation 3.In settings.py set
THUMBNAIL_DEBUG = True
4.Create an article containing a main image, like so 5.Open the page that you've just createdVersions
Expected behaviour
1.Link is opening 2.Image is provided
Actual behaviour
So, I've tried to install this app, and at the first glance everything works pretty fine, but when I'm trying to add a picture I get this error.
This exception is shown because in my settings I set easy-thumbnails debug option to True(link)
Additional information
What I did to fix it is changed BLOG_IMAGE_FULL_SIZE size from 640 to 640x640 in djangocms-blog/settings.py and it worked.