Support » Plugin: Media Library Assistant » Attachment Specific File Size Paremeter For Markup

  • Resolved uamv


    i’ve been searching high and low for a versatile media manager and love the options available here. Am i missing documentation on this or is there currently no way to list file size in a gallery? If it’s not currently there, can this be added as an option? Users often like to know this before downloading files. If it’s there, can you direct me? Thanks for your continued work on this project!

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


    Thanks for the kind words and for this question. File size is not currently available, becuase it’s not stored in the WordPress database and requires accessing the file system to obtain.

    The next version (1.1) will have a new “Custom Fields” tab on the Settings page for mapping lots of file/image metadata fields to WordPress custom fields. Once the data is in a custom field you can use the Field-level Markup Substitution Parameters feature to add it to your [mla_gallery] shortcodes. For example, you could code:

    mla_caption="{+file+} : {+custom:File Size+}"

    and see captions like “MyImage.jpg : 123,456” in the gallery.

    I hope that will help you achieve your objective. Thanks again for using the plugin!



    David, thanks for your prompt response! Look forward to this functionality … seems like it’ll work just great. Glad you had it in the works.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Attachment Specific File Size Paremeter For Markup’ is closed to new replies.