Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Advantiges and Disadvatages images (small - Big)


Salvo

Recommended Posts

Posted

Hi all,

 

1 - uploading a 600x400 image to be used for a small 100x80 and enlarged images 60x400.

 

2 -using a thunb contribution to create a 100x80 image then of course I presume I would have still the 600x400 image.

 

which are the adv or disadv using one or the other...

 

can someone with experience tell me which is the better of the two?

 

Thanks

 

Salvo

Posted

Using a larger image for a smaller image on the front page would make your webpage load slower. It makes your larger image look smaller on the page because it gets auto sized.

Posted

Ideally you have the correct image for every size image so you do not scale it down/up with HTML at all. If you are running php with GD2.X enabled you should check the contributions. There is a contrib that uses GD to auto-resize the image (and saves it for next time). You upload the largest size image you need and the script does the rest.

 

If you do not have GD I only have one advise: Upload EACH size you need seperately. I know it sucks to do so but on large sites it will pay off.

Resizing using HTML is bad practice.

 

Regards,

Mattice

"Politics is the art of preventing people from taking part in affairs which properly concern them"

Posted

Hi,

 

Thanks for advice about the images... I will take the advice as I will want to upload many photos of 600x400 as main and 60x40 to be thumbnail....

 

I have seen a few contributions that talk about image resize. can someone advice on which one does that?

 

Thanks

 

Salvo

Posted

http://www.boutell.com/gd/

 

Checkout PHP.net's pages on GD too, you'll need to install additional things like FreeType if you want to use TrueType font creation etc.

 

HTH

Mattice

"Politics is the art of preventing people from taking part in affairs which properly concern them"

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...