Is there a way to modify the html for the admin form to display the image using the html img tag instead of having a link to the image?
On Thu, Sep 18, 2008 at 11:50 AM, Lisa Dusseault <[EMAIL PROTECTED]>wrote: > I've seen the same problem with FileFields, so it's not just ImageFields. > I haven't figured it out yet. I can make a link to the file work from the > main UI, but I don't know how the admin constructs its link in an unmodified > admin form. > > Lisa > > > On Thu, Sep 18, 2008 at 5:17 AM, silk.odyssey <[EMAIL PROTECTED]>wrote: > >> >> I am using an imagefield from the admin interface. I can upload images >> without problems but when I click the link to view the image, I get >> the following error. >> >> invalid literal for int() with base 10: '1/photos/desktop.png' >> >> Any idea what's wrong? I am using django 1.0. >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---