adding image generation as a resque job