Support » Plugin: Media Library Assistant » Option to copy an image

  • Resolved argosmedia


    It would be very handy to have an option to copy an image. Sometimes you want to edit and use an image while keeping the original too. Being able to copy a file, rename it and edit and use it would be very handy. In fact, that should be a core function of the media library in my opinion. But you could add it to your plugin maybe.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author David Lingren


    Thank you for following up and starting this support topic!

    I have been thinking about this and I may be able to create an MLA example plugin that uses the hooks built into MLA to add this feature for those who want it. You can find out about the example plugins by navigating to the Settings/Media Library Assistant Documentation tab for more information. If this approach would work for you, let me know and I will investigate further.

    In the interim you can “copy” a Media Library item with a few manual steps:

    1. Navigate to the Media/Assistant admin submenu and find the item you want to copy.
    2. Hover over the left-hand column and click the “Download” action.
    3. Save the file to your local system.
    4. Navigate to the Media/Add New (Upload New Media) submenu and upload the file. You can use the Bulk Edit area on this submenu to add taxonomy terms, etc. to the new item.
    5. Edit the new item as needed.

    I know that is not a substitute for a true copy function, but it’s not too bad for occasional use.

    For a true copy function there are choices that must be made:

    • Should existing taxonomy term assignments be applied to the copy?
    • Should all the MLA mapping rules be run on the copy?
    • Should the copy go in the same year/month directory as the original or in the current year/month directory?
    • Should the date and time be copied from the original or set to the current date/time? What about the “modified” date/time?

    There are probably more questions I have not thought of yet. I welcome any opinions you have on the answers. Thanks again for your review, your interest in the plugin and for your suggestion.

    Plugin Author David Lingren


    I have uploaded a new MLA Development Version dated 20151211 that adds an example plugin for the Copy operation. To get the Development Version, follow the instructions in this earlier topic:

    Shortcode not working in (special) widget

    Once the Development Version is installed, navigate to the Settings/Media library Assistant Documentation tab and click the “Example Plugins” button. Type “copy” in the text box and click “Search Plugins” to filter the table.

    You are looking for “MLA Copy Item Example” plugin. Find that plugin and hover over the title in the left-most column. Click the “Install” rollover action, then go to the WordPress Plugins/Installed Plugins submenu and activate the new plugin as you would any other WordPress plugin.

    The example plugin adds a “Copy” action to the Media/Assistant submenu bulk actions dropdown. Select one or more items by checking the box at the left, then select “Copy” in the dropdown and click apply. You will have an opportunity to select some options for the operation before you confirm the action. You can also pull down the “Help” menu in the upper-right corner of the screen and click the “Copy Item(s)” section to read more about the operation.

    It would be great if you could install the Development Version and the example plugin let me know if they work for you. I welcome any suggestions you have for improving the “Copy” functionality. Thanks for inspiring this MLA improvement.

    • This reply was modified 2 years, 5 months ago by  David Lingren.
    Plugin Author David Lingren


    I have released MLA version 2.41, which includes the new “MLA Copy Item Example” plugin.

    I am marking this topic resolved, but please update this topic if you have any problems.

    Hi David,

    I’m sorry, I somehow managed to not notice your previous replies and versions. I didn’t use the plugin, but now it has the copy function I will 🙂
    Thanks alot, I just tried it out and it works fine!

    Maybe an option to copy a single file right from the image options would be nice too. It would save a couple of mouse clicks if you just want to copy a single image (which I suspect will be the case most of the time).

    Thanks for your dedication to improve the plugin and listen to its users. I’m impressed!

    Plugin Author David Lingren


    Thanks for your update and the good news. Thanks for taking the time to test out the new example plugin.

    I considered a “Quick Copy” option to reduce the clicks. It is a fair amount of extra development and I wanted to make sure the basic copy operation worked before I undertook it. I will add it to my list of future enhancement projects.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Option to copy an image’ is closed to new replies.