Support » Plugin: Media Library Assistant » Mapping file name

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


    I’m not sure that file name is in the IPTC list. It might be in the EXIF data.

    I think the best way to get what you want is to use the Content Template feature in the EXIF text area. You can use any of the data source values there, and several of them give you access to parts of the file name.

    Have a look at the EXIF Mapping and Content Template sections in the Settings/Media Library Assistant Documentation tab. Let me know if that helps.

    I can give you more specific help when I return home and have access to my development system on May 17. Thanks for your patience while I’m on the road.

    Plugin Author David Lingren


    Thanks for your patience while I was traveling.

    As I said in my earlier post, I don’t think “File Name” exists in the IPTC fields, and I doubt it can be found in the EXIF fields either. IPTC/EXIF metadata is about the image, and the file name can be changed in many ways that don’t affect the image itself.

    You can go to the Settings/Media Library Assistant IPTC/EXIF tab and define a rule that maps path and/or file names to the Caption field. Here is an example of how to do that:

    1. Go to the Settings/Media Library Assistant IPTC/EXIF tab.
    2. Make sure the “Enable IPTC/EXIF Mapping when adding new media” box is checked.
    3. Scroll down to the “Standard field mapping” section and find the “Caption” entry.
    4. Leave the “IPTC Value” list set to the default “None (select a value)” setting.
    5. Enter “template:([+file_name+])” in the EXIF/Template Value field. This content template gives you access to any of the “Data sources for custom field mapping” you see listed in the Documentation tab. You can also try “[+base_file+]”, “[+name_only+]”, “[+path+]” or “[+extension+]”.
    6. Set the Priority dropdown to “EXIF”.
    7. Set the Existing Text dropdown to “Keep”, unless you want to wipe out any Caption values you’ve assigned earlier.
    8. Scroll down to the bottom of the page and click “Save Changes” to save your rule.

    If you’re brave and confident you can click “Map All Attachments, Standard Fields Now” to go through your Media Library and run the rule against all of the images at one shot. If you want to test your work first, you can go to the Media/Assistant submenu table and click the “Edit” rollover action for an image you know has keywords. Click the “Map IPTC/EXIF Metadata” link in the upper right “Save” area of the screen, then look down at the Caption meta box and see if your value is correct. Once you’ve got your rule working you can update individual images, use the Bulk Edit area to update groups of images or use the Map All Attachments, Standard Fields Now button to process all of your images.

    I hope that gets you started. If the data sources I’ve suggested are not what you want, give me more details and make one or more of your images available so I can be more specific. I will leave this topic unresolved until you let me know you’re getting the results you need.

    Thanks for the question and your interest in the plugin.

    Plugin Author David Lingren


    It has been two months since my last post and I have not heard anything further from you. I assume you have found a solution to your File Name mapping question.

    I am marking this topic resolved, but please let me know if I can give you any further help with this topic. Thanks for your interest in the plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Mapping file name’ is closed to new replies.