It would be better to use the skin:view tag here. 1. <cfimport taglib="/farcry/core/tags/webskin" prefix="skin" /> 2. Create template(s) in your webskin/dmImage folder, ie. displayTeaserImage.cfm 3. <skin:view objectID="#stObj.teaserImage#" template="displayTeaserImage" />
Jørgen~ Den 26. nov.. 2008 kl. 13.51 skrev Sean Coyne: > > its deprecated, but you can use the widgets tag library's imageDisplay > tag: > > <cfimport taglib="/farcry/core/tags/widgets" prefix="widgets"> > <widgets:imageDisplay objectid="#stObj.objectid#" > imageSize="original"> > > On Nov 25, 8:19 pm, Marco van den Oever <[EMAIL PROTECTED]> > wrote: >> Anyone got a FC 5 working code example to display a related content >> image or teaser image, or reference to info? >> >> On Nov 25, 9:24 pm, Marco van den Oever <[EMAIL PROTECTED]> >> wrote: >> >>> Hi, did you find any solution, i am now on 5.0.2 but can't really >>> get >>> it to work also.... >> >>> On Nov 11, 11:43 pm, Helen <[EMAIL PROTECTED]> wrote: >> >>>> I know what you mean, I have stumbled accross other things in >>>> farcry >>>> that has really helped my understanding while trying to resolve >>>> something else.. So I agree "..spending ages.." is definately not >>>> time wasted! >> >>>> On Nov 12, 8:13 am, Marco van den Oever >>>> <[EMAIL PROTECTED]> >>>> wrote: >> >>>>> Oh i know for sure, one big advantage of this 'spending ages' is >>>>> that >>>>> 'on the road' i always learn and see all kinds of stuff that >>>>> come in >>>>> handy later on :) For now i gonna update a earlier made plugin >>>>> that >>>>> wasn't really using the framework yet, after that i 'join in' on >>>>> skinning etc. >> >>>>> Maybe, hopefully, someone else can help you meanwhile. >> >>>>> On Nov 11, 10:03 pm, Helen <[EMAIL PROTECTED]> wrote: >> >>>>>> Thanks anyway Marco for your reply >> >>>>>> I just realised that one of my errors was #stobj.teaserImage# >>>>>> which >>>>>> does not exist in the dmImage table, I changed it to >>>>>> #stobj.SourceImage# but am still no further ahead... I am sure >>>>>> I have >>>>>> just missed something simple, you know the way it goes, >>>>>> spending ages >>>>>> just to find you've done the silliest thing.. >> >>>>>> On Nov 12, 7:49 am, Marco van den Oever >>>>>> <[EMAIL PROTECTED]> >>>>>> wrote: >> >>>>>>> Wish i could help you Helen, not into the skinning yet so >>>>>>> can't relate >>>>>>> right now... >> >>>>>>> On Nov 11, 7:26 am, Helen <[EMAIL PROTECTED]> wrote: >> >>>>>>>> Hi >> >>>>>>>> I have just read Steve's post on including images in the >>>>>>>> handpicked >>>>>>>> rule for farcry >>>>>>>> 4http://nil.checksite.co.uk/post.cfm/displaying-images-in-containers-i >>>>>>>> ...... >>>>>>>> I am now building a site in version 5 and I am trying to >>>>>>>> include >>>>>>>> images in the handpicked rule, I've done the following to >>>>>>>> display the >>>>>>>> images (but it's not working) and desperately need some >>>>>>>> help.. pretty >>>>>>>> please :) >> >>>>>>>> I have dropped into my projects webskin folder a folder called >>>>>>>> dmImage, which has a file called displayTeaserImage.cfm with >>>>>>>> the >>>>>>>> following code: >> >>>>>>>> <cfsetting enablecfoutputonly="true" /> >>>>>>>> <!--- @@displayname: Display Image ---> >> >>>>>>>> <skin:buildLink objectID="#stobj.objectid#"> >>>>>>>> <skin:view >>>>>>>> objectid="#stobj.teaserImage#" typename="dmImage" >>>>>>>> template="displaySourceImage" /> >>>>>>>> </skin:buildLink> >> >>>>>>>> <cfsetting enablecfoutputonly="false" /> >> >>>>>>>> I thought I would be able to use <skin:buildLink ... for >>>>>>>> this? I >>>>>>>> realise this is probably a silly question, but I am not a >>>>>>>> code "heavy" >>>>>>>> so be gentle on me.. >> >>>>>>>> Warm Regards >>>>>>>> Helen > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
