Hoping someone can help it's driving me mad! I have a basic fading image slideshow built in XSLT with javascript, it works perfectly fine and resizes the images to 680x330 however i would prefer it to use a cropped image.
Anyone have any ideas as to how to replace my standard getmedia umbracofile jobby to grab the cropped version of the image?
Within your loop try adding the following - it should output the xml data of the media node and you can then see the crop data - if you have used the standard image cropping functionality you can access the crop file path directly - there is no need to do any concatenation.
Image Crop on Slideshow
Hi guys
Hoping someone can help it's driving me mad! I have a basic fading image slideshow built in XSLT with javascript, it works perfectly fine and resizes the images to 680x330 however i would prefer it to use a cropped image.
Anyone have any ideas as to how to replace my standard getmedia umbracofile jobby to grab the cropped version of the image?
many thanks
Pete
heres my code
Hi Peter,
You could try to change this part
to
"cropped" is the name given to DataType when creating your custom image cropper
//fuji
Hi Peter
Within your loop try adding the following - it should output the xml data of the media node and you can then see the crop data - if you have used the standard image cropping functionality you can access the crop file path directly - there is no need to do any concatenation.
<div class="imageSlide">
<div class="imageSliderImage">
Cheers
Nigel
is working on a reply...