Yessss, I think this was the only option i didnt try :-) Thanks Cal and Shawn!
In a previous i translated the Dutch into English, and mixed things up, making everything more confusing. Rob On Jul 10, 9:40 pm, "Cal Leeming [Simplicity Media Ltd]" <cal.leem...@simplicitymedialtd.co.uk> wrote: > Nice, not often I come across code written in nederlands ;p > > Is this what you are looking for by any chance?? > > {{plaatje.1.plaatjes_lijst}} > > On Sun, Jul 10, 2011 at 8:33 PM, het.oosten <het.oos...@gmail.com> wrote: > > One addition to the above, when i do: > > def __unicode__(self): > > return '<img src=\"/media/%s\" alt=\"%s\">' % > > (self.plaatje, self.alt) > > > I can call the single images in the template with {{plaatje.1}} etc > > I found out in this thread that it is not a good idea to "abuse" > > unicode for this > > > On Jul 10, 9:28 pm, "het.oosten" <het.oos...@gmail.com> wrote: > > > > have the variable image_list in your context which is a list, you can > > do > > > > this: > > > > > {{ image_list.0 }} and {{ image_list.1 }} > > > > This is what i tried, but the only way to show the images > > > is(plaatjes_lijst=image_list): > > > {% for x in plaatje %} > > > {{x.plaatjes_lijst|safe}} > > > {% endfor %} > > > -- > > 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. -- 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.