Is it possible to copy media nodes? As there are now things like the Pixlr extension that allow you to edit an image in the media library, I'd quite like to allow my users to copy media nodes. I tried adding the copy action to media items, and you get the node copier popup, and it says its copied the node, but it hasn't, as nothing shows up in the tree in the folder I asked it to copy to.
Has anyone managed to achieve this? Another way that I'm thinking of it to inject an extra button into the ribbon strip at the top of the page and have that call the code to create a copy, and use the speech bubble to tell them it's copied. Before I go feral on this though, I'd like to know if anyone has done this, or knows of a better way of doing this!
In case anyone is interested, I've actually figured out how to do this. I tried adding the default copy action, but that copied the item accross as a document rather than a media item (and it didn't copy the file).
What I ended up doing was adding a button to the editmedia.aspx page if the user is editing an image, using an event listener. I then coded a custom copy modal, based on the one from the core, but rewritten for copying media items rather than content items and document types. As part of the copy, it takes accross all the associated images and renames them as well. It's only in very rough and ready beta form at the moment, but if anyone out there is interested, I'll package it up and make it available in the projects section.
Hi @wilber, I haven't released this a s a package yet, but I've had a few people ask about this recently, so I'm going to try and package this up over the weekend!
@Tim - thanks - we have actually found it already :-)
We're tweaking your packaage slightly though to allow a user to copy a Media item node + it's sub-folders + any media files across to any other node. Hope you don't mind but that is the requirement we've got at the moment :-)
Not at all! If you want, I can roll your changes into the package when you're done? It's something I've been meaning to do for a while, but not had time to do!
Ok, no problem - happy for you to do that. I'm also going to add it as a package for Umbraco users to download via our website www.bluegrassdigital.com > we're starting a free Umbraco resource downloads section :-)
Hi Bluegrass Digital, the link is now broken. Do you still have a copy of this package? I’m using 4.11.10 for an old client site so need a quick media copy feature. Regards, Robert
I only noticed now that there is a copy button on the right panel.
@Bluegrass, the changes that you made to AttackMonkey Media Copy are not available as an Umbraco package and do not have an associated license. Does the AttackMonkey Media Copy license apply to your files?
@Tim, that would be great, thanks. Could you post a reply with the link to the source on codeplex here? Then I will know it's available.
I assume then I just need to replace the moveOrCopy.aspx page and moveOrCopy.aspx.cs class files with Bluegrass Digital's updated versions, compile the AttackMonkey.MediaCopy.dll, and replace the dll and aspx page in the Umbraco instance.
I'd appreciate it if you could let me know if I've missed anything.
Copying Media Nodes
Hi,
Is it possible to copy media nodes? As there are now things like the Pixlr extension that allow you to edit an image in the media library, I'd quite like to allow my users to copy media nodes. I tried adding the copy action to media items, and you get the node copier popup, and it says its copied the node, but it hasn't, as nothing shows up in the tree in the folder I asked it to copy to.
Has anyone managed to achieve this? Another way that I'm thinking of it to inject an extra button into the ribbon strip at the top of the page and have that call the code to create a copy, and use the speech bubble to tell them it's copied. Before I go feral on this though, I'd like to know if anyone has done this, or knows of a better way of doing this!
In case anyone is interested, I've actually figured out how to do this. I tried adding the default copy action, but that copied the item accross as a document rather than a media item (and it didn't copy the file).
What I ended up doing was adding a button to the editmedia.aspx page if the user is editing an image, using an event listener. I then coded a custom copy modal, based on the one from the core, but rewritten for copying media items rather than content items and document types. As part of the copy, it takes accross all the associated images and renames them as well. It's only in very rough and ready beta form at the moment, but if anyone out there is interested, I'll package it up and make it available in the projects section.
Exactly what I was looking for. Would be useful.
hi Tim, what's the package name you built? thanks!
Hi @wilber, I haven't released this a s a package yet, but I've had a few people ask about this recently, so I'm going to try and package this up over the weekend!
:)
Hi @Tim,
Have you managed to create the packagae yet? Sorely need this functionality for our clients projects!! :-)
Cheers
Mark
@Mark, yup, its on the package repo: http://our.umbraco.org/projects/backoffice-extensions/attackmonkey-media-copy enjoy!
:)
@Tim - thanks - we have actually found it already :-)
We're tweaking your packaage slightly though to allow a user to copy a Media item node + it's sub-folders + any media files across to any other node. Hope you don't mind but that is the requirement we've got at the moment :-)
Cheers
Mark
Not at all! If you want, I can roll your changes into the package when you're done? It's something I've been meaning to do for a while, but not had time to do!
:)
Ok, no problem - happy for you to do that. I'm also going to add it as a package for Umbraco users to download via our website www.bluegrassdigital.com > we're starting a free Umbraco resource downloads section :-)
Download the unpackaged code here
Hi Bluegrass Digital, the link is now broken. Do you still have a copy of this package? I’m using 4.11.10 for an old client site so need a quick media copy feature. Regards, Robert
Hi,
Does the AttackMonkey Media Copy or the modified version from Bluegrass Digital work in Umbraco 4.6.1 or 4.7.1?
@Miquel, it should do, I don't think it uses any methods that were changed in 4.6.......
@Miquel, yes we are using it with 4.7.1 without any problems.
Did you install them through the normal package installation process? Or do I need to do anything else?
I suppose that this pakage enables the copy option when I right click on a media folder, right?
Sorry,
I only noticed now that there is a copy button on the right panel.
@Bluegrass, the changes that you made to AttackMonkey Media Copy are not available as an Umbraco package and do not have an associated license. Does the AttackMonkey Media Copy license apply to your files?
@Miquel, yes we haven't gotten round to packaging it yet, so please use the AttackMonkey license :-)
Hi,
Did any of you have problems with the rendering of the copy pop-up in Internet explorer or in Chrome?
Not the we experienced. Worked fine for us back then - maybe something has changed...
Hi
Really need this with the ability to copy subfolders and files. Would do it myself but no time. Has anyone done this yet?
Much appreciated.
Can Tim or Bluegrass provide the source code to this? I'd like to compile the Bluegrass version of the DLL so that I can copy child nodes
@Mark, if you can wait until the weekend, I can stick the source for the original up on Codeplex?
@Tim, that would be great, thanks. Could you post a reply with the link to the source on codeplex here? Then I will know it's available.
I assume then I just need to replace the moveOrCopy.aspx page and moveOrCopy.aspx.cs class files with Bluegrass Digital's updated versions, compile the AttackMonkey.MediaCopy.dll, and replace the dll and aspx page in the Umbraco instance.
I'd appreciate it if you could let me know if I've missed anything.
Hey Tim. Did you get a chance to upload this yet? I've got a customer who's jumping up and down for media copying.
Hi Mark/Tim, just wondering if the version of the copy package that allows child node copying has been posted yet and under what name?
Did anyone try (and succeeded in) enabling this or something similar on umbraco 7.0+?
I'm wondering if there's any ready solutions for this, attack monkey doesn't seems to work
Hi Avi, I don't know of a version for v7. The two packages mentioned here are for v4/6 and won't work on 7 sadly.
is working on a reply...