Image handling by Imaguard plugin