I am using images from thumshots.org in my directory, but many of the new sites that are added do not have an images in the thumbshots database. Can anybody tell me how to write some code that will call the thumbshots image as the default, but also give me the option to pull an image from my own server if I need to?
Right now I'm using this code to pull the thumbshots images:
<img src="http://open.thumbshots.org/image.pxf?url=<%if
URL%><%URL%><%endif%>" hspace="10" vspace="0"
border="1">
I have tried adding a field in my database with the thumbshot image URL code as the default entry, but the % and < > signs make it break when it's published. Anybody have an idea for a work around?
Thanks,
Rich
http://www.HawaiianRainbow.com/Maui/
Right now I'm using this code to pull the thumbshots images:
Code:
<img src="http://open.thumbshots.org/image.pxf?url=<%if
URL%><%URL%><%endif%>" hspace="10" vspace="0"
border="1">
I have tried adding a field in my database with the thumbshot image URL code as the default entry, but the % and < > signs make it break when it's published. Anybody have an idea for a work around?
Thanks,
Rich
http://www.HawaiianRainbow.com/Maui/