WordPress.org

Ready to get started?Download WordPress

Forums

Duotone thumbnails are BIG (3 posts)

  1. denacarol
    Member
    Posted 4 years ago #

    I'm running the latest version of Duotone along with 2.9.1 WordPress.

    http://www.denaselmer.com/blog

    Everything looks great ... I love pretty much everything about this theme.

    My only problem right now is the thumbnail display on the archive pages.

    They're not "cropping" or re-sizing ... they just show the top 125 x 125 pixels of the full-sized image.

    I am assuming that because I changed the line of code mentioned here: http://wordpress.org/support/topic/346122?replies=32

    From this:

    return str_replace(get_bloginfo('wpurl'), '', preg_replace('/src=("|\')([^\1]+)\?w=[0-9]+(\1)/','src="'.$thumby.'?image='.addslashes( "$2").'&w='.$width.'"',$tag) );

    To this:

    return $tag;

    That I broke my thumbnails, but at least my photos display now, where before I changed that code there were pages and no photos. Is there something I can do to fix it? I'd like more of my image to show in the thumbnails if possible.

    Thanks.
    -dena

  2. pictureitsolved
    Member
    Posted 4 years ago #

    Hi Dena,

    Thanks for this post! I've been trying all day to get my images to show up in duotone. If I make any progress on the thumbnails I'll post an update. Any idea how to widen the theme? I tried changing
    define(MAX_WIDTH, 840);
    to define(MAX_WIDTH, 1040);
    in functions.php
    but it didn't seem to take effect.

    Karen

  3. stdbull
    Member
    Posted 3 years ago #

    Hi. Did you have any luck with this? I'm having the same problem. Everything else with duotone is fine. My thumbnails aren't scaled versions of the originals. My blog doesn't sit in the document root of my web server. Monotone works perfectly, though.

Topic Closed

This topic has been closed to new replies.

About this Topic