• Resolved artisana

    (@artisana)


    Hello
    I’ve created a set of galleries (currently being tested here). The original thumbnails for each gallery were 150x150px and so I enlarged that via CSS (in child theme) to

    .gallery-size-thumbnail img{
    	width: 303px;
    	height: auto;
    }

    which has worked great!
    EXCEPT….
    that the gallery is still loading in the thumbnail version of the image that WP creates.

    I have no idea where to edit this last bit of data. I can see from using Firebug that it’s pulling up:

    <img class="attachment-thumbnail" width="150" height="150" alt="" src="http://goodearthbags.com/wp-content/uploads/2014/03/WINEBAG_TWO-150x150.jpg">
    </a>

    and when I edit that to
    http://goodearthbags.com/wp-content/uploads/2014/03/WINEBAG_TWO.jpg it gets me the result I’d like to make permanent.

    Any clue how I can do so?
    Your help is greatly appreciated!

    Cheers,
    Ana

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter artisana

    (@artisana)

    Anyone know how to circumvent the function that creates/resizes/relinks the image for the gallery? Everything else is working properly, I just don’t know where to edit the code so that the gallery stops creating a 150×150 thumbnail image file.

    You help is SOOOOO appreciated!!! Please & thank you

    Thread Starter artisana

    (@artisana)

    In case someone comes across this in the future, my answer was here:
    http://codex.ww.wp.xz.cn/Gallery_Shortcode :

    size
    specify the image size to use for the thumbnail display. Valid values include “thumbnail”, “medium”, “large”, “full” and any other additional image size that was registered with add_image_size(). The default value is “thumbnail”. The size of the images for “thumbnail”, “medium” and “large” can be configured in WordPress admin panel under Settings > Media. For example, to display a gallery of medium sized images:

    [gallery size="medium"]

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Gallery thumbnail – resizing beyond css’ is closed to new replies.