Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

tfwn93

macrumors newbie
Original poster
Nov 19, 2010
1
0
I'm sorry if this is not the correct method for posting my question, but here it goes.

I am building a webpage and need to put 4-5 photos in that will be hyperlinks to other pages. I need the photos to be the same size (dimensions, not file size) but I can't figure out how to do this very easily. Iphoto crops pictures, but I don't want them cropped -- I'd like to use the entire photo, not just a portion of it.

Can anyone help? THANKS!!!

- Troy

Macbook Pro: 2.8GHz, 4GB Ram, Mac OS X 10.5.8
 
I'm sorry if this is not the correct method for posting my question, but here it goes.

I am building a webpage and need to put 4-5 photos in that will be hyperlinks to other pages. I need the photos to be the same size (dimensions, not file size) but I can't figure out how to do this very easily. Iphoto crops pictures, but I don't want them cropped -- I'd like to use the entire photo, not just a portion of it.

Can anyone help? THANKS!!!

- Troy

Macbook Pro: 2.8GHz, 4GB Ram, Mac OS X 10.5.8

Just assign the height value (leaving out the width value) when you define the image in your code. It doesn't matter to the page what size the original image is (but the bigger the image is, the more bandwidth you'll waste), it will resize the image accordingly. Example: <img src="an_image" alt="" height="60" />

Also, you can use the Preview app that came with your machine. With it, you can crop or resize the image to the specs you require.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.