rename vendor to app
use sprockets helpers for image attachment