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/


Published at

Tags: jQuery,CSS3,Fotorama

Luke Alderton

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 Richardcax on MVC forms in Umbraco
16 Aug 2018, 00:30 AM
By Cary on MVC forms in Umbraco
12 Aug 2018, 02:58 AM
By Naufil on How to open a modal window for a custom datatype in the Umbraco back office
30 Jul 2018, 12:40 PM
By Trevor on Replacing the Xamarin Header/Navigation bar with a custom view/template
19 Jul 2018, 18:36 PM
By Luke on Setting up tables in SQLite with a primary key on a Xamarin Forms app
11 Jul 2018, 09:18 AM
By Travis on Setting up tables in SQLite with a primary key on a Xamarin Forms app
7 Jul 2018, 15:44 PM
By Luke on Auto/Custom height on Xamarin Forms WebView for Android and iOS
15 Jun 2018, 09:43 AM
By vikki on Auto/Custom height on Xamarin Forms WebView for Android and iOS
14 Jun 2018, 13:35 PM
Categories
App Development
Event
Game Development
Mapping
Modelling
Programming
Review
Robotics
Tutorial
Web Development