I think what you're after is:

oImage = createobject("component","farcry.farcry_core.package.types.dmImage
");
imagePath = getURLImagePath(stObj.ImageID,"thumb|original|optimised");

Regards

Stephen


On 11/01/07, Steve Clason <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> I think this is a bonehead question, but...
>
> In upgrading a client to v. 3.0.1 from 2.? we lost the display of the
> teaser image in the dmFact content type.
>
> I see that the structure for the content object now includes the UUID of
> the teaser image instead of the path to the image, but I can't for the
> life of me figure out how to get the image path from the UUID, and I
> can't find an example anywhere.
>
> So, I need something like <img src="#getPathToImage(stObj.imageId)#">
>
> Can anyone lend a guy a hand?
> --
> Steve Clason
> Boulder, Colorado, USA
> (303) 818-8590
>
> >
>


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

Reply via email to