WordPress.org

Ready to get started?Download WordPress

Forums

In Over Your Archives
In over your archives - thumbnail size (5 posts)

  1. rmx101
    Member
    Posted 3 years ago #

    Excellent plugin.. need help though.

    Any way show larger thumbnails? Also they seem to cut off the top / bottom. I have vertical images of people, heads / legs cut off. Any way to get around this? Thanks!

  2. rmx101
    Member
    Posted 3 years ago #

    Also, any way to hide months that do not have posts? thanks

  3. Mohammad Jangda
    Member
    Plugin Author

    Posted 3 years ago #

    Glad you like the plugin. The plugin automatically crops images which is why they're cut off. We'll try and add a feature so you can specify the size.

    Also, to hide months with no posts, you can add the following to your CSS:

    div#inoveryourarchives .inoveryouryear ul li span {
        display: none;
    }
  4. rmx101
    Member
    Posted 3 years ago #

    Excellent. Thanks for the reply. Would be great to set the size of thumbnails, in our case we got pictures of people so setting max w or h would really help.

    Another point is to separate the archive thumbnails by categories. Is this doable?

    Thanks!

  5. Mohammad Jangda
    Member
    Plugin Author

    Posted 3 years ago #

    With v1.3.1 you can modify the image size and image numbers by adding a bit of code to your theme's functions.php (we'll hopefully add it as an option in a future release).

    This will change the image size to 500 x 250:

    add_filter( 'ioya_image_size', 'my_theme_change_ioya_image_size' );
    function my_theme_change_ioya_image_size( $size ) {
        return array( 500, 250 );
    }

    You can also change the number of images in the same way. This will change the image number to 4:

    add_filter( 'ioya_image_count', 'my_theme_change_ioya_image_count' );
    function my_theme_change_ioya_image_count( $count ) {
        return 4;
    }

    Hope that helps!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic