PDA

View Full Version : title on pop-up jpeg


Marbledog
07-08-2001, 12:58 AM
Anyone know a way to get a title to appear on a popup jpeg - instead of the "xyz.jpg 350 x 350" that appears in the title bar?

example: http://elephantpolo.com/varley/00/tigresspix.htm

Those photos you click on, when the larger image comes up, I'd like to have a title on them. The only way I can think of is to put each larger image on a separate page but that's too much work and too much space and complication etc.

Thanks for any help there may be out there - even if it's to tell me "no that's impossible" - at least then I can give up.

YFS200
07-08-2001, 02:28 AM
Got me. I was thinking Javascript, but I don't think you can even add a title with Javascript. I don't see a title tag listed in my java book.


For another way around this, try ImageFolio.

http://www.imagefolio.com/

I have it on two sites in FQ and love it to bits. It makes adding photos a snap.

yfs

Keiichi
07-08-2001, 03:36 AM
it shouldn't be too hard to make each open in their own page, a simple cgi/php script should be able to do that and have it linked like:
domain.com/image.cgi?image=blah.jpg

as for the title, would it matter if the title was the same for all the images? if not, then that could be in the script i mentioned above.

or you can make a script that grabs a title from the link, similar to:
domain.com/image.cgi?image=blah.jpg&title=My+Cool+Image!!

or you could have an array of titles that is already stored in the script/external file, and have the link grab the title.
domain.com/image.cgi?image=blah.jpg&title=1
and grab $title_array[1] or something.

janderk
07-08-2001, 07:39 AM
Originally posted by Marbledog:
Those photos you click on, when the larger image comes up, I'd like to have a title on them. The only way I can think of is to put each larger image on a separate page but that's too much work and too much space and complication etc.


My company (hosted here at FutureQuest) happens to make Arles Image Web Page Creator which automates this kind of tasks and allows you to create those image galleries in a few minutes.

Check it out here:
http://www.digitaldutch.com/arles/

Here are some example galleries:
http://www.digitaldutch.com/arles/examples.htm

You can also download a 30 days evaluation version to try it out for yourself.


Jan Derk

jimbo
07-08-2001, 07:26 PM
I do it the way Keiichi explained, here's an example of one of my company sites (the text links in the page body are popup images):
http://www.fountainview.com/ammenities.php

The link looks like this:javascript:showPhoto('photo.php?p=blah.jpg&a=Title')

photo.php looks something like this:

<html>
<head>
<title>$a</title>
</head>
<body>
<img src="http://www.fountainview.com/img/$p" alt="$a">
<p><a href="javascript:self.close();">Close Window</a></p>
</body>
</html>

You can grab the "showPhoto" Javascript function if you view source on the URL I referenced above.

Hope this helps :).

-jim

Marbledog
07-14-2001, 10:43 PM
Goodness - how rude of me - I ask a question and then forget to say THANK YOU for the help. The gallery software is something I'm considering but it's not quite what I want for some of my galleries.

The php/java solutions look like what I want. Unfortunately I don't know squat about that stuff. I've been using GoLive to do my designing and I barely know enough html to fix bugs that occasionally come up. I read about php in these forums and I know that I really need to buckle down and figure out what it's all about.

Maybe this is the incentive to get me to do that.

Any ideas of where I should start? The tutorials here? Or is there an online resource that might be good?

thanks again and sorry it took me so long to say it!

:rolleyes: :rolleyes: