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

Share with
Tags
Latest Comments
By Mark Gentry on Windows Server 2019 - Change product key does nothing
20 Aug 2021, 03:30 AM
By Cathy on In-Place Upgrade for a Windows Server domain controller
31 Jul 2021, 18:28 PM
By Mr. Greymatter on Raspberry Pi - Running Java app on Raspbian
16 Feb 2021, 07:35 AM
By Mikko Seittenranta on Xamarin Forms multiple instances of same app open
16 Feb 2021, 04:34 AM
By Andrew on Auto/Custom height on Xamarin Forms WebView for Android and iOS
22 Jan 2021, 22:15 PM
By Nick on Raspberry Pi - Running Java app on Raspbian
14 Oct 2020, 19:37 PM
By Ivan on Fixed: Value cannot be null Parameter Name: source
15 Sep 2020, 19:47 PM
By Anand on Raspberry Pi - Bluetooth using Bluecove on Raspbian
7 Sep 2020, 16:53 PM
Categories
App Development
Event
Game Development
Mapping
Modelling
Programming
Review
Robotics
Tutorial
Web Development