Image gallery with fancy transitions effects

I was looking all over the Internet for some jQuery gallery plugin with some interesting transition effects. I found a lot of great plugins but they all have pretty same transition effects. Mostly that was fading and sliding effects. I wanted something different so I decide to made my own slideshow gallery plugin for jQuery. That’s how was born jqFancyTransitions.

jqFancyTransitions2

My main idea was to build some ‘strip curtain’ effect and I start from that. But, while I was building this some other effects just pop up and I decided to adjust code and include some of those effects. Now, there are ‘wave’, ‘zipper’ and ‘curtain’ effect, plus options that can be used for custom effect. You can see how it works on examples and documentations page.

At the beggining you will need to download jQuery and jqFancyTransitions and include them on your page similar like this :

<script src="js/jquery.js" type="text/javascript"></script>
<script src="js/jqFancyTransitions.js" type="text/javascript"></script>

After that you will need some placeholder with some images for your slideshow. Text from alt tag will be used in title bar in your slideshow.

<div id='slideshowHolder'>
   <img src='img1.jpg' alt='img1' />
   <img src='img2.jpg' alt='img2' />
   <img src='img3.jpg' alt='img3' />
</div>

When you set everything time is to call jqFancyTransition and tell him where to do his job. You will probably need to set width and height for your gallery. That can be done with next code:

<script>
$(document).ready( function(){
    $('#slideshowHolder').jqFancyTransitions({ width: 400, height: 300 });
});
</script>

The code above is enough to made your fancy transitions gallery 400px wide and 300px high. If you want you can change transition effect with one of predefined values:

  • wave
  • zipper
  • curtain

Of course, you can made custom effect with set of options that you can use to set speed, number of strips, direction, type of effect, etc. Bellow is list of all parameters and their values that you can use.

effect: '', // wave, zipper, curtain
width: 500, // width of panel
height: 332, // height of panel
strips: 20, // number of strips
delay: 5000, // delay between images in ms
stripDelay: 50, // delay beetwen strips in ms
titleOpacity: 0.7, // opacity of title
titleSpeed: 1000, // speed of title appereance in ms
position: 'alternate', // top, bottom, alternate, curtain
direction: 'fountainAlternate', // left, right, alternate, random, fountain, fountainAlternate
navigation: false, // prev and next navigation buttons
links: false // show images as links

You can try to change those options and see what kind of effect you will get. Basically, you can change position and direction parameters and you will see variety of jqFancyTransitions effects. Also you can check examples and documentation page where you can see few examples with photos made by my friends Goran Jovanovic, Igor Srdanovic, Ivan Jekic and Marko Manojlovic who is also design layout for that page.

IMAGES AS URLS

Since 1.7 version images can be urls. All you have to do is to add url below images. Similar to this:

<div id='slideshowHolder'>
   <img src='img1.jpg' alt='img1' />
   <a href ='https://workshop.rs'/></a>
   <img src='img2.jpg' alt='img2' />
   <a href ='https://workshop.rs/projects/jqbargraph'></a>
   <img src='img3.jpg' alt='img3' />
   <a href ='https://workshop.rs/projects/moobargraph'></a>
</div>

After that just add links: true in call.

Changelog

– 1.5
navigation

– 1.7
images can be urls

– 1.8
class for active navigation number ( ft-button-IDOFHOLDER-active )
description bar is not part of ‘navigation’ option

  • jqBarGraph – jQuery graph plugin (157)
    jqBarGraph is jQuery plugin that gives you freedom to easily display your data as graphs. There are three types of graphs: simple, multi and stacked. All you have to do is to pass your […]
  • Google Buzz ER: Google Buzz for Wordpress (137)
    Yesterday Google announced new service, Google Buzz, a new way to share updates, photos, videos and more, and start conversations about the things you find interesting. Today you can have […]
  • JUST – JavaScript Useful Stuff (5)
    I like experiment with data visualization on client side. For that purpose, of course, I need some data for development phase. Since that development phase means that something constantly […]
  • HTML5/CSS3 Circle Music Player (3)
    More then a year ago my very talented designer friend Jovan Stanojevic presented me idea of Circle Music player which will play local .mp3 files. This is his original idea, but after we […]
  • Bigshark – larger buttons on Grooveshark (0)
    GrooveShark is one of the web services which I’m using on daily basis. Actually, I have one computer which I use only to play music from my GrooveShark playlists, while I’m sitting on […]

1,034 comments on "Image gallery with fancy transitions effects"

The animation and every thing is good

but, i am fresher to WD i am unable to understand where to use these content
give clear view to us

ramesh on April 14, 2012 at 10:28 pm

Does not work properly with jquery 1.7.2

CACA-COBRA on April 10, 2012 at 11:43 am

cool stuffs. it’s great.

andy on April 9, 2012 at 3:48 pm

thank you very match ..

