By: Arlind Nushi
Email: arlindd@gmail.com
Thank you for purchasing my theme. If you have any questions that are beyond the scope of this help file, please feel free to email via my user page contact form here. Thanks so much!
MBGallery is simple gallery back-end module that is suitable for implementing on your current projects as independ gallery module.
It is easy to create and manage your gallery with MBGallery because:Also there is integrated script for automatic installing MB gallery on your site.
Implementing this gallery on your own framework it's not so complicated. All you need to do is to make three two line decralations in the beggining and one line declaration in the end of file to close your connection with MySQL. Lets see how
Two-lines on the head
include('path-to-backend-gallery/config.php');These two declarations are needed to start implementing functions of MBGallery. Without them you cannot continue further.
include('path-to-backend-gallery/mysql.open.php');
Online-line on the end of file
include('path-to-backend-gallery/mysql.close.php');You decide when to end MySQL connection, and include this file
Functions that are used to make listing of Albums and Images are shown on the list below:
One example of how you can parse a list of images
These functions are meant to be used less than Parsing functions, but they are on your command whenever you want to use them.
The reason why these functions attend to be used rarely is because the back-end itself it's built to manage gallery and since it is Graphical User Interface to manage gallery these functions aren't needed too often!
As an example from this category might be image name change for example:
setImageName(10, "This is image with id 10);
As you can see we have changed/set the name of image with ID 10 as shown on second string parameter. The use of other functions on this category remains the same as the usage of function above.
API - Aplication Programming Inteface can be found on source files directory (here) or open directly from your web browser on offical script page:
http://arlindnushi.dervina.com/mbgallery/api.php
Implementation Structure - PHP File
http://arlindnushi.dervina.com/mbgallery/example.php
Tutorial
Creation of Front-end Gallery
Open directory "example-fontend-gallery/" from files you've downloaded after purchase, and then access the file index.php to see how it works, and make any test by changing something on that file.
Image icons are taken from site that offers wonderful icons for free
Images upload, swf uploader
JQuery UI - for sorting purposes
Without these WONDERFUL and FREE sources, Mini back-end gallery wouldn't be as good as it seems!
So thanks to the OPEN SOURCE COMMUNITY! I LOVE OPEN SOURCE
And don't forget ME (ARLIND NUSHI) as developer. If you have any question about this item please feel free to do it, or you want to hire me for any of your projects, I would be ready with pleasure (allways if I am able to do what is required from me to do!).
Once again, thank you so much for purchasing this theme. As I said at the beginning, I'd be glad to help you if you have any questions relating to this theme. No guarantees, but I'll do my best to assist. If you have a more general question relating to the themes on ThemeForest, you might consider visiting the forums and asking your question in the "Item Discussion" section.
Arlind Nushi