move image resizing to utils and call it from blog and stories
test