• WordPress media library can use auto change size item when change screen view. How to do it? When i`m change screen then the media-frame-content class of element html has attribute data-columns-*. The column number corresponding to the image displayed on a row.
    Anyone help me solve this problem. Thank for reading.

    Regard

Viewing 1 replies (of 1 total)
  • Hi.
    It is handled by media-views.js.
    The column number is set according to content width. Search for media-frame-content in the js file.

Viewing 1 replies (of 1 total)
  • The topic ‘how to use grid view media library in wordpress’ is closed to new replies.