|
uCoz Community Archives Locked Linking Image in Photo Album |
Linking Image in Photo Album |
Hi.
I'm working on a website about Neopets (neocyclopedia.ucoz.com if that is needed), and I need the images in the photo album/adoption agency to be linked to that pet's page. Right now here is the code for "Appearance of Image Entries" or whatever: Code <div align="center"> <div style="padding-bottom:1px;"><?if($PHOTO_NAME$)?><a href="$OTHER4$"$PHOTO_NAME$</a></?if?><?if(len($PHOTO_NAME$)>25)?><?substr($PHOTO_NAME$,0,23)?>...<?else?>$PHOTO_NAME$<?endif?></a><?endif?><?else?> </div> <a href="$OTHER4$"> <img src="$PHOTO$</a></?if?> <br><?if?>$OTHER3$ $CAT_NAME$</div><?endif?> <div style="margin-top:2px;" class="eDetails"> <?if($MODER_PANEL$)?><div style="position:absolute;z-index:30;">$MODER_PANEL$</div><?endif?> </div> I have the photo name link-age set right. The OTHER4 variable is currently set as the link to the pet's page. So, that makes the hyperlink to the pet's page via the photo title (also the pet's name) set. The coding where there is an image source involved, is where it gets funny. The image saying the image link is broken, and I don't know why. What part of the coding is incorrect that would cause that image not to hsow up correctly. What coding should I paste, and where, for that image to be the correct link tot he OTHER4 coding? ALSO, I need to have the pet's colour and species/category underneath the picture, but not linked. The OTHER3 code is where the persons ubmitting the image/pet types the colour. Then, the category name code is the species. So technically if the OTHER3 code is there, next to the category name... that all should show up. But nope! Neither the Other 3 element OR the category/species name is underneath the image anymore. Help? :P |
| |||
| |||