Have you checked that your filenames match? > return AWS.Response.Build ("text/html", "<img src=aws.png>"); > <img src=aws_logo.png> You could also do with quotation marks around the filename: return AWS.Response.Build ("text/html", "<img src=""aws_logo.png"">"); i.