• Janokapapa

    (@janokapapa)


    Hi this plugin is a good idea. I have page that has little post content but many widgets with a lot of small pictures. The plugin only process images from posts, so I decided to make it more generally. I created action for when page rendered, it call function: the_content() then it process img/src and element/style/background-image tags from all over the page. Also I use some cacheing (wordpress object cache), it could work fast when eg. memcache is turned on for object cache. Actually I use this plugin with wp-rocket and page cache, so conversion only happens when page is cached, so I got very good result combining them. (I guess it could work with other page caching like W3 Total cache also but its untested) Please feel free to use my modifications.

    Download here: https://drive.google.com/open?id=1aXVqGShV6ThoYhsCQMzDqSDyqvoyFvsH

    Best regards

  • The topic ‘Generally convert images’ is closed to new replies.