support gallery show

add support for gallery show