Title: Dimensions
Last modified: May 30, 2017

---

# Dimensions

 *  Resolved [schoaf](https://wordpress.org/support/users/schoaf/)
 * (@schoaf)
 * [9 years ago](https://wordpress.org/support/topic/dimensions-3/)
 * Can this plugin be configured to show and sort by media dimensions (w/a) in the
   media gallery?
 * thank you for your time

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [David Lingren](https://wordpress.org/support/users/dglingren/)
 * (@dglingren)
 * [9 years ago](https://wordpress.org/support/topic/dimensions-3/#post-9184090)
 * Thanks for your question.
 * If you navigate to the “Field-level substitution parameters/Field-level data 
   sources” section of the Settings/Media library Assistant Documentation tab you
   will find many values you can add to your `[mla_gallery]` display. For your application,
   dimensions, height, width, pixels and orientation would be of interest.
 * Displaying the values can be done by adding them to the caption, e.g., adding`
   mla_caption="{+dimensions+}"` as a shortcode parameter or defining a custom markup
   template that includes them.
 * Sorting is a bit more involved, since the values are not available in the database
   when the query is done to select items for the gallery. You can define a Custom
   Field mapping rule and populate the field with the value(s) you want. Once that’s
   done you can query and/or sort your `[mla_gallery]` display on the custom field
   value. The “MLA Gallery Shortcode/Order, Orderby” section of the Documentation
   has more information.
 * I am on the road, so this is a quick answer. If you need more specific guidance
   regarding the above suggestions, post an update her and I will follow up when
   I return home. Thanks for your interest in the plugin.
 *  Plugin Author [David Lingren](https://wordpress.org/support/users/dglingren/)
 * (@dglingren)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/dimensions-3/#post-9344884)
 * It has been seven weeks since my last post in this topic> I hope the suggestions
   I gave were helpful and you have found a solution that works for your application.
 * I am marking this topic resolved, but please update it if I can give you any 
   additional help. Thanks for your interest in the plugin.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Dimensions’ is closed to new replies.

 * ![](https://ps.w.org/media-library-assistant/assets/icon-256x256.png?rev=973502)
 * [Media Library Assistant](https://wordpress.org/plugins/media-library-assistant/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/media-library-assistant/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/media-library-assistant/)
 * [Active Topics](https://wordpress.org/support/plugin/media-library-assistant/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/media-library-assistant/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/media-library-assistant/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [David Lingren](https://wordpress.org/support/users/dglingren/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/dimensions-3/#post-9344884)
 * Status: resolved