• Resolved Marco

    (@mpdoc)


    Hi
    i’m completely newbie so, sorry for a maybe stupid question:
    WP Tiles does exactly what i’m looking for (posts featured images tiled grid) except for using cropped excerpts of images instead of dinamically resizing, or even just using fixed size thumbnails of entire image.
    Is it possible to obtain a similar result?

    Thank you.

    https://wordpress.org/plugins/wp-tiles/

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

    (@mike_cowobo)

    Hi @mpdoc,

    I’m afraid I don’t entirely understand your question. The images on tiles are the images as WordPress has resized them (if you’re using 1.0 beta, you can select which WP size to use). If the aspect ratio is different from the tile, the image is resized to completely cover the tile on the shortest fitting side – the rest is then cut off. (So, if you have an image that’s 800x400px, it will be cropped to 400×400 on a square tile)

    I hope this clarifies things. If this doesn’t answer your question, please post back again 🙂

    Cheers,
    Mike

    Hi Mike,
    I have to agree with mpdoc. When I use Jetpack for a tiled gallery it does some clever resizing and positioning so that all the photos are not cropped. I tried wp-tiles to see if it is quicker, can use lazy loading, is smaller etc. Unfortunately wp-tiles crops the photos and the gallerylooks pretty lame.

    Here is a link to my site using Jetpack (for the mo) if you’d like to check it out. http://ianpricemusic.co.uk/

    Plugin Author Mike Martel

    (@mike_cowobo)

    Hi @steviedc,

    Let me explain how WP Tiles crops and positions its images, so you have an idea of how to get it to work well with your photos.

    WP Tiles uses the default WordPress image cropping functionality. When the aspect ratio of a tile is not the aspect ratio of the cropped image, it enlarges the image until the whole tile is covered and then puts it in the center.

    By default, WP Tiles (1.0) will grab the ‘medium’ image size. The user can change this to another size if he wants to. If the image size chosen is set to crop the image, WP Tiles can seem to ‘double crop’ the image, because it always makes sure the complete tile is covered by the image. WP Tiles does not override this, because it could have actually been the user’s intention and because WP Tiles shouldn’t generate yet-another-image-size out of the box. So the user has full control over how WP Tiles crops his images – the default is sensible, but not optimal for every website.

    Long story short: if you set an image size that is large enough and doesn’t crop by default, the image should come out correct most of the time, unless the aspect ratio of the tile is very different and the subject is not centred enough.

    Cheers,
    Mike

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Avoid cropping tiled images’ is closed to new replies.