>
> in MY case, sorl-thumbnail's pictures render as something
> like <original_filename>__<width>x<height>.png
>
Me too. I would figure out what is causing the renaming instead of using
your original pictures. The originals can be huge and may no look as nice
either.
On Monday, 4 June 2012 12:09:27 UTC-4, Tomas Neme wrote:
>
> > that gives
> > <img src="/media/images/pics/productimage-picture-ccf-iveco-4.jpg"
> > width="187" height="280" />
>
> the problem with this is that if your picture is a 4MB 20MP picture
> and you want to show a 187x280 version of it, you'll have your clients
> download the whole 4MBs and have their browsers shrink the picture on
> the client's side.
>
> Besides this, sorl-thumbnail lets you resize the picture to whatever
> size you want, the code you showed actually doesn't change the size of
> the picture, and you might as well just do <img src="{{
> pic.picture.url }}" />.
>
> Moreover, in MY case, sorl-thumbnail's pictures render as something
> like <original_filename>__<width>x<height>.png nothing as you showed,
> so maybe there's some setting that can be fixed in your project?
>
> --
> "The whole of Japan is pure invention. There is no such country, there
> are no such people" --Oscar Wilde
>
> |_|0|_|
> |_|_|0|
> |0|0|0|
>
> (\__/)
> (='.'=)This is Bunny. Copy and paste bunny
> (")_(") to help him gain world domination.
>
--
You received this message because you are subscribed to the Google Groups
"Satchmo users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/satchmo-users/-/EO4GR5yvPkUJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/satchmo-users?hl=en.