Support » Theme: Adamos » featured image/slider automatically cropped

  • On a development site, I have successfully uploaded a single featured image sized 944 × 450 on a post categorized as “featured” for the custom home page and it looks fine, the entire image appears. However, when I replicate this on the production site, the image is automatically cropped to 940 x 198. I’m stymied. Any ideas why this is happening?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Template Express


    Hello, could you please provide a link so I can take a look?

    Thanks for your response. A friend ended up helping me with fixes/workarounds on this, and the site is now okay, but here were the problems.

    1. Re auto-cropping, here is what she said:

    There’s a function called “the_post_thumbnail” that pulls a thumbnail based on what it thinks is the best fit. Since the twentyten theme has already obligingly generated a 940×198 image, it picks that. You can explicitly tell the function what image you want it to pick, though–it’s in header.php. I made the following change (line 77):




    2. The second problem had to do with the three featured text boxes. On the production site, the Featured Text fields would not accept HTML. I had to include all my text for these areas in the Featured Header Text fields.

    As I said before, the development site had no problems with this, and had also moved from the Twenty-Ten theme to Adamos. WP, the theme and all plugins were up-to-date on both. However, the development site had fewer previous themes than the production site, so maybe that had something to do with it.

    Thanks again for your quick response!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘featured image/slider automatically cropped’ is closed to new replies.