Resize images in page; Fix sql file