Stephen,

When you say to drop this "into your project folder" which folder do you
mean? I have

LGH
LGH/config
lgh/customadmin
lgh/includeobj
lgh/packages/
lgh/system
lgh/webskin
lgh/www
        ... and then a bunch of folders under www as well. Which one is my 
"project
folder".

Also, when you say

<con:container label="#stobj.ObjectID#_HeaderImage">

How does that help me use a different image for each page?  How does the
system know which image I need? Where do I go to choose?

-Mark


-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]
Behalf Of Stephen Moretti
Sent: Tuesday, August 29, 2006 11:48 AM
To: [email protected]
Subject: [farcry-dev] Re: Displaying an image as dynamic content


On 29/08/06, Mkruger <[EMAIL PROTECTED]> wrote:
>
> Is there a container type or display template that will allow me to
display
> an image based on a keyword or category?  Ideally I want to be able to do:
>
> <con:container label="some Image"/>
>
> I would simply make the image part of the main content of the page but the
> client wants the breadcrumb trail to be below the image....
>
> See:
>
> What it needs to look like:
> http://lgh.cfwebtools.com/child_textsidebar.htm
>
> What it currently looks like:
>
http://lgh.cfwebtools.com/index.cfm?objectid=31972CEC-9027-F64A-79D07E94F928
> 8FD8
>
> The image to be inserted:
>
http://lgh.cfwebtools.com/index.cfm?objectID=D4610F4F-9027-F64A-795F6144061D
> DDAC
>
>
> Anyone?
>
You have to extend dmImage.  By default Images are not accessible as
content items to add into containers.

Attached is a wee zip file that you drop into your project folder, NOT
the farcry_core, that will extend dmImage to allow this and give you a
couple of default image display methods.

The extension to dmImage is simply to set bSchedule to 1 so that
images become visible to the handpicked rule in the design mode
pop-up.

The displays are simply <img ...> tags.

Just a suggestion, but you might want to use <con:container
label="#stobj.ObjectID#_HeaderImage"> so that you have have a
different image on each page if you so wish.

Hope that helps

Stephen





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