Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Need Help with upm_image
Hi All
I try to use upm_image with this code
<txp:upm_image type="popup" image_id="23" class="right" />
and the output when I tested on my site become like this.
<a href="http://www.kotaaraya.com/i/23.jpg" class="right" onclick="upm_pop_img(this.href, '945', '1087', 'Brosur lepas 08.jpg', this.title); return false;"><img src="http://www.kotaaraya.com/i/23t.jpg" width="180" height="207" alt="Green Wood Type 65/144" title="" /></a>
But that I want is not that out put, but I wan the output become like this
<a href="http://www.kotaaraya.com/i/23.jpg" onclick="upm_pop_img(this.href, '945', '1087', 'Brosur lepas 08.jpg', this.title); return false;"><img class="right" src="http://www.kotaaraya.com/i/23t.jpg" width="180" height="207" alt="Green Wood Type 65/144" title="" /></a>
How to do that? so that I want is add class on my img properties not in a href properties
Please help how to do that
Thanks
Offline
Re: Need Help with upm_image
a.right img { your CSS code here }
Offline
Offline
Pages: 1