Gossamer Forum
Home : Products : Gossamer Links : Discussions :

replace the default 'missing image question mark'

Quote Reply
replace the default 'missing image question mark'
Hi, I'd like to replace the default question mark that appears on detailed links that don't have a submitted image. I searched through all the folders and couldn't find it.
Thanks in advance.
Quote Reply
Re: [dlarocque] replace the default 'missing image question mark' In reply to
Hi,

You just need to do it in your templates.

How are you calling the image in detauked.html? Show me that code, and I'll show you how to change it so you can either not show the image full stop, or put an image there (i.e a "no image" placeholder)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] replace the default 'missing image question mark' In reply to
Thanks Andy, the template looks like this...


<img alt="add your logo or image to your listing" src="<%config.db_cgi_url%>/jump.cgi?ID=<%ID%>&v=Image"><p>
Quote Reply
Re: [dlarocque] replace the default 'missing image question mark' In reply to
Try this:

Code:
<%if Image%>
<img alt="add your logo or image to your listing" src="<%config.db_cgi_url%>/jump.cgi?ID=<%ID%>&v=Image"><p>
<%else%>
<%-- no image here, so you can show a "blank" image, or just nothing at all --%>
<%endif%>

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] replace the default 'missing image question mark' In reply to
that works, thanks again.