Hard coded 240 as the value for the image width and updated fixtures to ensure tests pass
Code changes
Used replace function to replace the width with a hard coded string of 240
Testing
Ensure when inspecting a page with a Billboard or messageBanner (i.e Hindi), the width value on the image url is 240 (px)
Open up the Developer Tools in your browser, then using the web developer extension disable all CSS styles and check the size of the Billboard image. It should no longer be huge.
Helpful Links
Add Links to useful resources related to this PR if applicable.
Resolves (https://jira.dev.bbc.co.uk/browse/WSTEAMA-1261)
Overall changes
Hard coded 240 as the value for the image width and updated fixtures to ensure tests pass
Code changes
Used replace function to replace the width with a hard coded string of 240
Testing
Ensure when inspecting a page with a Billboard or messageBanner (i.e Hindi), the width value on the image url is 240 (px) Open up the Developer Tools in your browser, then using the web developer extension disable all CSS styles and check the size of the Billboard image. It should no longer be huge.
Helpful Links
Add Links to useful resources related to this PR if applicable.
Coding Standards
Repository use guidelines