Geoff Welsh wrote:
Erness Wild wrote:
I have very little to complain about
Seamonkey as it's been up graded to perfection.
I know composer is not upgraded anymore but...
it just wasted an hour of my time as I couldn't
figure out why a new image wouldn't size properly
when copying a previous image in a table and
using another program to change the image.
Drove me crazy as to why the image wouldn't size
properly. Then I discovered that seamonkey composer
inserts an image with: "image style" which locks the
dimensions up solid unless you see this in the html
coding.
My other software always uses "image src" which allows for
resizing of the image.
Using image style means the image can't resize even if you
enter in the refresh image command. The old dimensions of
the previous image remain, and remain hidden unless you
go looking at the source code of the html with a "microsope".
If this message saves someone else some time, then good.
makes no sense to me, but I can read HTML.
src is for where an image file comes from
style is for how the image is presented
GW
Please read my answer. It's a result of Composer's CSS styling being
turned on and it is not an error or problem. It's the OP's issue of
creating code using Composer with CSS turned on, modifying the image
file in an external program, and then expecting the CSS style code to
update: It can't know that the image file has changed - the CSS was
created based on the original inserted image and used its original size
parameters. Change the parameters in an external pgm? Composer can't
know you did that. The HTML and CSS are hard-coded at the time it is
created. It's not dynamic and cannot read your mind!
I write such HTML by hand and it's the same thing. If I do this:
<img src="image.jpg" style="width:100px; height:100px;" alt="Bob">
or if I launch composer and insert an image file, the result will be
quite similar, the difference being that Composer will insert the CSS
style code before the "src" code. Doesn't matter, both legal, both
work. It's the OP's lack of understanding about CSS that is the issue.
If I then, say, open image.jpg in IrfanView, resize it, save it over the
original file name with different sizes? Composer is just reading the
file from its location. It's not parsing the file attributes on each
load and adjusting the CSS specs. That ain't how it works!
--
Ed Mullen
http://edmullen.net/
The only difference between a grave and a rut is the depth.
_______________________________________________
support-seamonkey mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-seamonkey