This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Size of Featured Image on Archive Pages

Open 5 replies technicalthemetheme-corp
3 years ago · Last reply by Andrew Misplon 3 years ago

Using the Corp theme and my featured images are all uniform in size, but are not displaying correctly on the blog archive pages. Some are randomly cropped by 50% in length. I’ve tried regenerating the thumbnails and that did not resolve the issue. https://ptoanswers.com/blog/page/2/

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

5
  1. Andrew Misplon Staff 3 years, 6 months ago

    Hi Christina

    Corp isn’t using a custom-sized featured image for the single post page. The featured image here https://ptoanswers.com/how-many-fundraisers-should-ptos-have/ for example isn’t resized by Corp. Perhaps try deactivating the plugin or service (ShortPixel) that is compressing your images. Once that’s done, regenerate thumbnails and see if there is a difference.

    Another approach might be to try https://wordpress.org/plugins/regenerate-thumbnails/. Download the ZIP file and then install it from Plugins > Add New > Upload Plugin.

  2. Christina Hidek 3 years, 6 months ago

    Thanks Andrew. The images are displaying correctly on single post pages, but not on the archive pages. I’m trying to get them all to be uniform in size and no cropped on that page for a cleaner look.

  3. Andrew Misplon Staff 3 years, 6 months ago

    To confirm, the image in this post is correct? https://ptoanswers.com/how-many-fundraisers-should-ptos-have/. It looks the same as it does on the archive page.

  4. Christina Hidek 3 years, 6 months ago

    My mistake, you’re right.

    I did regenerate the thumbnails before posting but ShortPixel wasn’t deactivated. I’ll try your suggestion.

  5. Andrew Misplon Staff 3 years, 6 months ago

    Thanks; please, let us know how it goes.

    Here is where Corp renders the Featured Image for the single post: https://github.com/siteorigin/siteorigin-corp/blob/develop/inc/template-tags.php#L765. A size adjustment is not being made.

    Here is where Corp renders the Featured Image for the Masonry layout: https://github.com/siteorigin/siteorigin-corp/blob/develop/inc/template-tags.php#L798. A size adjustment also isn’t being made.

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread