Hi folks, I know this question isn't from this group but I'll ask anyway. I need to resize an image (thumbnail) based in the browser width and height. I want to make my site browser resolution independent. The only thing I can't get working is this. For example, a page showing a news entry, the news entry had an image (thumbnail) I want to display. With a browser resolution of 1000x740, this page display ok but with a resolution of 780x560, it don't. What can I do? Right now, I think resize the image based on its size with javascript but I don't know how to get the image (an element in general) size. I tried the "element.style.width" but it return an string which I can't convert to an integer (500px for example, I just want 500). Any sugestions?
-- Lic. José M. Rodriguez Bacallao Cupet ----------------------------------------------------------------- Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo mismo. Recuerda: El arca de Noe fue construida por aficionados, el titanic por profesionales ----------------------------------------------------------------- --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---