Hey Kozzmic,
Go to settings, then Media and check your thumbnail size. This might be affecting your general thumbnails.
Or, if your template is calling the image size ‘related_thumb’ and you do not like the width, height, and crop settings, you may have to change them in the code (create a child theme).
If you make a change to either the media settings or the ‘related_thumb’, you will probably need to regenerate the thumbnails for your website. I recommend https://wordpress.org/plugins/force-regenerate-thumbnails/ But of course backup your database and files before running just in case.
I hope that helps,
Peace,
Kat
Hello katlove,
I tried it also in media, with a plugin, that showed all thumbs option and regenerate them. I deleted them also all in ftp. But they still end up showing like that.
I guess I don’t know how I would need to edit the code in a way that they show up like I want. I don’t understand the offical wordpress wiki all that well, cause I don’t speak native english.
add_image_size( 'archive_thumb', 270, 180, false);
so if i put it to false, it resizes the image complete, not cropped, but the width is wrong, it’s giving me an img of 270×111.
Any solution?
Hi @kozzmic
First, you don’t need to create your thumbnails in Photoshop, and you don’t need to upload thumbnails – that may be the problem, if you are starting out with an image that is too small to begin with.
WordPress will *automatically* create ALL the sizes specified in Settings >Media, including Thumbnails, as well as any custom sizes you are adding through your Theme’s functions (which it sounds like you are with related_thumb and archive_thumb). But WordPress needs to start with an image large enough to crop down to those sizes – not huge mind you, but full size for displaying in Posts at web resolution of 72dpi is what it expects.
So try just using the Media Uploader to upload your full size images, let WordPress create the Thumbnails (and medium and large and any other sizes you are specifying) for you, and then be sure you are referencing the right thumbnail….post back if that doesn’t work.
None of above changes what has already been included in post or pages.
Trisha, yeah I know, i dont need ps or ftp, but could’nt find better way, till crop= false.
Works now with bigger img.
I want to resize the image wich shows on the article page, so it matches my ad on sidebar. But dunno what it’s called. I find this in html:
post type-post status-publish format-standard has-post-thumbnail hentry
with no img class, so i think i need to add another:
add_image_size( 'xxx', 270, 180, false);
what do i fill in by xxx?
I added this in functions.php:
add_theme_support( 'post-thumbnails' );
set_post_thumbnail_size( 615, 250 );
But it doesn’t work?
You cannot modify existing post’s images with such. Once the post has the images sizes it uses those. You can edit the image sizes to be used <===that is an important distinction (to be used), then remove old images, add new and fix that way…
Can a mod look at why bb is adding:
<div class="line-gutter-backdrop"></div>