Topic: Image gallery
Hi guys, we have built an image gallery that you can use with SimpleCMS.
You will need to have a basic understanding of HTML, CSS and JavaScript to set this up on your site.
Take a look at a working demo:
http://www.simplecms.com/examples/gallery/
The gallery uses jQuery lightBox plugin but you can use another if you wish.
SimpleCMS requires your HTML to be formatted exactly as in the example. You'll need a containing div with the edit-gallery class name which contains links to the large images and img tags to display the thumbnail images, e.g.
<div id="gallery" class="edit-gallery clearfix">
<a href="img0_large.jpg" rel="lightbox"><img src="img0_thumb.jpg" alt="" /></a>
<a href="img1_large.jpg" rel="lightbox"><img src="img1_thumb.jpg" alt="" /></a>
<a href="img2_large.jpg" rel="lightbox"><img src="img2_thumb.jpg" alt="" /></a>
</div>
SimpleCMS will display the following button on each image:
Clicking on the image icon will allow you to edit the current image (as normal).
If you click on the + icon it will duplicate the image so you can add new images to your gallery.
If you click on the - icon it will remove the image from your gallery.
When you edit an image in your gallery and upload an image to the system it will create two copies of the image.
One copy will be the thumbnail which you can crop (as normal). The other copy will not be cropped but it will be re-sized to match the width of the existing larger image.
--
Short URL http://smplc.ms/gallery