Salvo Posted November 28, 2002 Posted November 28, 2002 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
Lakers818 Posted November 29, 2002 Posted November 29, 2002 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.
mattice Posted November 29, 2002 Posted November 29, 2002 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"
Salvo Posted November 30, 2002 Author Posted November 30, 2002 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
mattice Posted November 30, 2002 Posted November 30, 2002 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"
Recommended Posts
Archived
This topic is now archived and is closed to further replies.