image upload distoration problems

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
onead
Forum Newbie
Posts: 10
Joined: Fri Feb 23, 2007 3:13 am

image upload distoration problems

Post by onead »

Hi

I have developed a cms for a car dealership which allows the dealer to upload images into it.

I am having problems in that whn the images are uploaded and resized they are distorting quiet badly.

The original images are taken with a good quality didgital camera at 1280 x 960 pixels and whenever they are displayed on the site as a smaller image the proportions are kept the same ie 235 x 176 and 300 x 225.

i have not set anything to alter the quality and was wonderign if this might help with the distortion if i reduced this.

you can see the images in teh cms here

http://www.theoneagencydevelopment.co.u ... .php?id=18

any ideas on how to solve this problem would be very much appreciated

many thanks
onead is online now Add to onead's Reputation Report Post Edit/Delete Message
nickvd
DevNet Resident
Posts: 1027
Joined: Thu Mar 10, 2005 5:27 pm
Location: Southern Ontario
Contact:

Post by nickvd »

The img tag is pointing to the full sized images, not the resized ones...
onead
Forum Newbie
Posts: 10
Joined: Fri Feb 23, 2007 3:13 am

Post by onead »

thanks for the reply.

do you have any suggestions on solving the problem - how do i not reference the full size image?

thanks
nickvd
DevNet Resident
Posts: 1027
Joined: Thu Mar 10, 2005 5:27 pm
Location: Southern Ontario
Contact:

Post by nickvd »

?

By referencing the resized one.

When the user uploads their images, does your php script resize the image?
Post Reply