Forum Moderators: open

Message Too Old, No Replies

Need to display image title attribute

Image title attribute

         

Azores

5:11 pm on Jan 13, 2005 (gmt 0)

10+ Year Member



I have a page where I am opening a single jpg. I want to get and display the title information that is can be entered when viewing the properties of the image and clicking on the "Summary" tab. The url of the page in question is

[soundst.com...]

Thanks in advance...this is my first post

rocknbil

5:47 pm on Jan 13, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You can enter the info you want by using alt tags, which it appears you are not. Does that answer it? I can't locate the summary tab you mention.

<img src="images/whatever.jpg" alt="This pops up a little yellow box on mouseover">

Azores

6:14 pm on Jan 13, 2005 (gmt 0)

10+ Year Member



I have a library of images (jpgs) that have title info associated with them. This info was entered for each jgp by displaying the properties (right click), clicking the summary tag, and entering it into the title field.

When I go to display these images, I want to retrieve this information for each one and present it on the page.

I need to know what script is needed to retrieve it.

rocknbil

5:07 pm on Jan 14, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Sorry, I was looking on a Win98SE machine yesterday, which does not have the Security and Summary tabs, looking on a win2K machine I see what you mean.

My initial guess is this a a windows OS function and may not be available on the web. If it is, windows scripting may have a solution.

That being the case, you could probably only do this if your site is hosted on a windows-based server (to retain/access the info) and you could access it via VBscript. Javascript does little to access files.

A brief search of MSDN turned up this ONE related article - mind you it do not directly answer your question but like most things Microsoft just begin turning you in the right direction:

Statistics Button Unavailable in File Summary Info Dialog [support.microsoft.com]

It has some VBscript samples that lead me to believe you actually might be able to do this using VBscript.