fixes routes for image download and uses form helper for button