Skip to content

Basic responsive jquery photo gallery plugin based on bootstrap grid system

License

Notifications You must be signed in to change notification settings

mohamednasr/MAgallery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MA photo gallery plugin

Basic responsive photo gallery based on bootstrap grid system and jquery.

The Easiest and the Fastest to use gallery to use in your website.
include the following css files in the head of the page:

<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="http://fontawesome.io/assets/font-awesome/css/font-awesome.css">
<link rel="stylesheet" href="css/MAgallery.min.css">

and include the following JS files:

<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/MAgallery.min.js"></script>

then use :

<ul id="myGallery" class="gallery col-xs-12">
<li class="col-xs-6 col-sm-3"><span><img src="" class="img-responsive"></span></li>
</ul>

Finally initialize the gallery when the window loaded using the following script.

<script type="text/javascript">
    		MAgallery("myGallery");
</script>

don't forget to use bootstrap classes to define the main columns of the gallery.

Current Version 1.0.0

you can check the demo to know how to use.

About

Basic responsive jquery photo gallery plugin based on bootstrap grid system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages