Media Library Assistant
[resolved] Mix of images and pdfs in the same catergory (2 posts)

  1. jeynon
    Posted 3 years ago #

    I have come over from Concrete5 and am struggling to find the right plugin. I will have a client that will want a blend of both pdfs and images to appear in a list. I see your example of getting a list of all pdfs out, but how do I get a ul list of one category if it has images? It seems to want to show thumbs. If I do get the thumbs out it seems to wrap in a container for thumbs moving left across the page. Am I missing something simple for the ul output?


  2. David Lingren
    Plugin Author

    Posted 3 years ago #

    You can use the size parameter to change the display. Here's the section from the documentation tab on the Settings page:


    The Size parameter specifies the image size to use for the thumbnail display. Valid values include "thumbnail", "medium", "large", "full" and any additional image size that was registered with add_image_size(). The default value is "thumbnail". You can use "none" or "" to suppress thumbnail display and substitute the item title string for the image/icon.

    The [mla_gallery] shortcode supports an additional Size value, "icon", which shows a 60x60 pixel thumbnail for image items and an appropriate icon for non-image items such as PDF or text files.

    Let me know if I have not understood your question or if you need more information. Thanks for using the plugin!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Media Library Assistant
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic