Mr Chris Posted June 15, 2006 Share Posted June 15, 2006 Hi Guys,This is probably a stupid question, but have carried out the tutorial and I just don't understand:[a href=\"http://www.phpfreaks.com/tutorials/111/0.php\" target=\"_blank\"]http://www.phpfreaks.com/tutorials/111/0.php[/a]But where do I save this file? Do I save it in my main images folder? The thumbnail folder? Or is it the action of a form when the file is uploaded to the main images folder?ThanksChris Quote Link to comment https://forums.phpfreaks.com/topic/12057-gd-thumbnails-script-please-help/ Share on other sites More sharing options...
ToonMariner Posted June 15, 2006 Share Posted June 15, 2006 You can save the image where ever you wish (depending on whether open_base_dir is set in your php.ini file!).The only thing then is to ensure you link to it with the correct path.You can save the image to the database and write a standalone script to echo the image out - but that is another story... Quote Link to comment https://forums.phpfreaks.com/topic/12057-gd-thumbnails-script-please-help/#findComment-45840 Share on other sites More sharing options...
Mr Chris Posted June 15, 2006 Author Share Posted June 15, 2006 Sorry for probably being thick, but:[!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]You can save the image where ever you wish (depending on whether open_base_dir is set in your php.ini file!).[/quote] So this file I save I can save anywhere in any directory and I just have to edit the php.ini file (which is from my website service provider) to let it know I want thumbnails created???Thanks Quote Link to comment https://forums.phpfreaks.com/topic/12057-gd-thumbnails-script-please-help/#findComment-45847 Share on other sites More sharing options...
litebearer Posted June 15, 2006 Share Posted June 15, 2006 Might look here, altho it deals with resizing, it may explain about the saving...[a href=\"http://www.nstoia.com/toh/technical/imageresize/\" target=\"_blank\"]http://www.nstoia.com/toh/technical/imageresize/[/a]Lite... Quote Link to comment https://forums.phpfreaks.com/topic/12057-gd-thumbnails-script-please-help/#findComment-45849 Share on other sites More sharing options...
Mr Chris Posted June 15, 2006 Author Share Posted June 15, 2006 Cheers Guys,I understand the theory on how it works, which is what the link tells me.But where do I upload this file to? How do all my images in my 'images' folder know they have to be created as a thumbnail and told to be dropped in a 'thumbnail' folder?Thanks, but still confused!? Quote Link to comment https://forums.phpfreaks.com/topic/12057-gd-thumbnails-script-please-help/#findComment-45851 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.