Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-07-26 03:35:02

Phlip
Member
Registered: 2005-03-10
Posts: 36

change image tag

I’m trying to make image thumbnails be rendered with single quotes instead of double quotes. like img src=‘filenam.jpg’ instead of “filename.jpg”. I know its probably not valid code, but the double quotes are interfering with some tooltip javascript where I’m putting the image’s thumbnail in the tooltip hover. I tried hacking around with the ‘txp image’ include file. didn’t seem to have any effect. Any help is much appreciated.

Phlip

Offline

#2 2007-07-26 06:00:47

nardo
Member
From: tuvalahiti
Registered: 2004-04-22
Posts: 743

Re: change image tag

try upm_image

it has a form attribute – and you can use whatever markup you like in the form

may help

Offline

#3 2007-07-26 07:06:21

Phlip
Member
Registered: 2005-03-10
Posts: 36

Re: change image tag

Wow that works. Sweet plugin. Thank you, Sir.

Offline

Board footer

Powered by FluxBB