images' size fixes, added some info to db for tests