View Full Version : Changing Image Size


Vannessah023
05-29-2003, 08:47 PM
Hello Everyone...

I was just wondering how I could change the size of and gif image in my html code. It's an animated button... Is this possible?

Here's the code. It would be so awesome if someone could just fill in the blanks... I want the button to be 88 x 31.

<a href="http://www.crystal-reflections.net/~a2d/" target="_blank"><img src="LIN_A2D.gif" border="0" alt="Addicted 2 Dannie"></a>

Thanks in advance...

Vannessah

Lemon Squash
05-29-2003, 09:20 PM
<a href="address you want image to click to" target_"blank"><img src="your filename.gif(or jpg)" border="0" width="000" height="000" alt="pick a name"></a>

Vannessah023
05-29-2003, 10:08 PM
Hello Lemon Squash...

That was quick... Thanks very much! Much apreciated!

VANNESSAH

Lemon Squash
05-29-2003, 10:32 PM
No prob :P

phrozein
05-30-2003, 12:34 AM
Wouldnt that still be the same size, just there'd be white surrounding the picture? Just strech and skew on paint.

pb&j
05-30-2003, 06:03 AM
the example that lemonsquash presented contains the width and height properties. the values for each will have to be entered instead of the 000.

but...

if this is a larger image (or smaller), using the html to change the dimensions will create a slightly askew image being shown as it tries to scrinch the original image into a smaller (or larger) space.

the preferred way to fix this problem would be to use a proper image editor and resize the image to the correct dimensions that way. for an animated image, a slightly different software may be required such as Animation Shop.

Vannessah023
05-30-2003, 10:47 PM
Hello...

Thanks so much for that little tidbit! Yeah, I figured I could just change the size in Photoshop, but I was just feeling particularly lazy that day, lol.

The image was just a button 100 x 35, and I just wanted it 88 x 31. I know about you know, keeping the original image ratio, or whatever. It looks fine, but thanks for your help anyways!

Vannessah