Is it possible to define the folder where the media picker should select? Example is for our banner images, we want the user to select only the images under the banner folder.
There is no way to do this in the default media picker, other than setting the user's start node.
But, the Multi Node Tree Picker supports a Start Node if that suits your needs.
Otherwise, Digibiz Advanced Media Picker has added a Start Node setting also, and has some other cool features as well. But this was added since the initial realease so you'll need to download and build the source from Codeplex if you want these features. There are still a few bugs with Media Type restrictions but for the most part it's stable.
I meant that if you download the package from the Project Page, the Start Node feature won't be there - it was added after the first release and hasn't been released and packaged yet.
But actually, nevermind! I was confused, that feature is there in the packaged version :) So go for it! So many new features have been added I lost track of what was there initially.
If you set the storage type to "ID", you don't need to change your XSLT.
If you set it to Full Media XML, you do need to change your XSLT, but the benefit is you no longer need to use GetMedia calls, you can reference the image properties directly from your field (ie $currentPage/myField/DAMP/mediaItem/Image/umbracoFile instead of umbraco.library:GetMedia($currentPage/myField,false()/umbracoFile )
One warning - if you replace your existing media picker fields with DAMP, you will need to re-pick all your media on the content pages (regardless if using ID or Full Media XML). DAMP uses a different DB storage type so your existing media selections won't come over.
specific folder to select when using media picker
Hi,
Is it possible to define the folder where the media picker should select? Example is for our banner images, we want the user to select only the images under the banner folder.
Thanks
Sherry
Hi Sherry,
There is no way to do this in the default media picker, other than setting the user's start node.
But, the Multi Node Tree Picker supports a Start Node if that suits your needs.
Otherwise, Digibiz Advanced Media Picker has added a Start Node setting also, and has some other cool features as well. But this was added since the initial realease so you'll need to download and build the source from Codeplex if you want these features. There are still a few bugs with Media Type restrictions but for the most part it's stable.
-Tom
Hi Tom,
What do you mean by "But this was added since the initial realease". Because I look at it and it doesn't say that it remove that features.
Using this, do I need to change how I reference the media in my xslt?
Hi Sherry,
I meant that if you download the package from the Project Page, the Start Node feature won't be there - it was added after the first release and hasn't been released and packaged yet.
But actually, nevermind! I was confused, that feature is there in the packaged version :) So go for it! So many new features have been added I lost track of what was there initially.
-Tom
Follow up question, do I need to change on how I reference the media in my xslt?
If you set the storage type to "ID", you don't need to change your XSLT.
If you set it to Full Media XML, you do need to change your XSLT, but the benefit is you no longer need to use GetMedia calls, you can reference the image properties directly from your field (ie $currentPage/myField/DAMP/mediaItem/Image/umbracoFile instead of umbraco.library:GetMedia($currentPage/myField,false()/umbracoFile )
One warning - if you replace your existing media picker fields with DAMP, you will need to re-pick all your media on the content pages (regardless if using ID or Full Media XML). DAMP uses a different DB storage type so your existing media selections won't come over.
-Tom
Does it mean it will be much faster as it won't be using the GetMedia? Or there won't be any difference with the performance?
is working on a reply...