fix gallery import; image scaling
Fix outline counts