Can now pass an array of IMG elements directly to the plugin