On Jan 13, 1:09 am, Jørgen <[EMAIL PROTECTED]> wrote:
> Or like this:
> <cfif IsValid("UUID", stObj.teaserImage)>
>
> <cfset o = CreateObject("component",
> application.stcoapi.dmImage.packagepath) />
> <cfset stImage = o.getData(objectID=#stObj.teaserImage#) />
>
> <cfoutput>
> <img src="#stImage.thumbnailImage#" alt="#stImage.alt#" />
> </cfoutput>
>
> </cfif>
This approach is preferred as "widgets" tag library is deprecated in
4.0 (and removed in 5.0).
You could also create a special view for the image (ie. something that
outputs the HTML you want for an image) and run the "skin:view" tag or
call getView() directly.
-- geoff
http://www.daemon.com.au/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---