Adds image to ActiveRecord