dev-master
9999999-devSimple picture gallery from database
The Requires
- php >=5.4
- mos/cdatabase dev-master
gallery picture
Simple picture gallery from database
This package needs to be installed with the Anax-phpmvc There needs to be a working environment ., (*1)
In gallery.php in the webroot there is an example of a frontcontroller. Add the display route in your framework and this picture gallery is ready to use, just make sure it is wired properly., (*2)
Then it should work nicely., (*3)
It is a simple gallery, when clicking on an image you get to see the big version of the picture., (*4)
There is also the code for flipping through a series of images., (*5)
It is a model - controller based module , each picture in the gallery becomes an object. The pictures are collected from a list in your database., (*6)
You need to have a connection to a database and this album is working from the table 'gallery' in the code right now., (*7)
Oh, and dont forget to style the box div :), (*8)
The dependency is CDatabase by Mos, Mikael Roos. Available at packagist., (*9)
This whole anax phpmvc system is built by Mikael Roos, this task was a part of his course in the Swedish university 2017., (*10)
I chose to make a gallery that is the base for making a product display online. If you have cool ideas, contact me., (*11)
//Ylva ylva@spektatum.com www.ylvadesign.com, (*12)
Simple picture gallery from database
gallery picture