Jump to content

Image Uploading and resizing


haseebmaqsood

Recommended Posts

Have you made any attempt at coding it yourself, if you have, can you post your code here.  If you haven't and are just looking for someone to write it for you then you should post in the Freelance board of this forum.

 

This is a help board, and as such, we provide help, suggestions and recommendations, we don't write if for you I'm afraid.

 

Regards

Huggie

Link to comment
Share on other sites

Hi there,

 

When file get uploaded.. it goes the Temp Directory of the server.

the file information is available in server variable $_FILES.

 

Open the Help doc for $_FILES u will get all the info about uploaded file(s)...

there also one more function move_uploaded_file .....which moves the uploaded file from Temp directory to specified destination location on server... That Destination path u can save in the Database.

 

 

Use GD library for resizing the image...there are function available under GD library for resizing images....

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.