Site logo

Archived topic

How to skip creating intermediate sizes when uploading images to a gallery

3 replies · Started by Rafał on August 31, 2021

Viewing posts 1–4 of 4

I appreciate GeneratePress & GP Premium for its possibilities and flexibility, but mostly performance. This time the aim is to save server space.
My website will use plenty of big galleries. I'm sure won't need other sizes than the thumbnail (medium at most) and full of any image uploaded to a gallery (Gallery Block).

How to set a conditional – while inserting the Gallery block – skip creating intermediate image sizes: medium_large, and large, but leave them for every other use case?

I had no doubts about this – GP has no deal with image sizes – I was rather counting for your abilities and creativity in PHP filters ;)
Regards

WordPress' support team should be point you in the right direction if there is a solution :)

This archived topic is closed to new replies.