Does anyone have an idea on how i will be able to make a jquery slideshow when making use of image Cropping?
What i did is I created a datatype with all the settings for image crop, from there i just have to add several folders in media section under which i will upload my image for and make all the cropping needed.
My question is how do i get my slideshow to trigger and use only the defined 800*600 images instead of the thumbnails??
I believe the image crops are physically held as images, created when the crops are created, so you'll need to work out what these are called and reference them in your javascript instead of the full version.
hmmmm.....yes i guess so, i created 2 cropping options, thumbnails and a slider one. So far i can see all the images are there with different naming convention, e.g img1_thumbnails.jpg, img1.jpg, slider.jpg which is correct.
Well i only want the user to view all the thumbnails from this current image folder but will also be able to view a slideshow on clicking on one of the thumbnails. But how do i get the thumbnail to load its relative higher res image since both have different namings??
If I'm not totally wrong, I think that the cropped images are stored in the XML returned by the GetMedia extension. This means that you can grab the images quite easy in your xslt and then create the correct markup for your image slider.
Am using the jquery.colorbox....i quiet fancy this one but not sure how it will handle it since it uses the same naming for both thumbnails and Slider image. Only a change in the folder instead.
What do you think will be best to you?..but in any case if am not mistaken most of the jquery slideshow uses same naming for both thumbs and slides?
If you have checked the ckeckbox next to Save crop images (/media/(imageid)/(filename)_(cropname).jpg): under the Image Cropper datatype you can write this:
Yeah, makes sense. And I totally agree with you in not having two different plugins doing almost the same stuff. By the way I think the Nivo slider plugin is pretty neat :)
Jquery Slideshow with Image Crop
Hi there,
Does anyone have an idea on how i will be able to make a jquery slideshow when making use of image Cropping?
What i did is I created a datatype with all the settings for image crop, from there i just have to add several folders in media section under which i will upload my image for and make all the cropping needed.
My question is how do i get my slideshow to trigger and use only the defined 800*600 images instead of the thumbnails??
Any advise on how i need to proceed.
//fuji
Hey Fuji,
I believe the image crops are physically held as images, created when the crops are created, so you'll need to work out what these are called and reference them in your javascript instead of the full version.
Rich
hmmmm.....yes i guess so, i created 2 cropping options, thumbnails and a slider one. So far i can see all the images are there with different naming convention, e.g img1_thumbnails.jpg, img1.jpg, slider.jpg which is correct.
Well i only want the user to view all the thumbnails from this current image folder but will also be able to view a slideshow on clicking on one of the thumbnails. But how do i get the thumbnail to load its relative higher res image since both have different namings??
//fuji
Hi Fuji
If I'm not totally wrong, I think that the cropped images are stored in the XML returned by the GetMedia extension. This means that you can grab the images quite easy in your xslt and then create the correct markup for your image slider.
Which jQuery image slider are you using?
/Kim A
Hey Kim,
Am using the jquery.colorbox....i quiet fancy this one but not sure how it will handle it since it uses the same naming for both thumbnails and Slider image. Only a change in the folder instead.
What do you think will be best to you?..but in any case if am not mistaken most of the jquery slideshow uses same naming for both thumbs and slides?
//fuji
Kim,
Am trying to display the crop images from my media by using my Macros in editor but its not working at all. Here is how am doing it.
Am not sure of doing the right thing there
//fuji
Hi Fuji
Try removing the /umbracoFile from your mediaItems-variable. Like this:
Then you will have to run through all of the images in either a for-each or in an apply-templates I think.
/Kim A
By doing am getting the initial uploaded image in the media
But nt sure about how to get the crop image thumbnail instead..
//fuji
Hi Fuji
If you have checked the ckeckbox next to Save crop images (/media/(imageid)/(filename)_(cropname).jpg): under the Image Cropper datatype you can write this:
where slideImage in GetMedia was the Media Picker property I used and slideImage after underscore was the name of the cropped image.
Bjarne
HI Bjarne,
Yes i did checked the chexbox in my datatype. I'll give this a try.
//fuji
I get an error when using
I tried this instead but the is missing its getting only the first Thumbnail
Try this Fuji:
If you're going for the Thumbnail crop. It would probably be a little easier if we could see your XML though.
/Kim A
Kim,
Am getting a blank img source <img src="" />
//fuji
When using Bjarne solution
this is the output am getting
I have always inserted <img src="{umbracoFile}" /> just to see if the uploaded images are there and looping through.
//fuji
Hi Fuji
Does it make a difference if you use false instead of true?
or remove the /Image after $mediaItems?
Bjarne
Hey Bjarne,
It does make a difference if i remove Image after $mediaItems when using this
but no difference
Xml
Okay..
it seems that you get the the url for all images id's into the src attribute...
In my case a have the mediaId inside the for-each... and use
where slideImage was the Media Picker under SlideItem property..
Bjarne
Guys i got it working, and Bjarne am not using Media Picker but a Media Current since am using my macros in editor. But thanks both of you.
//fuji
Hey Kim,
Just wanted to point out the Image gallery is working perfectly and getting thumbnails and Slider Images and using jquery.slider for the slideshow.
//fuji
Cool Fuji.
I'm glad you got your gallery working in the end. What changed your mind about which jQuery Gallery plugin you wanted to use?
/Kim A
Well i have another functionality which will be using nivo.slider, so better use the same plugin instead of having 2 different ones.
/fuji
Yeah, makes sense. And I totally agree with you in not having two different plugins doing almost the same stuff. By the way I think the Nivo slider plugin is pretty neat :)
/Kim A
I'm glad you got it working :)
and the Nivo slider is awesome and lightweight..
With Umbraco is pretty easy to manage slideshows in eg jQuery or flash..
Bjarne
We all agree on this then...... :)
//fuji
is working on a reply...