PDA

View Full Version : I am having troubles with the quality of pictures..



answer
12-30-2007, 01:33 AM
I am having troubles with the quality of pictures on my website when uploaded. Each time two pictures are uploaded, one of them has a very poor quality, while the other picture becomes smaller and even worse than the other picture. Can anyone help on how to make this appear better?

I have a link to one of the listings for your help.

http://nairabiz.com/index.php/automobile/view/47

Thanks

Depeche
12-30-2007, 10:10 AM
Are you uploading via the browser, or a program, or Unlimited FTP? Browser meaning if you have the upload button on your website and you upload there.

answer
12-30-2007, 03:16 PM
Yes I am uploading via the web browser (IE) not a program. Thanks

Depeche
12-30-2007, 03:20 PM
IE *burp* ok .. upload them into a directory on the server and then link it to the image. Are you using Gallery or Coppermine? That stuff?

answer
12-30-2007, 04:06 PM
All pictures are uploaded to a directory and there is a reference from the individual view page. However, the quality is not good after being uploaded

omes
12-31-2007, 10:11 PM
There is nothing wrong with the quality of your picture, but the software projecting your picture prolly doesn't make a scaled down picture of it.
http://nairabiz.com/uploads/Murano_21.JPG This picture has good quality, but it is shrinked by the browser when shown in the gallery. Since the browser does the scaling on the fly (fast) the quality is often not so good. Depends on the browser. The way to get this picture with good quality is to make the web app have it scaled for the browser.

That make sense at all?

answer
01-01-2008, 12:03 AM
The Original pictures have good quality but after it has been uploaded using the browser the scaling does not come our clear. For example the second picture shows only at the corner of the frame. http://nairabiz.com/uploads/Murano_11.JPG. As regards scaling the picture for the browser, I am not sure I understand what I need to do.

Thanks

r2b2
01-01-2008, 12:54 AM
Sounds like you should be talking to the people who support the software that you are using (you don't say what the software is).

Also in terms of the browser scaling, simple solution is to scale the picture before upload or using some kind of image library such as ImageMagick or GD...

omes
01-01-2008, 09:04 AM
That's what i was trying to say ;)

answer
01-01-2008, 07:47 PM
Sounds like you should be talking to the people who support the software that you are using (you don't say what the software is).

Also in terms of the browser scaling, simple solution is to scale the picture before upload or using some kind of image library such as ImageMagick or GD...


The website was created using PHP and I am not sure of what software you are asking for. The pictures were uploaded using internet explorer but after uploading, the quality changes. The pictures are uploaded by different persons, and what I need help is how to automatically scale the picture so when it is being viewed it comes out well. I need help and that is why I am asking

omes
01-01-2008, 08:01 PM
Yes, but it depends entirely on the coding of the software you are using on your web page. It is hard to explain how to implement this "over the line" unless you're already familiar with the software. What you could do as a workaround, is to have imagemagick set up as a cron job to look for new images and then resize them if it finds new ones. Do you know any scripting language?

answer
01-01-2008, 09:10 PM
Based on the respoonses, I think I need help on where and the code on how to scale the pictures. I am not using any software, but I use edit plus (PHP software) to make changes.

answer
01-01-2008, 09:30 PM
Maybe I am not explaining myself properly. For example, this picture appears to be properly scaled (http://nairabiz.com/uploads/Murano_21.JPG), but this picture http://nairabiz.com/uploads/Murano_11.JPG appears different. The real picture is reduced to the top left corner of the picture frame. My aim is to make the second picture the same as the first when it is uploaded.

omes
01-02-2008, 08:11 AM
Could you post the image upload sequence plus any modifications done after the upload process?

Did you upload the original picture? If one of your users did, then maybe this is his original picture.

Some of the image headers say: CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), quality = 90

answer
01-02-2008, 12:05 PM
I even tried uploading two pictures myself from the web browser and one of them did not come out well. I had to delete the picture and re-upload it twice before it came out well i.e by appearing in full rather than moving to the top left corner. The original pictures are good but the picture reduces in size and moves to the top corner after it has been uploaded. Maybe I am having difficulties understanding what I need to do to resolve this as I am not advanced in web design. Thanks.

r2b2
01-02-2008, 04:54 PM
It still all comes down to what software is installed. Its obvious you are using PHP but you must have installed an application to let you show all the information on your website.

You must be using software unless you wrote the whole thing yourself?

sdasevne
01-02-2008, 05:12 PM
The original pictures are good but the picture reduces in size and moves to the top corner after it has been uploaded.

You're correct; this is standard IE procedure. If your image is too large to fit on the screen, the browser resizes it to fit, and aligns it with the upper left corner. Take a look at this 1200 pixel high image: www.sda7.net/1200hi.jpg . You'll see that, as it's being loaded, it's too wide and too high to fit the screen. However, soon as it's loaded, it's resized to fit. This is not a problem, it's a feature.

omes
01-03-2008, 01:55 AM
You're correct; this is standard IE procedure. If your image is too large to fit on the screen, the browser resizes it to fit, and aligns it with the upper left corner. Take a look at this 1200 pixel high image: www.sda7.net/1200hi.jpg . You'll see that, as it's being loaded, it's too wide and too high to fit the screen. However, soon as it's loaded, it's resized to fit. This is not a problem, it's a feature.

I think the following picture is his real problem;
http://nairabiz.com/uploads/Murano_11.JPG
Instead of rescaling the picture itself, it moves it to the top corner and adds a black background.


Like r2d2 said, it all depends on the code. What software did you use? (If you made it yourself i suppose you would have shown us some code already)