Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Links::Utils::image_url - hardcoded?

Quote Reply
Links::Utils::image_url - hardcoded?
<img src="<%Links::Utils::image_url("stars-10-${intRating}.gif")%>

Im trying to figure out - how do I change this to allow a hardcoded image url?

~ ERASER


Free JavaScripts @ Insight Eye
Quote Reply
Re: [Eraser] Links::Utils::image_url - hardcoded? In reply to
Quote:
<img src="<%Links::Utils::image_url("stars-10-${intRating}.gif")%>

img src="http://yourimageURL/stars-10-<%intRating%>.gif" />
Quote Reply
Re: [Alba] Links::Utils::image_url - hardcoded? In reply to
Wow, many thanks.

Should have been easy for me to spot, but was the curly brackets that created the confusion.

Thanks again!

~ ERASER


Free JavaScripts @ Insight Eye