I manage a Rails 4 app deployed to Heroku. Because of our setup, we always need to precompile our images before deploying to Heroku. The effect of this is that our images in production end up with names like:


The long string at the end is generated by rails and only happens in production. Does it negatively impact my SEO? Are there way to prevent this from happening?

  • 1
    No. It causes no harm. It adds no value. But it causes no harm as long as you are incorporating some semantic value into the name. Cheers!!
    – closetnoc
    Sep 6, 2016 at 4:22

1 Answer 1


Does it negatively impact my SEO?

No, not at all.

Are there way to prevent this from happening?

You can use image related text surrounded it, for example figcaption tag will help you here. Alt text will also help you here. Google just want to know that, this image is related to this. And there are many of way to tell it.

Google can even use your paragraphs note to know about the images, I have notice some of quora answer with pics are indexed very well in image search, without using proper image name, alt, title, and figcaption tag.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.