make images work and make view size adapt