Fixed resize image is not working issue.