Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter pablo1020

    (@pablo1020)

    I got this resolved.
    I was trying to implement this in Custom Fields tab instead of IPTC & EXIF.
    But is there an option to strip the caption to the filename’s last few letters?

    Plugin Author David Lingren

    (@dglingren)

    Thanks for your questions and for the effort your put into working through the IPTC/EXIF and Custom Field mapping, which can be confusing at first.

    Your second question asks “is there an option to strip the caption to the filename’s last few letters?” The answer is “yes” and you can find this and other options in the “Field-level option/format values” section on the Settings/Media Library Assistant Documentation tab. The “substr” option will handle your immediate needs.

    I assume you have added something like template:[+file_name+] to the EXIF/Template textbox in your Caption mapping rule. You can change that to template:[+file_name,substr(-4)+] to get the last four characters of the file name, e.g., “.jpg”.

    I am marking this topic resolved, but please update it if you have problems or further questions regarding option/format values, Content Templates or Caption field mapping rules. Thanks for your interest in the plugin.

    Thread Starter pablo1020

    (@pablo1020)

    Thanks David, Resolved!

    Hi David,
    I’m interested in exactly the same feature asked by pablo in his original post. How can I automatically fill the Caption field of my media items with the file name upon upload/Add new?
    The MLA settings tabs are so complicated that I would be very grateful if you would give here a step-by-step description of the procedure to achieve this result.
    Thanks in advance!

    It’s me again, David. I had not carefully read the example you gave to Pablo. I got it to work now. Sorry!
    Thanks for a great plugin!

    Plugin Author David Lingren

    (@dglingren)

    @papijo,

    Thanks for your question and the update with the good news that you worked out the solution you needed. If you have any problems or further questions on the mapping tabs, post an update here or start a new topic and I will give you whatever help I can. Thanks for the kind words and your interest in the plugin.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to fill in Caption Field on import?’ is closed to new replies.