fix(gallery): fixed check for carousel image types
fix(seo): removed duplicate code line