View Single Post
Old 9th April 2003, 10:07 AM   #6
Mr. Tech's Avatar

Username: Mr. Tech
Rank: Problem Solver
Join Date: Dec 2004
Location: Gold Coast, Australia
Posts: 2,166
Points: 1,025.61
Send a message via MSN to Mr. Tech
Default

This will be in your right hand side page. Change $imagedir.

Code:
<?php // Image Directory $imagedir = "images"; if (IsSet($HTTP_GET_VARS['image']) && IsSet($HTTP_GET_VARS['text']) && file_exists("$imagedir/$HTTP_GET_VARS[image]")) { ?> <table border="0" width="100%"> <tr> <td><img src="<?php echo "$imagedir/$HTTP_GET_VARS[image]"; ?>" border="0"></td> </tr> <tr> <td><?php echo "$HTTP_GET_VARS[text]"; ?></td> </tr> </table> <?php } else { echo "File Not Found"; } ?>

Now with your left side links you need to put something like this:

Code:
<a href="right.php?image=image.gif&text=This Is My Text" target="right_frame">Photo</a>

Replace:

image=image.gif&text=This Is My Text

With your images info.

Hope that helps!
__________________
Please read the Forum Rules

Get rewarded for posting
- free advertising!

.::. [ Webmaster Resources ] .::. [ Web Design ] .::. [ Developer Tutorials ] .::.
Mr. Tech is offline   Reply With Quote