I found a solution that worked for me, you can find it here: https://groups.google.com/forum/#!topic/mezzanine-users/kNk1syn_FaI
On Wednesday, 19 August 2015 10:15:35 UTC-7, Avery Laird wrote: > > Hi Geoff, > > I would appear that the `thumbnail` tag is failing silently. This can > happen for a lot of reasons, although for me it usually comes down to an > issue with converting the image. I'm not exactly sure what the reason for > this is, but when converting the image it throws an IOError. In the next > couple days I'll be looking more into this, and I had posted a topic a few > days ago about a similar issue. Hopefully someone will figure it out! If > not, perhaps consider looking into thumbnail alternatives, such as > sorl-thumbnail? > > On Tuesday, 18 August 2015 23:31:19 UTC-7, Geoff P wrote: >> >> >> I'm working with the Singularity theme. I've noticed that when I add an >> image to a blog post, the image doesn't look right in the blog roll on the >> front page(blog list?). A thumbnail image is created for the blog roll, but >> new dimensions for the thumbnail aren't defined. Taking a look at the >> source of the img, it gives me this: >> >> src="/static/media/uploads/blog_images/choose_a_pack.jpg" >> >> This is how it looks in my browser, this long infographic is squished >> vertically: >> >> >> <https://lh3.googleusercontent.com/-oNY0BKZUbho/VdQWtz5mV4I/AAAAAAAAAeE/TdegKrxfVi8/s1600/squished.JPG> >> >> >> On the Singularity Theme demo >> <https://secure.mezzathe.me/static/media/preview/singularity/singularity/> >> site, >> for comparison, I inspected the first thumbnail image on the blogroll and I >> see this as a source (the image appears to be 200x200 natively): >> >> src= >> "static/media/uploads/blog/.thumbnails/sf_gg_bridge.jpg/sf_gg_bridge-200x200-0.5x0.jpg" >> >> Any tips for where to enable this kind of functionality? I did some >> diving into theme/templates/blog and found some blocks of code in >> blog_post_list.html and blog_post_detail.html that I suspect have something >> to do with it. Those blocks each look like this: >> >> {% if settings.BLOG_USE_FEATURED_IMAGE and blog_post.featured_image %} >> {% block blog_post_list_post_featured_image %} >> <a href="{{ blog_post.get_absolute_url }}"> >> <img src="{{ MEDIA_URL }}{% thumbnail blog_post.featured_image >> 270 270 top=0 %}"> >> </a> >> {% endblock %} >> {% endif %} >> >> I thought maybe if I uncommented BLOG_USE_FEATURED_IMAGE in settings that >> would fix it, but it just crashed the dev server with a 502. >> >> Not sure where to go from here. Thanks for any insight! >> >> >> -- 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.
