Added image gallery support