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 ='http://workshop.rs'/></a>
 <img src='img2.jpg' alt='img2' />
 <a href ='http://workshop.rs/projects/jqbargraph'></a>
 <img src='img3.jpg' alt='img3' />
 <a href ='http://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



Comments [ 675 Comments ]

  1. jn
    December 18, 2009

    Very nice plugin, however

    1. non-usable in ie6 (sometimes it’s needed)
    2. how to do animation only once (f.e. to only animate logo once)
    3. is there possibility to do version with circles? :)

  2. Lazarevic Ivan
    December 18, 2009

    @jn
    1. This plugin is tested in IE6. Can you tell me more about problems that you have in IE6 ?
    2. There is no option to do animation only once. Maybe in some future release : )
    3. It will be nice to have circles effect, but it can’t be done with this plugin.
    Thanks for comment.

  3. wol
    December 23, 2009

    nice work ivan!

  4. ta
    January 3, 2010

    Very nice plugin! One of the best sliders. How can you make the rotating images active hyperlinks?
    Thanks!

  5. Lazarevic Ivan
    January 5, 2010

    I have plan to made images as links so you can expect that in some future release. For now you can add link in title bar only.

  6. patrice fleurant
    January 11, 2010

    Hello,
    First, i have to tell that I am french and my english is not perfect !
    I would like to use your image-gallery but a few questions still remain.

    Where must I put the JS in my HTML ?
    In the HEAD or in the BODY after the DIV including the IMG’s ?

    How to set the arguments for jqFancyTransitions ?

    Part of my HTML:

    $(”#galerie”).jqFancyTransitions({
    position: ‘curtain’,
    direction: ‘alternate’
    effect: ”
    });

    I have tried with FF 3.0 and IE6, IE7.

    On FF, I have got this message :
    Avertissement : reference to undefined property this.skipAttrs[attr.name]
    Fichier Source : file:///C:/Users/patrice/AppData/Roaming/Mozilla/Firefox/Profiles/wfoxyzsw.default/extensions/%7B635abd67-4fe9-1b23-4f01-e679fa7484c1%7D/components/nsYahooDomBuilder.js
    Ligne : 420

    Thank you for helping me and congratulations for your work.

    Patrice

  7. Lazarevic Ivan
    January 11, 2010

    Don’t worry about your English, it’s important that we understand each other : )

    You can put script after the div with images like:


    $(”#galerie”).jqFancyTransitions({
    position: ‘curtain’,
    direction: ‘alternate’
    });

    or if you want to put script in head you can do that with next code:


    $(document).ready(function() {
    $(”#galerie”).jqFancyTransitions({
    position: ‘curtain’,
    direction: ‘alternate’
    });
    });

    Errors that you sent me are not related with my plugin.
    You should check http://www.google.com/search?q=nsYahooDomBuilder.js

  8. patrice fleurant
    January 12, 2010

    Hello Ivan,

    It works perfectly. Once again, thanks for sharing and happy new year !

    Patrice

  9. George
    January 18, 2010

    Hi Ivan,

    I am sort of testing this script. So far no luck.

    I get all the images one under another like the ‘div’ is to big LOL. I included the link. Please have a look :D

    The other scripts are included (otherwise other animations wont work). CSS also included and working.

  10. Kami
    January 19, 2010

    Hi Ivan,

    My code isnt working. I tried on 3 different themes including classic wordpress theme.

  11. Andrea
    January 23, 2010

    Very nice script, congratulations.
    Is there a way to have a fading effect?

    Thank you

  12. marc stephan
    January 24, 2010

    hi Ivan,

    firt I would say “compliment” ! nice and useful script

    90% due to my experience … I can’t make your script workable. I know could be my stupid mistake but … please gimme the solution for this snag.

    here below the code

    $(document).ready(function() {
    $(”#slidegal”).jqFancyTransitions({
    position: ‘curtain’,
    direction: ‘alternate’
    });
    });

    The result is simply the 3 jpg shown one beside the other.

    Thank u in advance

    Russell

  13. PhotoLab
    January 24, 2010

    Hi Ivan,

    Thanks for the great script. I like it very much.

    I have tried to implement it on my Wordpress blog, however, I do not know why the title does not show up. Here’s my implementation, can you pls give me some suggestion on how to fix the title issue?

    Thank you.

  14. Lazarevic Ivan
    January 24, 2010

    @Andrea
    This plugin doesn’t have classic fading effect, there is a lot of other plugins with fading effects only.

    @marc stephan
    That part of code looks OK. You should check do you have right path to jqFancyTransitions.js file.

    @PhotoLab
    jqFancyTransitions.js is little different for Wordpress plugin. It doesn’t take title from img alt tag, it takes it
    from span bellow img. So it should looks like this:

    <img src="http://www.kokpinlab.com/wp-content/uploads/2009/08/KokPinLab_Header_Design_Airport.jpg" />
    <span>New Test Image 1 Testing where is the text</span>

    instead:

    <img alt="New Test Image 1 Testing where is the text" src="http://www.kokpinlab.com/wp-content/uploads/2009/08/KokPinLab_Header_Design_Airport.jpg" />

  15. PhotoLab
    January 24, 2010

    Ivan, great…

    Thank you so much for your help… it is now working on my site (http://www.kokpinlab.com/). I have one question though, the title text is now aligned to the left, is there any method that I can aligned to the right instead or to format its text size.. etc using CSS?

    I am also using Lightbox 2 (http://www.huddletogether.com/projects/lightbox2/) for my photo gallery. I realized that the Fancy Transition javascript breaks the Lightbox 2 code, meaning that the lightbox effect will be disabled on my photo gallery. Do you have any suggestions on this?

    Thank you so much.

  16. Lazarevic Ivan
    January 25, 2010

    .ft-title is class for title, so you can use CSS on that class. I’m not sure what’s happen with Lightbox 2 and this plugin, you should check if there is jQuery conflict maybe.

  17. Sabrina
    February 8, 2010

    Hello,

    Very nice!!!!!

    I realy want to get a link on the image it self.. is it hard to fix that????

    Thnx!!!!

  18. Madi
    February 10, 2010

    How can I upgrade your script? I need buttons like a prev picture, next picture, play slide show, stop slid show.

  19. Lazarevic Ivan
    February 11, 2010

    @Sabrina @Madi
    I have plan to add features that you asking for, but I’m not sure when that will be.

  20. Mike
    February 15, 2010

    Hi Ivan.

    Is there any form to show only the posts of one category?


Leave a Reply



Trackbacks and pingbacks
click to expand

  1. [...] WordPress plugin is based on jQuery jqFancyTransitions plugin and is very easy to use. After you activate this plugin and set custom field for image, all [...]

  2. [...] con un demo online, donde podrás observar todos los efecto que comente anteriormente junto con la documentación necesaria.Y por ultimo, este plugin prueba ser compatible con Safari 2+, Internet Explorer 6+, Firefox 2+, [...]

  3. [...] jqFancyTransitions è un plugin veramente semplice da utilizzare, per la realizzazione di slideshow fotografici con effetti di transizione veramente fantastici. [...]

  4. [...] jqFancyTransitions is free script and is compatible with Safari 2+, Internet Explorer 6+, Firefox 2+, Google Chrome 3+, Opera 9+. Get it today. More info and download link here: http://workshop.rs/2009/12/image-gallery-with-fancy-transitions-effects/ [...]

  5. [...] 4. jqFancyTransitions – Slideshow with strip effects [...]

  6. [...] Pour plus d’informations et pour une démo : le site du plugin jqFancyTransitions [...]

  7. [...] jqFancyTransitions Je vous en parle ici Un slide show avec des transitions d’images originales. Le site [...]

  8. [...] here, you might want to subscribe to the RSS feed for updates on this topic.Powered by WP Greet BoxjqFancyTransitions is easy-to-use jQuery plugin for displaying your photos as slideshow or to create an image gallery [...]

  9. [...] Image gallery with fancy transitions effects — 複雑なエフェクト実現できる多機能スライドショー [...]

  10. [...] 9. jqFancyTransitions, Demo [...]

  11. [...] JqFancyTransitions – Slideshow with strip effects [...]