topmaxtech on April 9, 2012 at 2:28 pm

Only three words: Simple, beautiful, perfect

Erkan Idris on April 7, 2012 at 8:49 am

For everyone having issues using this plugin in IE9, to get it to work you simply have to use the jquery-1.4.2.min library as used in his demo site. Anything newer than this version will cause it to fail!

Problem Solved!!

Developer, please update your site to include this info or make it compatible with the newer version of jQuery 🙂

Julio on April 6, 2012 at 9:37 am

Thank you so much.very nice

Mersin Tatil Köyleri on April 6, 2012 at 6:32 am

So powerfull! So easy to build! Thank you. Cheers.

Vítor on April 5, 2012 at 9:32 am

Pozdrav,

prvo sve pohvale, fantastican plugin 🙂

Imam dva pitanja. Posto mi title ne treba uklonio sam sljedeci kod titles[el.id][i]=$(item).attr(‘alt’)?$(item).attr(‘alt’):”; Eh sada naravno js ima gresaka buduci da hoce da uradi animate na nepostojecem elementu. Onda sam pobrisao citavu liniju koda gdje je bio if(titles[el.id]…. i tako sam eliminisao gresku. Da li je to sve sto sam trebao izbaciti ili ima jos nesto?

Drugo pitanje. Kako da napravim navigaciju, ne ono next-prev nego da imam brojeve tipa 1,2,3,4 kao sto je na vasem primjeru uradjeno?

Hvala unaprijed 🙂

kirba on April 5, 2012 at 2:08 am

Howard, it’s because there are two layers for images. One is when whole image is shown and you’ve set border-radius there. But second layer is made of lot of smaller divs who cover first layer.

Only suggestion that I have for now is to try to wrap slider holder with another div, set border-radius there and overflow: hidden.

Lazarevic Ivan on April 4, 2012 at 6:34 am

i’ve been looking for a jQuery plugin for the family website I’m creating – this is exactly what i need. thank you very much!

GreenCloud on April 3, 2012 at 11:31 am

love, love, love the transitions effects of this plug-in!!! I have a quick question: Why does the code of the plug-in change the border radius of the image holder div after the effect has completed but does not effect the border radius during the effect cycle?

Meaning when my page first loads the rounded corners are there. When the first effect (curtain) cycles and the rounded corners on the div are default squared. Then the effect cycles again and the rounded corners appear then disappear after the effect cycles. Hope that makes sense.

Again, thank you for the great work you’ve done and I hope you can shed some light on this for me.

Thank you!

Howard

Howard on April 2, 2012 at 3:51 pm

Thank, its so useful.

Ümit on April 2, 2012 at 7:41 am

Really superb!!!!!!!
Thanks a LOT to the developer and also webmaster.

sankar on March 31, 2012 at 7:37 am

I’m many sorry about complaint on RAM grabbing in previous post.

It seems that RAM outreaching was because of my code not because of this plugin.

Thank you again for such a good code sharing.

Alex on March 28, 2012 at 10:55 am

Jonathan,

Great thanks for sharing.

I try version jqFancyTransitions.1.8.js under IE 9 and i notice that this plugin by half a day can grab 1.5 GB of RAM.

Is this IE feature or not and if yes how this can be fixed?

Thanks

Alex on March 28, 2012 at 9:41 am

this slider can work in template my blog,,

thanks a lot of brother. . .
🙂

Effand Bocah nozh on March 27, 2012 at 7:13 pm

How do you stop the images from repeating. I’ve tried several things but none work.

Shaun on March 23, 2012 at 12:11 pm

Great plugin. Gona use it but found one bug. Images with a space in the name doesn’t work. It skips them an only rotate the one without space.

Black Russian on March 23, 2012 at 7:38 am

To answer your earlier question, I believe that in any workshop group, be it advanced, intermediate or beginning, you get writers with variety of background knowledge, skills, and experience. And some people are great at critiquing, even if they havent written much. Between learning from each other and going to the afternoon workshops (open to all participants), Im confident the conference will be beneficial. And Im thrilled to have you in my class!

BankCardUSA on March 22, 2012 at 8:21 pm

Great article, I found it very useful. Perhaps you have heard of fixazipper.org? They have plenty of free tutorials on zipper repair, most incorporate videos as well. We have repaired a number of zippers on my childrens clothes with the help of their how-to’s, you should really check them out.

How to fix a broken zipper on March 22, 2012 at 11:20 am

great plugin!thanx!i m new to all html, css js still after spending 3 hours and reading all the comments i finally got it! but how to make transitions in a random way? i read the comments but didnt find one please help!!!!

gayatri on March 22, 2012 at 5:39 am

Can this be used freely?

Jeff on March 22, 2012 at 2:57 am

Great ! Many thanks !

Peter on March 20, 2012 at 3:46 pm

Leave a Reply

Your email address will not be published. Required fields are marked *