Can you stop Frontpage from adding the image size?

G

Guest

My website uses a ton of graphics, basically icons, that I would like to be
able to change at will if need be. But it cant, because frontpage
automatically added in the image size to the html, so when I change the
image, i have to go to EVERY PAGE (easily over 2000 images and the site is
only about 1/50th complete.

I've found you can do this:
<!--webbot bot="HTMLMarkup" startspan -->
<img src="picname.ext">
<!--webbot bot="HTMLMarkup" endspan -->
but that would be extremely verbose and almost triple the already bloated
html that Frontpage puts out. (I've noticed it feels the need to open and
close the font tag for every cell on a page, even if theres only one font on
the entire thing.)

I'm about to move to dreamweaver if this cant be fixed.

This is my site:
http://eden.rutgers.edu/~notsonic/movelists/
 
R

Rob Giordano \(Crash\)

why would having image dimensions preclude you from changing image files?
besides IIRC DW adds image dimensions as well.


| My website uses a ton of graphics, basically icons, that I would like to
be
| able to change at will if need be. But it cant, because frontpage
| automatically added in the image size to the html, so when I change the
| image, i have to go to EVERY PAGE (easily over 2000 images and the site is
| only about 1/50th complete.
|
| I've found you can do this:
| <!--webbot bot="HTMLMarkup" startspan -->
| <img src="picname.ext">
| <!--webbot bot="HTMLMarkup" endspan -->
| but that would be extremely verbose and almost triple the already bloated
| html that Frontpage puts out. (I've noticed it feels the need to open and
| close the font tag for every cell on a page, even if theres only one font
on
| the entire thing.)
|
| I'm about to move to dreamweaver if this cant be fixed.
|
| This is my site:
| http://eden.rutgers.edu/~notsonic/movelists/
 
R

Ronx

You can fix the <font> tag problem by using CSS to style the pages, and
not using themes (if you use themes). Or, if using themes, apply the
theme using CSS.

Use include pages to add the image to every page. This does add extra
comment text, but makes maintenance very simple. 100 characters of
extra text makes very little difference to page load times.

Or, if using FP2003, consider using a DWT (Dynamic Web Template) for
your layout and fixed text and images.
 
G

Guest

If i change the dimensions of the image, the old ones are still in the html,
which distorts the image.

Dreamweaver does not do this.

Ronx, so your suggestion is to instead of just putting an image on my page,
to make each image its own html, and then include it?

Dont you that thats a little assinine?
 
T

Thomas A. Rowe

Why not make all of your icons images the same size or at least the canvas of the image, since
specifying the image size in html, allows the browser to display the page faster?

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================
 
R

Ronx

If it's the same image going on every page (as your posts indicate)
include pages or DWT are the way to go. If the images are different for
each page, then you have to edit each page anyway, so why not go the
extra 5 seconds and change the dimensions?

On the other hand, a different interpretation is that you are changing
the images without changing the file name or the pages. In this
situation the HTML markup webbot is the only solution.
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.
FrontPage Support: http://www.frontpagemvps.com/
http://www.rxs-enterprises.org/fp
 
M

Murray

Dreamweaver does not do this.

Sure it does. If you change the dimensions of an image that was inserted
into a page previously, that image will load with the wrong dimensions. DW
has no way to know that you want to change the dimensions.
Dont you that thats a little assinine?

Hmmm....

Look - if you want to workaround the problem, then just remove the
dimensions from the HTML altogether. The image will load at its native size
whatever its actual dimensions are. The only problem you will encounter is
that the page might wiggle around as the browser determines how must space
to allocate to these 'anonymous' images. However, if the images are small,
this will not be so apparent.
 
G

Guest

this is exactly what I'm doing. I'd like to have that kind of flexibility
without having to edit every single page.

I think that I can use a CSS sheet that has:

img
{
height: auto;
width: auto
}

to fix it.

I'm not really concerned how long the page takes to load as the difference
is minimal, and its essentially the same ~15 tiny pictures on every page. Not
to mention page traffic is ultimately going to be pretty low.
 
T

Thomas A. Rowe

Ok, if you have the same 15 or so images then you should have a problem make them all the same size.
if they have to replace each other on individual pages.

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top