Copied to clipboard

Flag this post as spam?

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


  • Madde 6 posts 26 karma points
    Mar 14, 2012 @ 13:58
    Madde
    0

    Display images in specific folder

    Hello

    I have muliple places (divs. lists , etc) on my webiste i want to place images uploaded from Digibiz Advanced Media Picker 2.0.

    They are uploaded in separate folders så images placed in a "DIV A" is uploaded in one folder and images uploaded in another folder belongs to "DIV B".

    Now it's like this and it's posting images from all folders:

    <xsl:for-each select="$currentPage//mediaItem/Image">
        <li>
         <img src="{umbracoFile}" alt="bild"/>
        </li>
      </xsl:for-each>

    How do i post from only one of the folders?
    Is there an easy way to do this? anyone width examples?

    Thank you.

  • Jeroen Breuer 4909 posts 12266 karma points MVP 5x admin c-trib
    Mar 14, 2012 @ 14:08
    Jeroen Breuer
    0

    Did you select folders or images in DAMP? That xslt example simply shows all the images that are selected so if you only select images from 1 folder those are displayed.

    Jeroen

  • Madde 6 posts 26 karma points
    Mar 14, 2012 @ 15:10
    Madde
    0

    What do you mean by select?

    Im new to this plugin, im new to umbraco to

  • Jeroen Breuer 4909 posts 12266 karma points MVP 5x admin c-trib
    Mar 14, 2012 @ 15:11
    Jeroen Breuer
    0

    DAMP is a media picker. After you created media you need to select it. You can than display the selected images using your xslt example.

    Jeroen

  • Madde 6 posts 26 karma points
    Mar 14, 2012 @ 16:04
    Madde
    0

    I have two instances of damp in one page that picks from separate folders but my code example picks all of the images.

    So in div 1 it's images picked in instance one om DAMP and in div 2 it's pick images from instance 2 of DAMP

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies