Support » Themes and Templates » Duotone thumbnails are BIG

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

    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:

    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.


Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.


    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Duotone thumbnails are BIG’ is closed to new replies.