On 4 Giu, 12:32, kooliah <kool...@djeve.sites.djangohosting.ch> wrote: > So i can't understand if i want to have a better ranking, it is better > to not use sorl for this kind of images and use > > <img src="{{ pic.picture.url }}" width="{{ pic.picture.width }}" > height="{{ pic.picture.height }}" /> > > that gives > <img src="/media/images/pics/productimage-picture-ccf-iveco-4.jpg" > width="187" height="280" /> >
from a user perspective, I think is much wors load a full size image and scale it down only to use its filename.. the same page you linked says also: " Create great alt text The alt attribute is used to describe the contents of an image file. It's important for several reasons: •It provides Google with useful information about the subject matter of the image. We use this information to help determine the best image to return for a user's query. •Many people-for example, users with visual impairments, or people using screen readers or who have low-bandwidth connections—may not be able to see images on web pages. Descriptive alt text provides these users with important information. " so you should try to add a usefull alt alttrbute, like {% thumbnail pic.picture "280x280" as image %} <img src="{{ image.url }}" width="{{ image.width }}" height="{{ image.height }}" alt="{{ pic.title }}" /> {% endthumbnail %} Which could render as <img src="/media/cache/c7/73/c7737259a2760e164a61c8ac9d3df59f.jpg" width="187" height="280" alt="CCF Iveco" /> -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.