jQuery image sliding plugin
I have multiple images for a image set. Say an image set have 10 images, all are of different size and of different types like .jpg, .png etc.
I want a jQuery based plugin which will have next, previous and caption title functionality, and on next and previous it will slide my images accordingly.
I am managing the size (width & height) of images (via PHP code), say an image is larger than 700px then I am automatically resizing it by adding style="width:700px; height:auto;"
in the img
tag of image. Which mana开发者_StackOverflow社区ging the image size automatically according to the page.
All images size is variying, some are of 400 KB and some are of 2 MB but not more than 2 MB.
I used galleria plugin to achieve this, and it has almost all the functionality, but the problem is due to large image size browse takes time to load images but galleria JS runs and gives error in the meantime. I also used nivoSlider, but that doesn't have sliding effect, so if 1st image is larger then 2nd image displayed on top of it.
Try out jquery ui library which has slider for images
Another option could be NivoSlider and anythingSlider - they look more fancy. Just google for their names
精彩评论