Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-08-02 08:08:29

jauhari
Member
Registered: 2007-05-24
Posts: 97
Website

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

#2 2007-08-02 08:12:41

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Need Help with upm_image

a.right img { your CSS code here }

Offline

#3 2007-08-03 03:36:31

jauhari
Member
Registered: 2007-05-24
Posts: 97
Website

Re: Need Help with upm_image

Done with perfect, thanks

Offline

Board footer

Powered by FluxBB