After stalking this ever and ever again, it’s just that I have a need of writing something more of use than my comments above (shame on me).
Independent of our method applying an image in Freeway (graphic-item with or without pass-through, HTML-item with pass-through) we end up in an img-tag. Images as background is CSS and not part of this talk.
The img-Tag is kinda placeholder, cause we don’t embed an image directly in HTML, we link to them (via src-attribute). So at least we talk about the rectangle surrounding our image.
Picking up Ernie’s Example 1 - Pass-thru image at native size:
The img-tag has no width or height applied. Freeway denotes this as flexible/flexible so allegedly this is “responsive”. But it is not. It can’t cause the size is now coming from the source - or our image which is fix (e.g… 1200px by 800px).
Inspector’s settings feel wrong to me (though in fact they might be true - remember no width/height → “available”).
But it’s one of the most discussed “My images won’t grow/shrink” talks - for some good reasons.
Applying a width attribute
By doing so, we set the img-Tag - better the rectangle - in context (re-read carefully what Ernie said). In both directions, towards the image and the ing-tag’s surrounding. This can be the direct parent or the #PageDIV (which is your page-width) if it comes to absolute positioning.
And here, the max-width makes absolute sense now. No need for a tag to grow bigger than its parent - and even no need for an image growing bigger than its physical dimension.
So I tend to say, that the default for “pass-through-mode” should be fixed 100% - or even fixed 100% max-width: 100%.
Cheers
Thomas
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options