Forum Moderators: coopster

Message Too Old, No Replies

Storing / Displaying Images

In PHP

         

curlykarl

12:09 pm on Apr 16, 2003 (gmt 0)

10+ Year Member



Hi

I wonder if anyone can give a pointer on this one :)

I have 636MB of images that I want to present using PHP, but I dont know how to do it?

Do I store the images in my default image file for my website and then add the url's to the MYSQL table and call them that way.

Or do I upload the images to my MYSQL table and call them that way

I hope you understand what I mean :)

Thanks

Karl

takagi

12:42 pm on Apr 16, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Only if you want to embed the images in the page (which I doubt) or if you want to manipulate the image. And even in that case ....
I don't see any other reason to store them in a database. Just add a link to the image in the HTML code. This link you can put in the database but not the image it self.

curlykarl

12:46 pm on Apr 16, 2003 (gmt 0)

10+ Year Member



Understood :)

Thanks takagi