• Resolved WP Turned Up

    (@ryanllogan)


    Hello. I’ve created 2 announcements, both with a unique, 800 x 800 px image. On one of the announcements, the image scales fine. The other crops to 350 x 120 px.

    I then created a 3rd announcement, with 459 × 612 px image. That image also crops to 350 x 120 px.

    I then deleted the announcement that scaled fine and recreated it. It came back the exact same way, without the cropping.

    In short, the very first announcement displayed DOES NOT crop and any subsequent announcements DO crop.

    Thank you,
    Ryan

    https://wordpress.org/plugins/timeline-express/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Evan Herman

    (@eherman24)

    Hi Ryan,

    Do you have a link to your timeline so I can take a look?

    There are two possible issues here:

    1) The initial images that you uploaded to the site were uploaded prior to Timeline Express being installed. This would cause an issue because Timeline Express defines a custom image size to be used in the announcements.

    Solution: The solution here would be to install an additional plugin which allows you to regenerate your thumbnails. My suggestion here would be https://wordpress.org/plugins/regenerate-thumbnails/ . I’ve used it in the past with great success. Just install it, regenerate all of the thumbnails on your site – and the timeline announcement images should be fixed.

    2) The images you are using aren’t large enough to be cropped at the defined timeline express image size.

    Solution: Upload larger images so they can be cropped at the necessary size. Or, alternatively – specify a separate image size to be used when displaying the announcement images. If this is the case, you’ll want to check out the section ‘Use Alternate Image Size For Announcements (New v1.1.5.5)‘ in the other notes section of this repository.

    If you need some help implementing any of that, please consider purchasing the pro version – and reaching out via the support form within the plugin and I would be more than willing to walk you through the steps to getting things cleared up.

    Thanks,
    Evan

    Thread Starter WP Turned Up

    (@ryanllogan)

    Have to taken a look yet?

    1. I removed the images from the site altogether and uploaded them again. The same issue persists.

    2. The images are 800 x 800 px. I can’t imagine the images need to be bigger than that. After all, they are being cropped to 350 x 120 px.

    I don’t understand your other comments for #2 and I would not consider buying anything where the basic functionality doesn’t work in the FREE version.

    Plugin Author Evan Herman

    (@eherman24)

    As previously stated in my earlier comment, the plugin is defining a custom image size and thus using that as the announcement image size.

    This is not a bug, but a feature of the plugin.

    See: https://github.com/EvanHerman/Timeline-Express/blob/master/classes/class.timeline-express.php#L82-L83

    I have posted my solution above, in #2 on how to work around it.

    If this is the case, you’ll want to check out the section ‘Use Alternate Image Size For Announcements (New v1.1.5.5)’ in the other notes section of this repository.

    Thanks,
    Evan

    Thread Starter WP Turned Up

    (@ryanllogan)

    Understood. I got it to work. Appreciate the support.

    For all others out there, adding the following to your child theme’s functions.php, displays your timeline images at 50% of their original size.

    function change_timeline_express_announcement_image_size( $image_size ) {
    $image_size = ‘50%’;
    return $image_size;
    }
    add_filter( ‘timeline-express-announcement-img-size’ , ‘change_timeline_express_announcement_image_size’ );

    Plugin Author Evan Herman

    (@eherman24)

    Awesome, I’m glad that you were able to get things working how you need them to. Thanks for keeping me posted!

    Best,
    Evan

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Image Crop’ is closed to new replies.