<!-- caption -->
<p align="center" class="modcaption"><?php echo editCaption($gallery->album, $index) ?>
<br><br><?php print makealbumUrl($gallery->session->albumName, $id)?><br><br>
<input type="text" name="mytag" value="&img src=&<?php print makealbumUrl($gallery-
>session->albumName, $id)?>&&" onClick="highlight(this);" size="20"><br>
There is the code. You have to add the .jpg or .gif extension at the end of the name till I
figure out how to do it. Just add it before the last quote.<br>
</p>
Posts: 22876
Not tested but this might work:
$image->type;
Dave
Posts: 2
Thanks Dave, I did get it to work. I have a text box with the image url in it as well as the url listed above that . Here is the code I used:
It is located in the view_photo.php file and located near the bottom of the page. It does exactly what I want it to do and seems to work great.
You can see it http://mrsdressup.ca/ebayimages/albums.php