- This topic has 20 replies, 3 voices, and was last updated 4 years, 3 months ago by Tom.
February 23, 2018 at 5:20 am #503615Andy
I’m using WP Show Posts on the home page under the ‘Latest News’ section. Here it crops/resizes any image to a standard size.
But unfortunately on the main news archive page this doesn’t happen, so for example the latest article I’ve just added which has taller dimensions than the other images looks wrong.
I’ve tried setting a size in the customizer for archive featured images but whatever I enter doesn’t seem to take effect. I’ve also tried the WP-Control plugin but there isn’t any image processing task listed in the queue.
Am I missing something obvious here?GP Premium 1.5.6February 23, 2018 at 7:32 am #503793Andy
Ok I changed the photo to something with more landscape proportions and it seems to work fine. But when adding an image which has more portrait proportions such as 427×600, it isn’t able to crop/resize the same as WP Show posts does.February 23, 2018 at 10:09 am #503924TomLead DeveloperLead Developer
The WPSP resizer will resize up if needed, whereas the GP resizer won’t (for good reason actually).
We’ll be updating both resizers to something better soon.March 16, 2018 at 5:46 am #521476Andy
Any update on this? It would be really nice if the thumbnails resized to the dimensions specified in the customizer as its not always possible to add images that have the exact same proportions.March 16, 2018 at 10:46 am #521800TomLead DeveloperLead Developer
In most cases, thumbnails do resize to the dimensions specified in the Customizer. For that reason, it hasn’t been a top priority.
I’m looking at switching up the resizer entirely, based on what WooCommerce has just done. However, it won’t make it into core until at least GPP 1.7.March 16, 2018 at 10:58 am #521816Andy
ok, would you mind checking my site again using the URL from my original post incase something isn’t working as it should be.
If you look at the latest post dated today you’ll see the thumbnail is taller than the rest. But on the homepage using the WPShow Posts plugin its been resized to match the other thumbnails as required.March 16, 2018 at 2:27 pm #521971LeoStaffCustomer SupportMarch 16, 2018 at 5:20 pm #522055Andy
Cleared cache but no effect I’m afraid.March 17, 2018 at 11:01 am #522485TomLead DeveloperLead DeveloperMarch 17, 2018 at 11:30 am #522501Andy
Yes, original image in the latest post is 1200×655. Thumbnail size settings in customizer is 650×473.March 17, 2018 at 9:06 pm #522757TomLead DeveloperLead Developer
The latest post cropping is working – it’s the others that aren’t.
The next image is 600×398, which is less than your Customizer settings.March 18, 2018 at 6:05 am #522917Andy
Thanks, I think the problem was I was having to use images of exact same proportions/dimensions on the homepage as some were displaying narrower than others. This is perhaps why I ended up with images too small for the main archive page too.
However, currently home page images are displaying fine even though they are all different sizes. It maybe because I had been using an image too small on the homepage too.
On a slightly different issue I realise now that using rows of 3 columns was a bit of a mistake as when resized down to tablet size (769px or below) the thumbnails are rather large. I could use the grid system to change them to 2 columns but that would leave one thumbnail on it’s own on the last row which I think would look a little odd.
The easiest thing to do would just change it to a 4 column row but I feel the thumbnails would be too small then. Is there any other way around this?March 18, 2018 at 8:21 pm #523357TomLead DeveloperLead Developer
It looks like all of the News page images are working now, except for the second post (as it has a smaller image).
As for the responsive issue, you could leave the images larger on desktop, which would fix the issue on mobile.
Otherwise you would need to go the media query route with the uneven post count.March 19, 2018 at 4:36 am #523544Andy
Sorry Tom, not sure what you mean by leaving them larger on desktop. The issue is a single column makes them too large around the 700-769px viewport area.March 19, 2018 at 10:04 am #523823TomLead DeveloperLead Developer
Ah, got it. In that case you’ll likely need to make then be 2 columns instead of 1, and deal with the uneven number. If you have another idea I may be able to help you achieve it with some CSS?
- You must be logged in to reply to this topic.