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 […]
  • jqIsoText: jQuery Text Effect Plugin (108)
    Some content on our pages are more important than other and we want to made him eye catching. There are lot of techniques to achieve that.  One of them is jqIsoText. With this […]
  • Fancy Transitions Featured Gallery for WordPress (62)
    ftFeatured is Wordpress plugin for creating image gallery with fancy transition effects of featured posts. You can choose between three types of transition effects: curtain, wave and […]
  • Coin Slider: Image Slider with Unique Effects (1638)
    After jqFancyTransitions I decided to release new jQuery image slider plugin with more unique transitions effects. I have ideas for new effects and after I didn't find that somebody […]

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

what to use if I want banner links to be opened in New window. I tried target=”_blank” in a tag but it’s not working…

hemant Jadhav on May 2, 2013 at 12:45 am

What about transitions direction right to left? It’s not possible… I changed direction: ‘left’ to direction: ‘right’ and doesn’t work?

Sergio on April 29, 2013 at 5:47 am

My images are equal to 1920px.

$. fn.jqFancyTransitions.defaults = {
width: 100%, / / ​​width of panel

In this section, I would put the value of “100%” and not “1920px”.
I tried to remove the line “width” but the animation does not work anymore, the images change without transitions.

Do you have the solution?

Thanks !

Yann on April 24, 2013 at 9:15 pm

Hello I have a problem with the way the image appears on the slide
Called as images appear in miniature – would love to know what I do to change this and to picture to appear in control and will be interpreted on any slide

Sincerely

as you can see here : https://dl.dropboxusercontent.com/u/74607086/new%20%203.html

yog on April 23, 2013 at 6:01 am

Hey, just a quick question from an amateur:

Great plugin, looks amazing!! Have the script running in a javascript website but, when previewed, flickers for a fraction of a second during the transitions. It’s probably something I’ve done wrong, but does anyone have this same issue or know how to fix it?

Mitchell on April 15, 2013 at 9:16 am

Pretty nice! If you could add a parameter to set the initial tile’s appearance that would be cool. It would be nice to start the first transition faster than the rest so viewers get the message that there is a slideshow gong on here.

Luke on April 10, 2013 at 4:05 pm

Are the images preloaded before the animation begins? If not is there a way to do this. What versions of IE suport the slider?

short&portly on April 10, 2013 at 11:27 am

Can someone tell, how can I edit images in jqFancyTransitions.js. I want all images to fit slideshowHolder width and height, so the bigger ones shrinks to this div size.
I tried $(‘img’).css({width:’100%’,height:’100%’}), but it doesn’t work. Please help!

Ervins Vilumsons on April 10, 2013 at 10:46 am

var w = $(window).width();
var h = $(window).height();

$(‘#selector’).css({
width: w,
height: h
});

var selectorWidth = $(‘#selector’).width();
var selectorHeight = $(‘#selector’).height();

$(‘#slideshowHolder’).jqFancyTransitions({ width: selectorWidth, height: selectorHeight });

Georgy on August 21, 2014 at 2:36 pm

I need to make width of banner as 100%, and I tried @Georgy code,but not working. I even tried @Luka ‘s code, animation is not getting started. Is there any other thing to do, in jsFancyTransitions.js, i need to modify default setting? Please help. Thanks. Luca’s code is like below:

$(document).ready(function() {
var size = {
width: window.innerWidth || document.body.clientWidth,
height: window.innerHeight || document.body.clientHeight
}
width: size[‘width’], // width of panel
height: size[‘height’], // height of panel
$(‘#slideshowHolder’).jqFancyTransitions({width: size[‘width’], height: size[‘height’] });

Anirban on January 28, 2015 at 3:36 pm

Where is the CSS file?

Joachim on April 7, 2013 at 7:58 am

How to made prev/next button? On my page this buttons inactive 🙁 Please help me

Joachim on April 7, 2013 at 7:18 am

说点啥啊,不错,不错,呵呵

李景山 on April 6, 2013 at 6:58 am

I downloaded version 1.8 and works fine, but I have a gallery of imgs with different sizes and I can’t figure out how to adapt them to fit in the panel. CSS doesn’t seem to work, I even tried to put some code inside the plugin but I don’t really understand how it works so i failed trying to fix this… any sugestions?

dani on April 5, 2013 at 12:43 pm

jqFancyTransitions is indeed stylish and beautiful. I love its beautiful transition options. Will love to used this soon. 🙂

Sonny on April 4, 2013 at 6:45 pm

Like script! Thanks for sharing

safyhost on March 28, 2013 at 5:31 am

Hey, great script, thanks!

I have a question: is it possible have links open in a new window or in the same window, just adding or not the attribute “target = _blank”?

Like this:

Thanks!

Marcos on March 27, 2013 at 11:15 am

Awesome script! Thanks for sharing is.

One question: is it possible to have the images appear in random order (every time the page is loaded/refreshed)?

Piet H. on March 17, 2013 at 7:03 am

Ну должен же хоть кто-то тут по русски написать! Внедряю к себе ваш плагин… заранее спасибо, то что надо.
Thanks. I’ll try to install this plugin on my site.

Михаил Колев on March 14, 2013 at 3:30 am

Hi
I can see that when move the mouse over the image, the slide stopped.
How can resolve this problem?
Thanks

Gian on March 12, 2013 at 11:44 am

Leave a Reply

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