• Resolved callawebdesign

    (@callawebdesign)


    Hello, I’m using this for a client who is publishing a book. However, the book is 8″ x 7″, a different ratio from the vertical rectangle crop used in the plugin. Further, she wants the featured image to be of the book opened, which is a 2:1 ratio. What can I set custom dimensions for the featured image crop on the book page? Thanks in advance for your help!

    https://www.ads-software.com/plugins/genesis-title-toggle/

Viewing 1 replies (of 1 total)
  • Plugin Author Bill Erickson

    (@billerickson)

    By default this plugin uses the ‘thumbnail’ image size, but you can change it with the image_size property. But you’ll need to define that image size first.

    You’ll need to add the below code to your theme, or use a plugin like this that will add it for you.

    Let’s say you called the image size ‘book_cover’ and set the dimensions to 600×300, like this:

    add_image_size( ‘book_cover’, 600, 300, true );

    Then, use this shortcode:

    [display-posts image_size=”book_cover”]

    WordPress only resizes images when they are uploaded, so if you’ve already uploaded your images you’ll need to use Regenerate Thumbnails to regenerate them.

Viewing 1 replies (of 1 total)
  • The topic ‘Book Featured Image Size’ is closed to new replies.