I’m running into an issue where I have a large image gallery on a single page that’s exhausting the servers memory when the page is loaded.
Are there best practices for optimizing image gallery fields?
Here is an example of the query
http://screencast.com/t/RBHLJZQO
Hi @kkyang,
Thanks a lot for reaching out to us.
This is most likely due to the size of the images in your gallery.
The gallery fields simply stores an array of ID/Links to the images and thus has little effect on the memory.
You could checkout plugins such as https://wordpress.org/plugins/wp-smushit/ that will help you out with optimizing the images.
I hope this helps.