hey. Im stuck - Ive got a simple portfolio site with a few channels, lists, search and so forth. Im using Supersized with Channel Images to run galleries. I made the first gallery (for the background full screen slides) using an entry in a dedicated channel, uploaded a bunch of images, and used the following code to run the script:
{exp:channel:entries channel="gallery" entry_id="18" enable="custom_fields" parse="inward" limit="1"}
[removed]
jQuery(function($){
/... all the supersized stuff before the slides list .../
slides :
[
{gallery_image}
{image : '{image:url:full-size-op}', title : '{image:title}', thumb : '{image:url:thumbnail}'},
{/gallery_image}
]
});
});
[removed]
{/exp:channel:entries}This works fine* in all sections of the site, except the (single) entry pages. Why is it breaking, has anyone come across anything similar? Even though it has a last trailing comma, that doesn’t seem to be a problem. In other words, by segment_3, it breaks, like this: http://www.mydomain.com/channel/entry/entry_title
(Im running the site without index.php.)
(* - Caveat: in IE8 the script breaks as it returns an error to do with ‘thumb_links’ being undefined, even though they are. My code isn’t the cause of that break, but its a separate issue)