Sorry bother you, I have resolved by myself. The problem is PIL can't find the jpeg decoder, so I installed libjpeg-devel and recompile PIL, the problem removes.
But I am still curious in absence of libjpeg, how the original thumbnail is generated? Interesting. Thanks. Bin On 3月8日, 上午9时14分, "Bin Chen(sunwen_ling)" <[email protected]> wrote: > Sorry to ping again. My problem is I can't modify any preset resolutions, > such as "85x85", "280x280". If I changed any of the digits, the image can't > be shown. > > What's the magic behind that? > > Thanks in advance. > Bin > > On Mon, Mar 7, 2011 at 4:04 PM, Bin Chen <[email protected]> wrote: > > Hi, > > > I am trying to modify the template index.html file to show larger > > thumbnail. I changed below line: > > > {% thumbnail product.main_image.picture "85x85" as image %} > > > to: > > > {% thumbnail product.main_image.picture "65x65" as image %} > > > Then no image is showing anymore. I am wondering does sorl-thumbnail > > only supports a fixed number of resolutions? > > > Thanks. > > Bin > > > -- > > You received this message because you are subscribed to the Google Groups > > "Satchmo users" group. > > 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. -- You received this message because you are subscribed to the Google Groups "Satchmo users" group. 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.
