Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to display images from /vendors/assets on Heroku

In /vendor/assets/stylesheets/jquery_ui/images are all images from jQuery-UI library. On localhost works me everything well, but when I deploy app (Rails 3.2) to heroku, so there are not displayed any of images placed in the vendor directory.

I tried placed these images to the /public directory, /app/assets/ directory, also run the command rake assets:precompile, but nothing works me.

jQuery running on Heroku well, but its images still not.

What am I still missing? I have already not idea, what to try yet...

Thank you

like image 988
user984621 Avatar asked Feb 02 '26 06:02

user984621


1 Answers

You can check the image path which is created after parsing using inspect element. the path is not properly created obviously.

like image 134
subhash Avatar answered Feb 03 '26 23:02

subhash



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!