I deployed my static HTML website to Heroku using this tutorial (http://www.lemiffe.com/how-to-deploy-a-static-page-to-heroku-the-easy-way/) and my pictures won\'t show up ?
Your tag is pointing to an absolute path that exists on your local filesystem, but does not exist for your Heroku app. Instead, provide a relative path (relative to the HTML file invoking the
tag, that is) to your image asset, commit the change to version control, then redeploy to Heroku.
Assuming that your public
directory is actually nested within the resumeappcopy
directory, the following path should work:
UPDATE:
Note that the cited asset URL points to an asset with the file extension PNG
in uppercase. However, the file's actual file extension is png
– in lowercase (see here). Your local filesystem is probably insensitive to case when looking up a resource – but Heroku is not. You'll need to ensure that you're properly invoking the correct casing for resources when you deploy to Heroku.