You create an HTML gallery in Microsoft Expression Media on an Apple Macintosh computer. Then, you publish the HTML gallery for the first time. When you do this, the links to the images in the HTML gallery work as expected. However, if you publish the HTML gallery to the same location again, one or more links to images may be broken.
Additionally, when you click a thumbnail image in the HTML gallery, you receive an error message that resembles the following error message:
Safari can't find the file.
No file exists at the address "/Volumes/path/fileName.htm".You experience this problem if the following conditions are true:
This problem occurs because of how Expression Media handles image file names that are longer than 26 characters.
Expression Media handles unique file names to 26 characters correctly. If file names are longer than 26 characters, and if the first 26 characters of the file names are identical, the following behavior occurs:
- Expression Media truncates the file names to the 26th character.
- Expression Media adds an underscore character (_) together with an integer to each file name to establish the identification of each file. Expression Media increments the integer by one for each file name for which the first 26 characters are identical.
Therefore, when you create the HTML gallery, the link to the image file may be broken.
To work around this problem, configure Expression Media to use numbers for HTML file names when you create the HTML gallery. To do this, follow these steps:
- In Expression Media, click HTML Gallery on the Make menu.
- In the HTML Options dialog box, click the Settings tab.
- Click to select the Use numbers for HTML filenames check box.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Steps to reproduce the problem
- Locate two .jpg image files. Name the files as follows:
TwentySixCharacterFileName1.jpg
TwentySixCharacterFileName2.jpg
- Start Expression Media on a Macintosh, and then drag the two .jpg files to the catalog.
- On the Make menu, click HTML Gallery, and then click Make.
- In the Choose the upload folder dialog box, locate a folder, and then click Choose. The HTML gallery is generated to the folder that you specified. Then, the HTML gallery opens in a Web browser program.
Notice that TwentySixCharacterFileName1.jpg and TwentySixCharacterFileName2.jpg appear in the HTML gallery. Click each thumbnail image to verify that the images open in the HTML gallery. - Exit the HTML gallery.
- In Expression Media, click HTML Gallery on the Make menu, and then click Make. The HTML gallery is generated to the same folder.
- Click each thumbnail image to verify that the images open in the HTML gallery.
You receive the error message that is mentioned in the "Symptoms" section.
The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, about the performance or reliability of these products.