Creating an animated gallery with Fotorama

A Fotorama gallery is a simple but very nice looking gallery for websites, it uses HTML, JavaScript (Don't worry you don't have to code any JavaScript to get it working) and CSS3. Just add the dependancies below to the header (or at the bottom of your body if you're a speed freak) to get started.

http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js

http://cdnjs.cloudflare.com/ajax/libs/fotorama/4.5.1/fotorama.css

http://cdnjs.cloudflare.com/ajax/libs/fotorama/4.5.1/fotorama.js

Once that's complete, all you need to do is make a page with a div with the class 'fotorama' and add your images into it. When you load your web page, fotorama will start up and provide you with the best looking gallery.

On a side note, if you add the following to the fotorama div, you'll get a nice icon set below the gallery slider.

data-nav="thumbs"

If you need any more information on how to modify or interface with Fotorama, visit its website: http://fotorama.io/


By Luke Alderton at 15 May 2014, 23:14 PM

Tags: jQuery,CSS3,Fotorama

Comments

Post a comment
Sit tight...
We're adding your comment.
Thank you.
Your comment has been added.
There's been a problem.
Please try again later.
Share with
Tags
Latest Comments
By dipbleds on Raspberry Pi - Bluetooth using Bluecove on Raspbian
12 Dec 2017, 21:29 PM
By Ich on Replacing the Xamarin Header/Navigation bar with a custom view/template
26 Nov 2017, 17:11 PM
By Ravi Motha on My experience at Umbraco UK Festival 2017
12 Dec 2017, 08:39 AM
By Borges on How to add a Xamarin Forms Loading Screen/Overlay
7 Nov 2017, 19:11 PM
By Rutul Mehta on Auto/Custom height on Xamarin Forms WebView for Android and iOS
4 Nov 2017, 03:15 AM
By Pablo on Xamarin MasterDetailPage has large margin/padding at top
26 Oct 2017, 15:31 PM
By faiza on Using MaryTTS or OpenMary in Java
22 Oct 2017, 12:54 PM
By Nietoperz on Using MaryTTS or OpenMary in Java
29 Sep 2017, 14:34 PM
Categories
App Development
Event
Game Development
Mapping
Modelling
Programming
Review
Robotics
Tutorial
Web Development