Photo Reuse. Options
dcrug
Posted: Friday, May 09, 2008 4:21:58 PM
Rank: Newbie

Joined: 5/2/2008
Posts: 13
Location: NYC
Is there a way to make it so that I can upload a photo or two to my main page in a header, and use a XSLT and a macro to call that whole section on another page. I got down using the divs. i just don't know how to get the actual file using the @alias and the nodes.
sjors
Posted: Friday, May 09, 2008 5:03:54 PM

Rank: Fanatic

Joined: 7/20/2006
Posts: 401
Location: Amsterdam
dcrug wrote:
Is there a way to make it so that I can upload a photo or two to my main page in a header, and use a XSLT and a macro to call that whole section on another page. I got down using the divs. i just don't know how to get the actual file using the @alias and the nodes.

Yes, put that DIV in a Macro, and include that Macro in your different Templates.
bootnumlock
Posted: Monday, May 12, 2008 4:35:36 AM

Rank: Fanatic

Joined: 10/9/2006
Posts: 319
you could also use that image, if for instance you were using an upload field on that docType on the nodes underneath it by using the recursive property.


<?UMBRACO_GETITEM field="YOURIMAGEUPLOADITEMNAME" recursive="true"/>

bootnumlock - aka bob baty-barr [http://www.baty-barr.com]
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.