ROBERT OWEN — Technology Leader & Musician
Technology leadership, music, and the space where they overlap

CSS Image Restrictions

Message to the Masses:

Help, I'm looking for a cross browser css solution to limit image display sizes.

Ex: A user uploads an un sized photo, the image is 2400px x 2400px. I want to make the maximum displayable size 500px wide.

This first example works but, makes every image the same size:

This bit works like I want but only in FireFox Internet Explorer ver. 7 but, not in IE 6


without adding javascript or a new CFC is there a good way to do this in CSS?

© 2006, Robert Owen. All rights reserved.