• Resolved melet

    (@melet)


    Hello!

    Thaks a lot for great plugin!

    Is there any option to get list view (where I can see image names at least) in Media Manager Modal Window? Could not find any information about it. It is highly uncomfortable to manage images in default grid view.

    Thank you for your answer.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author David Lingren

    (@dglingren)

    Thanks for your kind words and for your question. Adding a List View to the Media Manager Modal Window has come up before:

    Insert media no library or list visible

    I regret that no progress has been made by me or by the WordPress core developers. In fact, they seem to be less interested in “List”-style views as time goes by.

    The code base for the Media Manager Modal Window has seen several major revisions over the last several WP versions, and is likely to keep changing with upcoming releases.

    I must confess that my own skills are much stronger on the server side than on the client/browser side. I have looked at the work required to develop a modal List view and decided that it is beyond my capabilities and available time for the foreseeable future.

    I am marking this topic resolved simply because the question has been answered. I regret the news is not better, but thank you for your interest in the plugin.

    Thread Starter melet

    (@melet)

    It’s a pity to hear that.
    As a temporary (and bad-design) solution I’ve found the folowing way.
    1. In wp-includes\media-template.php find <script> element with id=”tmpl-attachment”
    2. Add the folowing code at the end of block “else if ( ‘image’ === data.type && data.sizes )”:

    <div class="filename">
        <div>{{ data.filename }}</div>
    </div>

    So code should looks like this:

    <div class="thumbnail">
       <# if ( data.uploading ) { #>
          <div class="media-progress-bar"><div style="width: {{ data.percent }}%"></div></div>
       <# } else if ( 'image' === data.type && data.sizes ) { #>
          <div class="centered">
             <img src="{{ data.size.url }}" draggable="false" alt="" />
          </div>
          <div class="filename">
             <div>{{ data.filename }}</div>
          </div>
       <# } else { #>
    Plugin Author David Lingren

    (@dglingren)

    Thanks for understanding my response, and thanks as well for sharing the interim solution you’ve developed.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘List view in Media Manager Modal Window’ is closed to new replies.