Post featured image size to 728 x 512

Posted in: Newsmag
Post count: 114

Hi,

how can I set the post featured image size to 728 x 512 px?

Thank you,
Luke

Post count: 20688

Hi,

That can’t be done with the Newsmag theme, the post content width is limited to 640px for most post templates – https://prnt.sc/oshddx
So if the post template displays the featured image in the content it will be limited to that width.

Some post templates display a bigger image, in this one (template 3) the featured image is 681px wide – https://demo.tagdiv.com/newsmag/how-to-combine-food-for-a-nice-diner-night/
You can check the post templates here – https://demo.tagdiv.com/newsmag
https://prnt.sc/oshenr

Let me know if you have more questions.
Thanks

Post count: 114

Hi Simion,

okay, thank you!

Best regards,
Luke

Post count: 114

Hi Simion,

I resized all the pictures to 681px width. How can I force the template to use these pictures as featured images in the posts? I use the default template at “Theme Panel” => “Post Settings” => “Default post template (site wide)”

Thank you,
Luke

Post count: 20688

Hi,

So you want the images inside the post content to have the same width as the featured image in the template I mentioned above. All you have to do is to use the full width option for the images – https://prnt.sc/oulnsj -> https://prnt.sc/oulnza

The images will look like this – https://prnt.sc/oulo7x

If I misunderstand let me know.
Thanks

Post count: 114

Hi Simion,

no, I don’t want resize the image inside the post.

I mean the following:
After changing the theme to yours all my old thumbnails for the post are too small. I’ve changed the sizes to 681px with the “regenerate thumbnails” plugin. However, the old widths are displayed in the theme at the top of the post.
How can I force the theme to show all thumbnails above the post in width 681px?

Thank you,
Luke

Post count: 35449

Hi,

I think that your thumbs was not set to the right dimension, you can correct theme by using this plugin for Thumbnails – Fix strange looking images on blocks -> https://forum.tagdiv.com/thumbnails-fix-strange-looking-images-on-blocks/

If this in not what you mean, please provide some more details/some screenshots or a link where I can inspect this problem.

Thank you!

Post count: 114

Hi,

this is not what I mean.

I changed the theme and the post image (not the thumbnail in a post or an overview) is too small.

Correct (if I upload a 681px image): https://www.eronite.com/images/correct.jpg
Incorrect (post image from the old theme): https://www.eronite.com/images/not-correct.jpg

I used the plugin “regenerate thumbnails” to build all images additionally with 681px. How can I force the theme to use them as post image?

Thanks a lot,
Luke

Post count: 35449

Hi,

I just inspect some of your featured posts and some of them are to small -> http://prntscr.com/ovfb4o, you need to set some big image like this one -> http://prntscr.com/ovfc8e

Thank you!

Post count: 114

Hi Calin,

I know.

Is there a way to force the theme to set it to 681px? I cannot change thousends of posts per hand…

Thank you,
Luke

Post count: 35449

Hi,

Unfortunately I do not know any plugin that can create a bigger thumb from a smaller image, only a smaller image from a bigger one.

Thank you for your understanding!

Post count: 114

This is not successful:

if ( function_exists( ‘add_theme_support’ ) ) {
add_theme_support( ‘post-thumbnails’ );
set_post_thumbnail_size( 681, 0, true ); // default Post Thumbnail dimensions (cropped)

// additional image sizes
// delete the next line if you do not need additional image sizes
add_image_size( ‘category-thumb’, 681, 9999 ); //300 pixels wide (and unlimited height)
}

Post count: 35449

Hi,

How I said above there is no plugin that can create a bigger thumb from a small image, the only solution is to use a custom css -> http://prntscr.com/ovxe5f
.td-post-featured-image img {
width: 100%;
}

The code need to be set in Theme panel> Custom code> Custom css
But because the feature image that you have is small the quality will be very low.

Thank you for your understanding!

Post count: 114

Hi Calin,

great work, thank you!

See you,
Luke

Viewing 14 posts - 1 through 14 (of 14 total)
The forum ‘Newsmag’ is closed to new topics and replies.