Archived topic
Thumbnails in Markter have different sizes
14 replies · Started by Marius on February 3, 2019
I have installed markter on a testsite which have already posts. But the thumbnails on homepage and archive pages have different sizes.
What to do, that all thumbnails are served in the same size, like in the markter demo in the site library?
Hi there,
I don't see the problem in Marketer archive page:
https://gpsites.co/marketer/category/uncategorized/
Any chance you can link us to the site in question?
You can edit the original topic and use the private URL field.
Let me know :)
This is a not public test site, so i can not link.
In the marketer archive page, all the images habe the same original size.
But on the test site, there were already pictures in the blog posts, as GP and marketer get instaled. This pictures have different original sizes, which i think cause the problem.
can marketer only show thumbnals in the same size, if the pics have a special size or proportions?
Hi there
You can set the size of the images in the Customizer > Layout > Blog --> Featured Images for the archives.
but then, they don´t react proper, if i smaller the browser window.
Hard to tell without seeing the site, but try this CSS:
.generate-columns-container article .inside-article img {
width: 100%:
-o-object-fit: cover;
object-fit: cover;
}
Hmm, which are the original settings from marketer site?
In regard to the Featured Images sizes? If, so they are not changed from the auto default. You can just delete the sizes, auto will be displayed in there place.
I mean the settings for the featured image sizes in a fresh instalation of marketer site. Where to find them?
Because i am almost sure, that i don´t have the original css anymore.
The original images were 700 x 400.
The main thing is the aspect ratio. And that the width is great enough for the single post featured image to display at full size.
So if my featured pics don´t have the same ratio, it is normal, that the thumbnails in archive view are not the same size?
Thats correct as the images ( if wide enough ) will fill the width of the column. Different ratios lead to different image heights.
Marketer is actually using this CSS to set the size of the images:
@media (min-width: 769px) {
.post-image-aligned-left .post-image img {
max-width: 300px;
}
}
It should've been imported when you import the site unless you removed it or changed the post image alignment.
will a plugin like AJAX Thumbnail Rebuild help, to get the same size on every thumbnail image in archive view?
I don't know what the plugin is supposed to do unfortunately.
Have you tried the customizer options?
https://docs.generatepress.com/article/adjusting-the-featured-images/
If that doesn't work for you, we will need to see the site as we know the options are indeed working.