On 11 Sep., 13:55, AndyB <[EMAIL PROTECTED]> wrote: > Incidentally have you considered using a variant of the alt text as > the image filename rather than your GUID type filename? There may be > slight accessibility/SEO advantages to this.
My primary concern is that the text might contain something that is not valid as a filename. My initial thought was that it's a nontrivial problem to come up with an algorithm that produces a unique and still recognizable filename with only a-z, 1-9 and _-. It mustn't be too long either. The filename also needs to contain size, color and rotation information, but that's a minor problem. Coming to think of it, one relatively easy way out is to normalize the text, take the first x characters out and append the hash. >Also consider adding a title attribute to match the alt text? I've given it some thought - what exactly do you think is the benefit? --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---