Display default post thumbnail, display post attachments gallery and SAVE MORE MySQL queries
--------- WARNING! ----------- This plugin may cause conflict if you also use some plugins for Markdown. They might utilize the same table field with this plugin, causing the data to be overwritten each other. You must choose: this plugin or that markdown plugin gets activated.
Getting attachments with get_posts() function is one query, extracting its size and file location is another call to wp_postmeta where all data about an attachment is stored. So if you have 20 images in a post, you’ll end up with additional 21 queries. More queries means more load time for your server to response a request from browser.
Daniy Image Manager pull a post attachments from the wp_posts and wp_postmeta ONCE when the single page is requested, then the result is cached and stored in the vacant post_content_filtered field in wp_posts table. This means, on the next call to the same single page will also pull the attachments saved data in post_content_filtered field. All we have to do is unserialize it and output to browser. No more get_posts() or get_children() queries to database
Requires: 3.0 or higher
Compatible up to: 3.5.2
Last Updated: 2 years ago
Active Installs: Less than 10
Got something to say? Need help?