Thanks for your reply, but i think that you don't uderstand my question.
I would to replace the image upload on folder by the storage in db like the exemple in the last post.
When user insert image it stored in db and all images displayed in gallery came from db.
I just want to know if someone else developed it for php version or i must develop it by my self.
Sorry for my poor english