Control over gallery image sizes
-
I’m not sure whether this is a complaint or a feature request, but here goes:
I manage a site that currently has over 10k photos in its directories – far too many of them generated by plugins, MaxGalleria’s six non-optional sizes notwithstanding:
add_image_size(MAXGALLERIA_META_IMAGE_THUMB_SMALL, 100, 100, true); add_image_size(MAXGALLERIA_META_IMAGE_THUMB_MEDIUM, 150, 150, true); add_image_size(MAXGALLERIA_META_IMAGE_THUMB_LARGE, 200, 200, true); add_image_size(MAXGALLERIA_META_VIDEO_THUMB_SMALL, 150, 100, true); add_image_size(MAXGALLERIA_META_VIDEO_THUMB_MEDIUM, 200, 133, true); add_image_size(MAXGALLERIA_META_VIDEO_THUMB_LARGE, 250, 166, true);
This tends to create a problem, as I’m trying to keep the number of thumbnail sizes down. If it were not for the limitations I set in functions.php, each image is generated in 17 different sizes, and that’s after throwing out the plugins that shouldn’t be there.
Put simply, I see no reason why I should wind up with 1000+ images after uploading 100), and I’m not keen on being locked into the six that MaxGalleria tries to obligate me to – especially since I only use the four column template, which apparently uses
MAXGALLERIA_META_VIDEO_THUMB_LARGE, 250, 166,
to generate its images.However, if I do filter out the sizes I don’t want, MaxGalleria won’t show anything – it insists on using its “…250×166.jpg” images.
Far as I can see, this isn’t changeable yet, which is hugely frustrating given that we now have WordPress SRCSET sizes. I don’t mind if the source images are a bit bigger than the actual ones on screen; the page speed that I’ll gain out of it isn’t worth the mess of images or the management of them all.
Curious to hear if you have any suggestions.
- The topic ‘Control over gallery image sizes’ is closed to new replies.