WordPress.org

Support

Support » Plugins and Hacks » Multi Image Metabox » Image does not show up on the photos box of admin page

Image does not show up on the photos box of admin page

Viewing 1 replies (of 1 total)
  • 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)

Viewing 1 replies (of 1 total)
  • The topic ‘Image does not show up on the photos box of admin page’ is closed to new replies.
Skip to toolbar