Change code about a image size from css to erb