cheezylu Posted March 18, 2007 Share Posted March 18, 2007 I know how to upload images directly into a SQL table, but I was curious if it's possible to automatically create a thumbnail version in the table every time an image is uploaded. Is this possible? Quote Link to comment https://forums.phpfreaks.com/topic/43232-auto-generating-thumbnails-when-image-uploads-into-sql-database/ Share on other sites More sharing options...
AndyB Posted March 18, 2007 Share Posted March 18, 2007 Yes ... but it'll be much easier if you store image names (with path if necessary) in the database instead of storing images in the database. http://fundisom.com/phparadise/php/image_handling/image_upload_and_resize Quote Link to comment https://forums.phpfreaks.com/topic/43232-auto-generating-thumbnails-when-image-uploads-into-sql-database/#findComment-209936 Share on other sites More sharing options...
cheezylu Posted March 18, 2007 Author Share Posted March 18, 2007 Thanks, I'll try this out. I chose to store the images in the database because I am doing a site for a client and I want them to be able to make updates through an admin page I made for them... so they can add, update, and delete the images attached to their journal entries and whatnot without any orphaned images filling up their directories. Is this still possible to do by storing the images in directories? Quote Link to comment https://forums.phpfreaks.com/topic/43232-auto-generating-thumbnails-when-image-uploads-into-sql-database/#findComment-209940 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.