Resize Image via URL/SLUG

Posted in: Newspaper
Post count: 58

Hi there,
I am asking about resize images in theme. I have seen many sites, they server different size of images to their visitors without having multiple size copies of the original. Mean they are serving one single image in multiple sizes.

Example:
Full Size(Original)
https://images.indianexpress.com/2021/01/IFFI-1200.jpg

Resized Image of the original without creating another resized copy
https://images.indianexpress.com/2021/01/IFFI-1200.jpg?resize=450,250

For your kind information, IndianExpress.com is built on WordPress.

But in our newspaper theme, the themes creates multiple copies of the original image in all size enabled in the theme panel.
So, any solution to it?

Post count: 18283

Hello !

That is because of the selected thumbs. In theme panel you can see this option: https://www.screencast.com/t/Ph3nH4VulW Here you will need to activate only the ones that you use. Every thumb is destined for a block, see what blocks you use and let only those thumbs enabled.

Thank you !

Post count: 58

You didn’t understand what I had said.
I wanted to mean why your theme is generating multiple crops copies of the original when resizing via URL can be done instead.

Understand?

Post count: 18283

Hello !

This happens because this is the way that Newspaper Theme has been built, by using thumbs. Unfortunately at the moment there is no workaround for this at the moment.

Thank you !

Post count: 58

this is the way that Newspaper Theme has been built

That’s why I brought this to your notice. So, that you can understand from this and bring this to the Newspaper theme.

Post count: 18283

Hello !

I have sent this suggestion to our developers. Unfortunately I cannot say when or if this will be implemented in the theme in the near future.

Thank you for your understanding !

Post count: 58

No issues.

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