Images not loading on rails heroku app -
for reason when tried update websites logo image not appear when push heroku, images' file name link. images appear fine locally. have png files saved in images folder under assets, not issue of heroku not finding it. saw post similar this, didn't answer question. why new image not appearing?
add show precompiled image. on heroku default mode production.so need display precompiled images. when image or assets precompiled. compresses code , image gets renamed example:(image_42342j3n42b3n44234234.jpg) need show renamed image. need add
config.assets.digest = true this production.rb
Comments
Post a Comment