Jump to content

GD Thumbnails script - please help


Mr Chris

Recommended Posts

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?

Thanks

Chris
Link to comment
Share on other sites

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...
Link to comment
Share on other sites

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
Link to comment
Share on other sites

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!?
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.