title: moved static s3 site to cloudfront
body: <p>We had been serving our images from a static web address on s3. Doing this we were able to use lambda to create new dimensions of the images based on the URL e.g <code>mys3domain.com/1200x900/imagejpg</code> we wanted to serve these images from https which is something static web adress on s3 does support so we have moved away from s3 to cloudfront, however when requesting images where dimensions don't exists instead of lambda being trigged we get a 404 response. I am assuming I need to change my lambda trigger but I am not sure how?</p>