ic ImagesGallery bwe-Query MEDIA

Query Media

Discover the new e-addons Query Media!

Build galleries from WP-Query Attachment and Media Library, view lists of RASTER, PDF, DOC files and all available mime-types.

e-addons query media
Create your own Media Gallery in a creative and simple way


Media attachment Image

Link & Lightbox

Link to Media File

  • Open the image with Lightbox
  • or open media image

Link to Attachment Page

Image Options

Image Size
The size of the cropped image.

Image Ratio
The width ratio that transforms the container.

Image Width
Custom width.

Background image 
Turn the image into a background to stretch it over the container. Alternatively change its height.

An overlay element based on color or another image, very interesting if you use a graphic design.

media query imageAttachment imageOpt 1



3 different ways to manage the Media Library query

Manage image galleries from posts and more over.

Specific attachments

Media Library

Custom field Gallery

query type specific attachment

Gallery Attachments

To create a custom gallery from manual selection of posts, which you can choose from any type.

query type from media library

Media Library

Every element loaded in media library is at your disposal.
You will be able to generate lists from any element uploded in media library, through filters you will control the grouping characteristics

  • Categorizations
  • mime-type
  • data
  • custom-field/meta-key
  • and more
query type custom field gallery

By Gallery

By providing a Custom Field that returns an array of images, such as the Gallery field from ACF or PODS, you will display the associated elements.

Key type
You must choose the type of element from which you want to retrieve the field. This depends on where the widget is being used.


Query Manager

query type params


Current or Specific Post

query type exclude 1



Maximum control of the result!
All of this is sortable.

media query filter 1
media query filter MIME TYPE


Filter only media with specific mime-type, even multiple.

media query filter AUTHOR


Filter by the author(s) of an attachment. by inclusion or exclusion.

media query filter DATE


Date filters:

  • Past
  • Future
  • Today
  • Yesterday
  • Past Days
  • Past Weeks
  • Past Months
  • Past Year
  • Period
media query filter TERM


Filter by combining the terms associated with your attachments. You’ll be able to display only media files with a certain term but without another term.
Natively there are no Media Taxonomies but many plugins allow you to categorize them, as if they were real folders.

Use the logical OR or AND condition between terms.

media query filter CUSTOMMETAKEY

Meta Key

Using custom fields to filter the attachments you want allows you to get the highest level on customization.

Custom Meta Key
The meta key

Value Type

  • numeric
  • binary
  • char
  • date
  • datetime
  • decimal
  • signed
  • time
  • unsigned

Compare Operator

  • =
  • >
  • >=
  • <
  • <=
  • !=
  • like
  • rlike
  • not like
  • in
  • not in
  • between
  • not between
  • exists
  • not extists
  • regexp
  • not regexp

The value..

media query filter SEARCH


Filter based on a word that does or does not exist in the title or content of your media attachments.

No results Fallback

query noresults fallback 1


The fallback text that is showed in case no results from the Query exist.

Dynamic Tag
Remember that from Dynamic Tag > Template, you can use a template for the message.

Media Items

All data at your service

We wanted to create a way to visualize, sort and manage every type of data that is associated with a Media to generate complete lists in all its parts.

media items

Display elements

  • The Preview Image (by default)
  • The Title
  • Alternative Text
  • Caption
  • The Date
  • Taxonomy Terms
  • The Content
  • Author of post
  • Uploaded to (Post)
  • Any Custom Field
  • Static (text, image, icon, code)
  • Mime Type

Each type of element is customizable in all its parts with dedicated parameters in order to achieve maximum control.

All styles are instantly accessible while creating items.

As if that wasn’t enough, some advanced parameters allow you to refine the display and behavior.

Go to the MEDIA ITEMS page to see the features

Query Media


Several display styles are available for all e-Query widgets that will allow you to get the navigation approach you want.

Read More