fixing the data-caption and title of images and thums in portfolio.html.erb