Gossamer Forum
Home : Products : DBMan : Customization :

Searching Image Files

Quote Reply
Searching Image Files
I have a Category which has .gif files in it (a.gif, b.gif, etc.) I want to do a seacrh on a specific .gif. By using a regular expression the records appear as I want them, except the image does not display. This is due to the BOLD mod I have turned on. The readout comes out as:

http://www.mysite.com/images/<B>a.gif</B>

I like the bold feature left on (great for text) except for this catergory. What would I have to do to resolve my problem?

Quote Reply
Re: Searching Image Files In reply to
Before you print out your img tag, add

$rec{'FieldName'} =~ s/<?.B>//g;

substituting the graphic field name within the brackets. Be sure that you use the *exact* field name. These things are case-sensitive.

JPD
Quote Reply
Re: Searching Image Files In reply to
Magic! Thanks...all is well now.

Quote Reply
Re: Searching Image Files In reply to
Cool! Smile

(Sometimes I really hate that bolding option!)


JPD