Advertisement

02.09.2003 at 03:10PM PST, ID: 20506722
[x]
Attachment Details

PHP Image function - Upload, Resize, JPEG & GIF

Asked by salmonz in PHP for Windows

Tags: php, resize, image, upload

Hi,

We have a complex task to do.

Here are the variables:
$item_code ' Item code for product
$mfr_code ' Manufacturer code

We would like to upload our product images in a form, resize them to the appropriate sizes, and have an image in JPEG and GIF. 1 size & image for JPEG, and the same for GIF - so 2 images per item.

Example:

$item_code.jpg ' 250x250
$item_code.gif ' 100x100

The major task here to resize and convert the images.

Uploading the images as a result of the resizing and converting is easy.

They will be stored as:
prodimages/$mfr_code/$item_code.jpg
prodimages/$mfr_code/$item_code.gif

Please post any insight.

Start Free Trial
[+][-]02.09.2003 at 11:09PM PST, ID: 7915993

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.09.2003 at 11:28PM PST, ID: 7916056

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.10.2003 at 08:43PM PST, ID: 7922989

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: PHP for Windows
Tags: php, resize, image, upload
Sign Up Now!
Solution Provided By: Azmeen
Participating Experts: 5
Solution Grade: A
 
 
[+][-]02.11.2003 at 11:56AM PST, ID: 7928235

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]06.24.2004 at 02:04AM PDT, ID: 11386855

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]06.28.2004 at 10:38AM PDT, ID: 11418126

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]03.12.2005 at 06:56AM PST, ID: 13524518

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.07.2005 at 09:54AM PDT, ID: 13951166

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32