I've deployed my basic rails app to Heroku and everything is fine (mainly!) except for some large images in a carousel on the landing page. All of the other images are fine, so it seems that the images are disallowed due to their size. But all I know is that the whole app is limited to 500MB on Heroku, and my app is well under this. I have also tried removing the carousel but this made no difference. The images are working in the local host, but not on Heroku. I would give some of my code below, but I'm not sure what is relevant. Anyway, I would really appreciate some suggestions, thanks :-)
EDIT
I'm using HTML image links in the carousel like this:
<img class="d-block w-100" src="/assets/GettyImages.jpg" alt="First slide">
But I did try with rails links too, like this:
<%= image_tag ("/assets/GettyImages.jpg"), size: "100%" %>