PDA

View Full Version : Image on a new template


Snowfox
09-02-2008, 02:15 PM
I have a quick question, I'm not a programmer...I know pretty basic stuff in a dash of everything. But I'm more of a designer. I have a template and a space for my photo. Now I have a question. What code and in what file would I need to add to my template code to have the image updated on the homepage/next/previous/etc. I know the comments I can do in a pop-up so I'm not too worried about that.

Would it be this part:


<a href="index.php?showimage=<IMAGE_PREVIOUS_ID>">
<img src="images/<IMAGE_NAME>" alt="<IMAGE_TITLE>" title="<IMAGE_TITLE>" width="<IMAGE_WIDTH>" height="<IMAGE_HEIGHT>" id="photo" />
</a>

<div id="image-navigate">
<span class="image-previous"><IMAGE_PREVIOUS_LINK></span>
<span class="image-next"><IMAGE_NEXT_LINK></span>
</div>

?

Any help appreciated, thanks.

Dennis
09-02-2008, 04:33 PM
http://www.pixelpost.org/docs/TemplateTags/ImageRelatedTags

It would be the image_template.html file.