Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Matt Taylor 873 posts 2086 karma points
    Jan 12, 2011 @ 13:26
    Matt Taylor
    0

    Thumbnail XSLT macro templates

    Now that I'm working with 4.5 I've seen a coupe of new XSLT macro templates relating to thumbnails.

    • List sub pages as thumbnails
    • List thumbnails from current page

    I've had a quick look/play but I'm no guru in XSLT.

    Could someone briefly explain what the idea is behind these templates?
    Where for example do the thumbnails come from?

    Thanks,

    Matt

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Jan 12, 2011 @ 19:45
    Jan Skovgaard
    0

    Hi Matt

    from the top of my head I think that...

    "list sub pages as thumbnails" loops through all subpages under there currentnode and displays the image that they may contation.

    And the "list thumbnails from current page" is probably listing image thumbnials selected on the current node itself. Not the subpages. Either if you for instance have created multiple image properties on the document type or (which is probably more likely) that you have used a media picker to select an image folder in the media section, which will then be displayed using this rendering.

    For any of the XSLT's to work it of course requires that you have set some properties that you can reference in the XSLT files.

    I hope the above makes sense - otherwise don't hesistate to ask again :-)

    /Jan

  • Matt Taylor 873 posts 2086 karma points
    Jan 13, 2011 @ 13:17
    Matt Taylor
    0

    Yes, it was the bit about the image itself that confused me.

    Like you say I guessed a property would perhaps have to be created of probably type media picker but I couldn't figure out the specifics.
    Would it have to be a specific alias, what if you picked a pdf file and not an image?

    All will become clear one day I expect. maybe there's a video on it.

    Thanks.

Please Sign in or register to post replies

Write your reply to:

Draft