hello Shabbir
Once again thank you for helping me out.

What u recommended sounds right. But the part I dont understand is just giving a code and entering a photo.
For instance, I cannot say photo 001 and enter it in the photo table. it will be lost forever.
I know the URL will be there but u cannot associate it with any table.
There will be no way of mapping it to another table.

In other words photo table will not be proper with a uniqueID and a url.
I hope u under stand what im sayin.