Forum Moderators: not2easy

Message Too Old, No Replies

Background-image re-size

Resize live image feed

         

AndersHolm

7:20 am on Aug 7, 2006 (gmt 0)

10+ Year Member



Here is the thing. I want to use a webcam jpg. feed as a backround for a <div> container. The feed works as follows, i have an image adress (http://romeo.skybert.no/drammenh/k1/snapshot_pos11.jpg) and the image displayed on this adress updates something like every 30 minutes. However, i have to re-size in the code, is this possible? To automatically re-size the image you use as a background?

Thanks alot!

Anders

Robin_reala

11:53 am on Aug 7, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



CSS3 has a proposed background-size [w3.org] property but only very recent Safaris support this. In lieu of a CSS method you'll have to use some server-side method to resize the code. PHP and the GD libraries can do this for you, and I'm sure there're various methods in other frameworks.

DamonHD

11:55 am on Aug 7, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi,

You're not meant to drop URLs in posts.

Rgds

Damon