Stuck trying to add an image display to admin

2019-12-11 Thread Joel Ricker
In my admin I have a section for editing products and for each product has a one to many of sample images. I wanted to display the image for convience in my StackedInline for the sample images. However after setting everything up to display the sample image, I am still getting an internal error

Re: image display in admin

2013-10-07 Thread Alban Hertroys
On Monday, October 7, 2013 6:24:54 AM UTC+2, Harjot Mann wrote: > > On Sun, Oct 6, 2013 at 5:57 PM, Harjot Mann > <harjotm...@gmail.com> > wrote: > > I am uploading an image in my app and I want to display that image in > > admin site. What should I do? > >

Re: image display in admin

2013-10-06 Thread Harjot Mann
On Sun, Oct 6, 2013 at 5:57 PM, Harjot Mann <harjotmann1...@gmail.com> wrote: > I am uploading an image in my app and I want to display that image in > admin site. What should I do? http://www.acedevs.com/blog/2011/07/11/django-admin-list-view-thumbnails/ I followed this link

Re: image display in admin

2013-10-06 Thread Harjot Mann
Should I need to give the media_root and media_url path? On Sun, Oct 6, 2013 at 10:19 PM, Harjot Mann wrote: > On Sun, Oct 6, 2013 at 9:02 PM, Gabriel - Iulian Dumbrava > wrote: >> Add a property that should retain a dummy text and try to

Re: image display in admin

2013-10-06 Thread Harjot Mann
On Sun, Oct 6, 2013 at 9:02 PM, Gabriel - Iulian Dumbrava wrote: > Add a property that should retain a dummy text and try to display that. If > that works change the dummy text with img, then look at the source page > generated by the admin. > > Maybe the image url

Re: image display in admin

2013-10-06 Thread Gabriel - Iulian Dumbrava
Add a property that should retain a dummy text and try to display that. If that works change the dummy text with img, then look at the source page generated by the admin. Maybe the image url is not correctly set and some browsers don't show the img placeholder if the src is wrong. -- You

Re: image display in admin

2013-10-06 Thread Harjot Mann
On Sun, Oct 6, 2013 at 8:35 PM, Gabriel - Iulian Dumbrava wrote: > Add a property to your model that returns the img tag you want, set it to > allow html content, then add the property to list_display in your admin.py. Done but it is not displaying anything.:( I

image display in admin

2013-10-06 Thread Gabriel - Iulian Dumbrava
Add a property to your model that returns the img tag you want, set it to allow html content, then add the property to list_display in your admin.py. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

image display in admin

2013-10-06 Thread Harjot Mann
I am uploading an image in my app and I want to display that image in admin site. What should I do? -- Harjot Kaur Mann Blog: http://harjotmann.wordpress.com/ Daily Dairy: http://harjotmann.wordpress.com/daily-diary/ -- You received this message because you are subscribed to the Google Groups