How to return a default picture?

I could not find it in the documentation. How could I return a default picture. I would like to show a “missing picture” for every place where the user has not uploaded a picture.

In paperclip that was

has_attached_file :picture,
    default_url: "missing_:style.png"

Is it possible to do the same with shrine?

You want to use the default_url plugin, as noted in the “Upgrading from PaperClip” guide on


Thanks @walterdavis. Thanks was really helpful. I will now try it.