I have a Flash site that has a series of dynamic image galleries and now I would like to create a very simple php cms. Each gallery has an XML file that lists all of the images. In addition, I have created a master XML file that lists all of the galleries. This master file controls what is displayed in a gallery drop down menu. So in order to create a new gallery two things need to happen - a new xml file containing all of the filenames of the photos in the gallery and a new entry needs to be added to the master xml file that links to the new gallery.
I have figured out how to create an upload system that records all uploaded filenames to an external xml file. Now I am trying to design a system that separates uploaded images by galleries and allows users to create new galleries.
This seems like such a complicated system, Im not really sure how to get started. Does anyone have any ideas how this could be best organized?
PHP Content Managment
Moderator: General Moderators
Re: PHP Content Managment
Am not sure if am making sense or not because the word "image" and "gallery" to me is the same but the way you said it is like a "gallery" is like a category of images.
About your uploading system, I think you have to add an additional option. Like on the interface, provide the user a way that the user browses first the image to be uploaded PLUS a combo box. What's with the combo box?, try placing there the possible "gallery" option of the image where the user can select. After that the user clicks on the UPLOAD then on the other end you first identify the "GALLERY" attribute which was chosen by the user and place the "IMAGE" file on a separate directory or the appropriate directory depending on the "GALLERY".
About your uploading system, I think you have to add an additional option. Like on the interface, provide the user a way that the user browses first the image to be uploaded PLUS a combo box. What's with the combo box?, try placing there the possible "gallery" option of the image where the user can select. After that the user clicks on the UPLOAD then on the other end you first identify the "GALLERY" attribute which was chosen by the user and place the "IMAGE" file on a separate directory or the appropriate directory depending on the "GALLERY".