Skip to content
This repository has been archived by the owner on Apr 17, 2019. It is now read-only.

Broken Images #216

Open
jimafisk opened this issue Nov 14, 2017 · 4 comments
Open

Broken Images #216

jimafisk opened this issue Nov 14, 2017 · 4 comments
Assignees

Comments

@jimafisk
Copy link
Contributor

Across the site there are images that are not rendering, for example: https://budget.boston.gov/featured-analysis/city-services/

This is happening because of an extra forward slash character:
bad_img

If we remove that misc / from the template, the image should render: https://budget.boston.gov/img/15-average-dept-increase.png

@jimafisk
Copy link
Contributor Author

jimafisk commented Feb 8, 2018

Example of broken image:

extra_forward_slash

Example of adjusted path so image renders:

without_extra_forward_slash

List of known components that have the forward slash in the template:

  • _includes/text_col_2.html
  • _includes/text_col_3.html

@reillyzlab
Copy link
Contributor

Not a priority

@paulparisi
Copy link

paulparisi commented Mar 31, 2018

@jimafisk I begin the path with an initial / - should the JSON not have this? I have removed it for now.

private comment to self - look for "img/" to find these in the source code

@jimafisk
Copy link
Contributor Author

jimafisk commented Apr 3, 2018

Hey @paulparisi I don't think this is something you need to worry about on your end. I think it was mostly related to the manually created pages, so the way you were doing things previously should be ok. I've actually already fixed this particular issue, it just didn't deploy correctly.

@jimafisk jimafisk self-assigned this Apr 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants