Disable FrontPage automatic height and width for images

  • Thread starter Thread starter Bionic_Peon
  • Start date Start date
B

Bionic_Peon

There was a discussion on this topic on 9/14/05 on this list that never
had a resolution so I am bringing up again.

FrontPage (at least in version 2003) will automatically add a
"width="700" height="450" to your picture even if you take it out and
save or choose not to specify a size. (obviously not 700/450, whatever
dims your picture natively is).

Example:
http://www.extremephotosinc.com/test/test.htm

notice the center picture (man smoking holding the oar). Notice it is
being stretched to 700/450 and doing a View Source in your browser
reveals:
<img name="ImageFull" border="0" src="../images/0.jpg" width="700"
height="450">

Now look at
http://www.extremephotosinc.com/test/test2.htm. Notice the center
picture now, view source reveals:
<img name="ImageFull" border="0" src="../images/0.jpg">

To create test2.htm I had to edit it with Notepad.

If you open test2.htm with FrontPage, do NOTHING, then save it, it will
AUTOMATICALLY ADD the 700/450 back to it.

Is there ANY way to prevent this? Is there anyway I can add a line of
code inside of FP and tag it and say "don't touch this"?

Thanks.
 
You need to contact MS Product Support as there is no way to change that in any version of FP. All

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
Actually, I figured out a way to do it within FrontPage, I used their:

<!--webbot bot="HTMLMarkup" startspan -->

tag to exclude the chunk of code from FrontPage. that did the trick.
 
Back
Top