Been a while since I've done some XSLT but am I right in thinking that source is a media picker that's being passed in. This will / should be just a nodeId so you need to get the image ... some of the code below should point you in the right direction. I'd recommend you output the $source and check it is an ID or csv of IDs.
XSLT macro not working.
Hey,
i normely use version 6 but need to start on 7 so i rann in to a problem..
i cant seam to get my image slider macro to work.
this is who i hvad made it but i dos not show the image..
this is wath i think is to be, but no go.
this is my old macro.
Michael
Been a while since I've done some XSLT but am I right in thinking that source is a media picker that's being passed in. This will / should be just a nodeId so you need to get the image ... some of the code below should point you in the right direction. I'd recommend you output the $source and check it is an ID or csv of IDs.
An single image example:
A multi image example - shamlessly copied from: http://stackoverflow.com/questions/29327430/debugging-multiple-media-picker-umbraco-xslt-macro
is working on a reply...