got image gallery working