Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Publisher / Web Design / August 2006

Tip: Looking for answers? Try searching our database.

Publisher - repeated images have different file names, why?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
gregm - 02 Aug 2006 10:20 GMT
In creating a website, with the same logo on each web-page, when it is
published each page uses a different image file, e.g. image112.gif on page 1,
and image143.gif on page 2.  This means the browser cannot used the cached
image from page 1 when displaying page 2, and therefore has to download more
content than neceesary.

The images are identical - in size, file, position on the page, and are
included on the master page.

How can I make eacg page link to just one image file, e.g. logo.gif?
DavidF - 02 Aug 2006 15:02 GMT
Assuming that you upload your logo image file to a folder on your website
called "Images", then using the insert HTML code fragment tool, modify and
insert the following code where you want the logo to appear on the page:

<IMG SRC="http://yoursite.com/Images/yourlogo.gif">

DavidF

> In creating a website, with the same logo on each web-page, when it is
> published each page uses a different image file, e.g. image112.gif on page
[quoted text clipped - 8 lines]
>
> How can I make eacg page link to just one image file, e.g. logo.gif?
gregm - 02 Aug 2006 15:17 GMT
David,

I can see how that would work - and that may be the final solution I use.

Unfortunately it would mean however that within publisher (2007beta) I
wouldn't see the image, even in preview mode and so don't get the benefit of
WYSIWYG. I'm using publisher as a friend wants to use it for their website
and whilst I'm comfortable with a naked HTML fragment it will be all greek to
them.

I'm surprised that Publisher duplicates images this way and hence
unnecessarily increases download times?

> Assuming that you upload your logo image file to a folder on your website
> called "Images", then using the insert HTML code fragment tool, modify and
[quoted text clipped - 16 lines]
> >
> > How can I make eacg page link to just one image file, e.g. logo.gif?
gregm - 02 Aug 2006 16:39 GMT
Solved.
Publisher creates two versions of images - even if they occur just once.
One image is used by browsers that support vml, one image is used by
browsers that don't support vml.

So if an identical image appears on three pages, there should be only two
images published.

G.

> David,
>
[quoted text clipped - 29 lines]
> > >
> > > How can I make eacg page link to just one image file, e.g. logo.gif?
DavidF - 02 Aug 2006 22:50 GMT
You figured out what it does, but be careful about deleting any of the
"extra" images. It is likely to create problems. Read what I said in the
other post about compressing the images to at least mitigate the file size
bloat and loading time...

DavidF

> Solved.
> Publisher creates two versions of images - even if they occur just once.
[quoted text clipped - 50 lines]
>> > >
>> > > How can I make eacg page link to just one image file, e.g. logo.gif?
DavidF - 02 Aug 2006 22:49 GMT
Actually if you write the link as I proposed, and have your computer
connected to the internet, and the logo image uploaded, then you will see it
in preview mode.

When Publisher was adopted into the Office family, starting in version 2002,
Microsoft started using VML and such with the goal of providing the best
image for any particular browser, and that was when the coding engine
started producing multiple copies of the images, and bloated the file.
However, even with Pub 2000 and before, the coding engine would produce a
copy of each image on each page...just the way it is. That's why I think
importing logos and other images that you might use on each page makes
sense, but I do understand how your friend might have problems with this
approach.

One thing you can do, and should do, is to compress the images before
uploading, especially if you aren't using an image editing program to
optimize the images for the web prior to embedding them in the Publisher
document. Reference: ""Compress graphics file sizes to create smaller
Publisher Web
pages":
http://office.microsoft.com/en-us/assistance/HA011266301033.aspx
You will get much faster loading images...

DavidF

> David,
>
[quoted text clipped - 34 lines]
>> >
>> > How can I make eacg page link to just one image file, e.g. logo.gif?
DavidF - 03 Aug 2006 00:52 GMT
And one more thought... You should go into Tools > Options > Web tab, and
untick "rely on vml..." and "allow png...", as this will further reduce file
bloat...

DavidF

> Actually if you write the link as I proposed, and have your computer
> connected to the internet, and the logo image uploaded, then you will see
[quoted text clipped - 63 lines]
>>> >
>>> > How can I make eacg page link to just one image file, e.g. logo.gif?
gregm - 11 Aug 2006 13:16 GMT
DavidF,

Thanks, I'll adopt your suggestions!

G.

> And one more thought... You should go into Tools > Options > Web tab, and
> untick "rely on vml..." and "allow png...", as this will further reduce file
[quoted text clipped - 69 lines]
> >>> >
> >>> > How can I make eacg page link to just one image file, e.g. logo.gif?

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.