clip_gallery v0.4.0 available.. New Demo online! |
[eluser]clip[/eluser]
cig (codeigniter gallery) is now known as clip_gallery. Along with the name change comes a new version 0.4.0. There has been some significant changes to the key names as well as class properties along with changes in pagination functionality. The gallery library now makes two types of thumbnails along with the resized image. The new style of thumbnail that I refer to as a gallery_thumb creates a resized/croped thumbnail to the exact size defined in the config file. This allows you to have a more stylish "front gallery" page that displays all of your albums. To offer this functionality It was necessary to extend the native CI Image_lib. MY_Image_lib is also included in the libraries folder. Make sure you copy this file to your application as well when integrating into an existing project. All config options can now be changed on the fly to a different value. This is done by dropping the "cig" prefix from the key in config file.. example... Code: //from config The gallery is smart enough to know which controller method it needs to point the url's too based on the config settings so it is good practice to set your controllers up with and index, album, and image method. That way later if you change your settings, your controller is already set up. I have yet to update the config value section in the on-line documentation but the example application has the correct key names. Other than that the rest of the doc should get you going along with the example application. I will try to get the docs updated asap. Links: Demo - Click Here Documentation - Click Here Download - Click Here Enjoy!! |
Welcome Guest, Not a member yet? Register Sign In |