PDA

View Full Version : Text Captions from Pano Name!


zleifr
10-01-2007, 03:42 PM
There are probably some other people out there who could make use of captions in their panoramas. It takes the caption from the panorama name, switching underscores for spaces and removing any directories that preceded the name of the set of images.

So, for example, xml:
loadPano(?panoName=images/Entry/Entry_to_House, 150, fade);
becomes:
Entry to House

jaaaab
10-01-2007, 08:14 PM
It seems usefull, but sorry can't get it to work! even if setting the good controller name...

Can you tell us more about how this is functionning?

thanks!

phberlin
10-01-2007, 08:27 PM
You know that the next update (comes in a few days) supports captions anyway?

zleifr
10-05-2007, 03:40 PM
Here is a sample that works:

http://d26585.u40.imountain.com/

the first "panorama" is just a large hotspot with a blank caption, so load one of the other panoramas to see the caption.