WordPress.org

Ready to get started?Download WordPress

Forums

Media Library Assistant
[resolved] Attachment Specific File Size Paremeter For Markup (3 posts)

  1. UaMV
    Member
    Posted 1 year ago #

    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!

    http://wordpress.org/extend/plugins/media-library-assistant/

  2. David Lingren
    Member
    Plugin Author

    Posted 1 year ago #

    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!

  3. UaMV
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic