
Jake
Staff
/ Moderator

Dec 18, 2007, 2:54 PM
Post #12 of 16
(39717 views)
Shortcut
|
|
Re: [john@pascoe.net] image class
[In reply to]
|
Can't Post
|
|
Hi John, Let me break down the structure of this tag a bit. Here's a regular image tag, with nothing special going on:
<img src="yourimage.gif" alt="Your Image"> Say you wanted to add a class to it, so that your stylesheet could control the appearance of this image. You would change it like this (note that the 'right' class must be set up in your stylesheet or else it won't do anything at all):
<img src="yourimage.gif" alt="Your Image" class="right"> Now, to use Page Publisher to update this image when you need to, add its code around that image tag so that it looks like this:
<!-- publish type="image_select" allowupload="yes" uploaddir="/community/images" allowremove="yes" name="Photo middle page" --><img src="yourimage.gif" alt="Your Image" class="right"><!-- /publish --> I hope this makes more sense John - try giving that a shot. ----------------------------------------------------------- Cheers, Jake Marvin - Product Specialist support@interactivetools.com [hr][i][url "http://www.interactivetools.com/consulting/"][b]Hire me![/b][/url] Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with [url "http://www.interactivetools.com/consulting/"][b]Priority Consulting[/b][/url].[/i]
|