Re: how to get a magnifier in an image
Kenneth Gonsalves wrote: > hi, > when I open a jpg file directly in firefox, I get a magnifying glass cursor, > which on clicking gives me a bigger more detailed image. The same file when > served through the get_photo_url in a django template does not give this - > how can I achieve this? > This is a browser feature. Some browsers have a plug-in that adds this functionality. It has nothing to do with Django itself. I'm not sure what 'get_photo_url' is, nor why you are trying to use Django templates to present a straight jpg image. In short, you'll need to investigate a client-side solution to get this behavior, and Django is only server-side. signature.asc Description: OpenPGP digital signature
Re: how to get a magnifier in an image
On Monday 29 Sep 2008 12:43:32 pm Jeff Anderson wrote: > > hi, > > when I open a jpg file directly in firefox, I get a magnifying glass > > cursor, which on clicking gives me a bigger more detailed image. The same > > file when served through the get_photo_url in a django template does not > > give this - how can I achieve this? > > > > This is a browser feature. Some browsers have a plug-in that adds this > functionality. It has nothing to do with Django itself. > > I'm not sure what 'get_photo_url' is, nor why you are trying to use > Django templates to present a straight jpg image. possibly because I have flu and my brain is not working. Actually the problem was that the image was not displaying at full resolution, which was due to the width tag. I did not really need the magnifier. I have solved the problem by accepting the lower resolution image and providing a link to the raw jpeg file. Anyway thanks as your questions clarified my question. -- regards KG http://lawgon.livejournal.com --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
how to get a magnifier in an image
hi, when I open a jpg file directly in firefox, I get a magnifying glass cursor, which on clicking gives me a bigger more detailed image. The same file when served through the get_photo_url in a django template does not give this - how can I achieve this? -- regards KG http://lawgon.livejournal.com --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---