Copied to clipboard

Flag this post as spam?

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

  • Frost 70 posts 99 karma points
    Mar 05, 2012 @ 20:05

    Create Media Item - Automatically Select Media Location?

    Is it possible to have the parent folder automatically selected rather than having the user click it for every image?

  • Jeroen Breuer 4902 posts 12234 karma points MVP 3x admin c-trib
    Mar 06, 2012 @ 09:17
    Jeroen Breuer

    I've created a little script which does this if you want to select a media item. I think it should also be possible to do this when creating media. You can download the source and add this yourself: At the bottom is this code:

            if (!isCreateTree) {
                //Wait for 100 miliseconds because the Umbraco tree might not be loaded yet.
                    function () {
                        //Find the top node and click it to show the allowed media items of the top node in the centre.
                    }, 100);

    If you remove the if statement it might work already.


Please Sign in or register to post replies

Write your reply to: