Multi Image Metabox
Image does not show up on the photos box of admin page (2 posts)

  1. dknman
    Posted 3 years ago #


    How to fix adding a photo which do not show on photo box of the admin page. It will just show after update button was click.


  2. zyrobs
    Posted 2 years ago #

    The quick fix: In the plugins get-images.js file, find this line:

    var imgfull = $(html).find('img').css({width:"100px", height:"100px"});

    And change it to this:
    var imgfull = $(html).css({width:"100px", height:"100px"});

    The proper fix:
    Make the plugin do an admin ajax call to return the proper thumbnail url. I had it half done when I realized that the imgfull variable is just not getting the proper image object...
    (proper as in, this one returns the required url all the time instead of mucking in javascript, and it doesn't push a possibly 1000px big image into a 100px thumbnail box)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Multi Image Metabox
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.