Monday, January 26, 2015

Putting picture thumbnails within admin page


I am trying to put thumbnail pictures of my photos within my admin page. I am currently running into the issue where the thumbnail isn't displayed, when I click on thumbnail I am redirected to the homepage of my project with this as the URL: 

http://127.0.0.1:8000/media/tumblr_ngotb4IY8v1sfie3io1_1280.jpg

Here is a gist of my code:

https://gist.github.com/liondancer/678752e8bf31cc7d2c63

Stackoverflow question:

http://stackoverflow.com/questions/28159740/configuring-admin-to-display-thumnails

If anything else is needed please let me know! 




--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/1ad5da85-9a82-45d0-835f-1b42bc1e1d87%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment