Microsoft KB Archive/937669

= Error message when you click a thumbnail image in an HTML gallery that you create by using Expression Media on a Macintosh: &quot;No file exists at the address&quot; =

Article ID: 937669

Article Last Modified on 5/23/2007

-

APPLIES TO


 * Microsoft Expression Media

-



SYMPTOMS
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 &quot;/Volumes/ / .htm&quot;.

You experience this problem if the following conditions are true:  Some images in the HTML gallery have more than 26 characters in the file name. The images whose file names are longer than 26 characters have the same characters for the first 26 characters in the file name.

For example, you experience this problem if you create the HTML gallery by using the following two images:

TwentySixCharacterFileName1.jpg

TwentySixCharacterFileName2.jpg





CAUSE
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.



WORKAROUND
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:
 * 1) In Expression Media, click HTML Gallery on the Make menu.
 * 2) In the HTML Options dialog box, click the Settings tab.
 * 3) Click to select the Use numbers for HTML filenames check box.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; 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.</li> 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.</li> Exit the HTML gallery.</li> In Expression Media, click HTML Gallery on the Make menu, and then click Make. The HTML gallery is generated to the same folder.</li> Click each thumbnail image to verify that the images open in the HTML gallery.

You receive the error message that is mentioned in the &quot;Symptoms&quot; section.</li></ol>

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.

Keywords: kbexpertisebeginner kbtshoot kbprb KB937669

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.