On 07/09/2011 03:52 PM, het.oosten wrote:
I have two models. One containing images, and one containing the text
of a web page. While the text remains the same, the selection of
images vary, depending on the session ( I use different themes/moods
depending on the season). The selection of images works perfectly, but
now i am stuck merging the images into the web page.
Ideally I would like to use image tags like {{ image1 }} {{ image2 }}
in the web text, and render the result in a web page. I have done
something similar using javascript, but due to seo issues javascript
is not an option for this site.
Can anybody point me in the right direction how to accomplish this?
Would using the get_absolute_url() method on your model and then using
that in your <img> tags work?
--
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
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.