Optimize use of DwooPlugin for images