No route matches [GET] "/galleries/44/3.jpg"
Try running rake routes for more information on available routes.
rake routes