• Resolved schoaf

    (@schoaf)


    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

    (@dglingren)

    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

    (@dglingren)

    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.