adding activate for the image gallery extension