I have product gallery which shows a collection of product pictures. When someone click one of the picture it suppose to carry us to another page with special url only for the product. for example http://localhost/Bread/gallery/wheatbread.php This page will shows the product description.
The thing is, the product gallery is customizable - the administrator will be able to change the picture or product name which also change the url name.
first, you must set user permissions, locations, product name, images, description and url images in a database, and then create a form to upload an image and caption, then appear in the gallery that you have created with img src