Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Image Display
Message
 
To
22/01/2005 14:52:10
General information
Forum:
Internet
Category:
HTML
Title:
Miscellaneous
Thread ID:
00979641
Message ID:
00979673
Views:
9
This message has been marked as the solution to the initial question of the thread.
>>Hello Jos,
>><snip>
>>
>>the "width" property squeezes the entire image into the set width but that is not what I am after. I'm looking to cut the image at the x'th pixel. Any ideas?
>>

>>I think that the squeezing is caused by the fact you didn't define a height property (with a fixed height) , what happens if you do ( I think it has to work then)?.
>
>No the height does not affect it. IMG SRC width and height properties work on the entire image. I want to cut the image off at a certain pixel width.

In fact you can cut an image with the height and width properties if it has a .jpg extension. I wasn't aware of the fact that this doesn't go up for a .bmp extension. To get the same effect you can use css and div :
<div style = "width:xpx;  height:ypx;overflow:hidden"  > 
<img src = "zal.bmp"> </img> 
</div>
Of course x is the width and y the height at which you want to cut the image off.
HTH
Zakaria al Azhar
My blog on Actuaris.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform