Rename Images

W

Wilfwan

I created a .pub website. However, I can't rename any of the images I've
placed in the file. When I save it as a .htm site, it turns into weird and
obnoxious "image43754.png" names. How can I change this in the pub file? Or
do I have to do it manually - via the html / filelist.xml / individual image
names of the exported htm files? Thanks
 
D

DavidF

Sorry, but unless you want to import your images, that is the way Publisher
works. When you insert/embed an image into a Publisher web publication, and
then produce your web pages and web files, it will make copies of the
inserted images and rename them. If you change the names, the code will not
know what images to load into the page when it is viewed in the browser.
Don't change the image names.

It also sounds like you did not compress your images before you produced
your web output, based on the fact that you ended up with a .png file.
Publisher not only makes a copy, it makes multiple copies in various
formats, to serve up depending on the browser that it used to view the
page...with dubious results. If you compress the image files before, then it
makes fewer copies and you get better results.

If you are using Pub 2003, then go to tools > Options > Web tab and uncheck
"rely on VML..." and "allow PNG...". If you are using Pub 2007, then the VML
option has been removed. Unchecking the VML option helps make your web more
cross browser compatible. Then compress your images. This will resample,
resize and optimize them for the web:

Reference: Compress graphics file sizes to create smaller Publisher Web
pages (2003):
http://office.microsoft.com/en-us/publisher/HA011266301033.aspx

Reference: Compress Pictures dialog box (2007):
http://office.microsoft.com/en-us/help/HA100363901033.aspx?pid=CL100605171033

If you want to import images to your web pages, post a new question in the
web group, but it will be more work.

If you have more questions about Publisher webs, then post in the web group
and we will try to help you there: microsoft.public.publisher.webdesign
Please always include the version of Publisher you are using, the URL of
your site and as much detail as possible.

DavidF
 

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