• Resolved mikeyjamjams

    (@mikeyjamjams)


    My tile images are zooming in too much.

    I had this issue prior to using the 1.0 beta, but the FAQ was able to resolve my issue by using this line of code:

    add_filter('wp-tiles-image-size', 'change_tile_image_size');
    function change_tile_image_size( $image_size ) {
        return 'large';
    }

    I’ve placed this code in my Functions.php file once again, but unfortunately the tile images are still zooming in too much. I was hoping to see what else I could try.

    Thanks!
    Mikey

    https://www.ads-software.com/plugins/wp-tiles/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Mike Martel

    (@mike_cowobo)

    Hi @mikeyjamjams,

    The image size is now a default option in WP Tiles! It was about the most asked question here, so I decided to incorporate it in the settings panel and the shortcode arguments.

    Look for the ‘Image size’ option, or set it in the shortcode like this:
    [wp-tiles image_size='large']

    Cheers,
    Mike

    Thread Starter mikeyjamjams

    (@mikeyjamjams)

    Thanks, Mike. I played around with all the Image Size settings, but unfortunately my images were still zooming in just a tad bit too slightly.

    It looks like this line of CSS was causing the issue
    .wp-tiles-tile-bg{background-size: cover;}

    I modified this to:
    .wp-tiles-tile-bg{background-size: 100% 100%;}

    And, that seems to have done the trick so that my tile images are appearing at their original size.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[1.00 Beta] – Tile Images Zooming in too much’ is closed to new replies.