I think you will have to go through stObj.aObjectIDs (array of object IDs) looking for the dmImage type. then find the title/label you are after.

On 2/17/06, Steve Clason <[EMAIL PROTECTED]> wrote:

Hi Folks,

This seems dumb, but I can't figure out how to display an image in the
body of a dmNews item after uploading it via the admin screens.

I found this in the archives for displaying the news teaser image:

<cfif len(trim(stObj.TEASERIMAGE))>
   <cfimport taglib="/farcry/fourq/tags/" prefix="q4">
   <q4:contentobjectget objectid="#stObj.TEASERIMAGE#"
r_stobject="stImages">
   <img src="" align="right"
alt="#stObj.label#">
</cfif>

This works just dandy, but after fiddling a lot I can't figure out the
hook for news body images.

This is an older installation:
FarCry: b211
FourQ: b121

I'd appreciate any help.
--
Steve Clason
Web Design & Development
Boulder, Colorado, USA


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to