This sounds like it is an issue with your JS for your carousel. If you are needing to get your JSON directly into your JS code then you can just make gallery_thumbs_json_s list as a variable {'caro_list': gallery_thumbs_json_s}
and then just call it in your template On Dec 20, 9:16 am, Dave Sayer <d...@bathdesign.co.uk> wrote: > Hi, > > I am working on a photo portfolio site at the moment and for the > gallery side of things, I am using django-photologue to provide much > of the backend muscle. It's working great so far but I really want to > use an image slider/carousel to provide a nice, slick way of > navigating the photos. > > I am reckoning the best way to do this is to grab all the photos in a > gallery and slap them into a JSON string, which is then fed through my > slider script. So far, I have got the data into a serialized array > using: > > gallery_thumbs_json_s = serializers.serialize('json', gallery_thumbs, > fields=('image', 'title', 'caption', 'tags', 'title_slug', > 'date_taken')) > > Where I am now stuck, is how to use this as JSON in my script. I have > read that deserialize is the way to do it but I can't get my head > around what comes after deserialize. > > Any pointers would be much appreciated. > > Cheers, > > Dave > > -- > --------------------------------------- > Dave Sayer | Bath Design > Web design & development with standards > --------------------------------------- > mobile: +44 (0)7702787436 > email: d...@bathdesign.co.uk > web:http://bathdesign.co.uk > twitter:http://twitter.com/sweet_grass > photography:http://luxumbra.co.uk > --------------------------------------- -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.