Picture Management

Hello,

I am working on a real estate site. Inside the admin area of it ( build around a Themeforest template) , a realtor can manage pictures : upload,add,delete,modify photos title

Actually this works ( take a look on the attached screen ) as this : photo (thumbs) are displayed on the right. When the user click on a thumb, a popup is opened including a few functions : delete and title modify. If the user want to add a photo a third popup is opened with the upload function. I am not satisfied with this ( done by myself … and I am very not a php expert 🙂

I want to have all this functions together on the main screen working with ajax to avoid a full refresh of the complete screen and no popup. The display must be reflect the modifications done without a full page refresh.

+ an additional function : to be able to select the photo order . The realtor must be able to select the display order ( he will vary this order sometimes )

pictures infos are saved in a existing Mysql database

to resume , on the main screen

– display the existing pictures (thumbs) for the current property in order
– display the big picture with a click on the thumb
– under every pics, icons with linked ajax function to delete , modifie the title, move the picture order. Titles are 3 fields ( for translation purpose ) These 3 fields may be edited simultaneously. For the delete function, a confirmation message must be asked.

– possibility to add a picture : upload, resize it, make a thumb, and save them both. Before must be verified if the the user don’t reach the max number of pictures allowed. In this case an error message must be displayed.

picture and thumb max size , and max picture number are variables in an existing config.php file.

Because my code is probably not very good, I think you may prefer to code your own php functions (add, delete, modify) instead to use my one. So include this on your bid. The code must be documented, in case of I need to modify it later.

Leave a Reply

Your email address will not be published. Required fields are marked *