Media Library Assistant
[resolved] Bulk rename: field parent_title to title or alt text (4 posts)

  1. Stefan_Hartmann
    Posted 2 years ago #

    Hi David, actually I am very happy with your plug in.

    But trying for 8 hours now, I could not solve one problem:

    I need to batch rename my pictures in the media library, to transfer the <parent_title> to the Alt Text or Title.

    I tried Content Templates and already produced a custom field called <hp_parent> (which worked fine), but it is impossible for me to transfer it to the main Title or Alt Text of the pictures.

    I think i just don't understand how to use your template value expression.

    Do you know a solution?
    It is very important for me due to SEO reasons of our local marketplace http://www.hartmann-marktplatz.de

    Thanks in advance!!!



  2. Stefan_Hartmann
    Posted 2 years ago #

    Thanks to Davids post in an other area of this forum, it tried to use the Custom Template Value:

    Result: (UNUSED)

    Why unused?

    Anyway, if a generate a new Custom field e.g. called <hp_parent> based on the Data Source "parent_title" it works fine and <hp_parent> contains the right parent_title.

    How can I embed <hp_parent> in the Custom Template Value-expression?

    This would be the solution for me.

  3. Stefan_Hartmann
    Posted 2 years ago #

    I found the solution on my own:

    The following expression


    is the final way!

    What a great PlugIn...

    Thanks,David, please keep on updating it from time to time!

    *** please close this threat ***

  4. David Lingren
    Plugin Author

    Posted 2 years ago #

    Thanks for the good words, for your question and for the time you took to develop a solution and post your progress to this topic.

    As you found, adding a Content Template to the EXIF/Template Value field in the Standard field mapping rules is a good technique. The custom field approach will work, but I did some experimenting and found a somewhat simpler alternative.

    You can code template:([+parent_title+]) and get the same result without creating a custom field.

    Along the way I discovered that the Settings/Media Library Assistant Documentation tab contains an error; the "parent_name" data source should be "parent_title". I will fix that in my next version, and I regret any trouble the error caused you in your development.

    I will mark this topic resolved. Thanks again for your interest in the plugin and for helping me correct the Documentation.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Media Library Assistant
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic