title: Is it possible to display images from rails active storage inside another application using a URL?
body: <p>I'm trying to access the User avatar object from a rails API/backend using active storage and display it inside an electron desktop application using a <code>&lt;img&gt;</code> tag.  I've been trying various combinations of URL formats in the src attribute of the image tag but always run into a rails routing error.</p>
  <p>I've tried using the <code>key</code>, and the <code>attached_sgid</code> fields from rails with the URL formats below but neither approaches work.</p>
  <pre><code>http://localhost:3000/rails/active_storage/blobs/--active_storage_blobs.key--
  http://localhost:3000/rails/active_storage/blobs/--attached_sgid--
  
  
  Gives this error:
  
  No route matches [GET] &quot;/rails/active_storage/blobs/BAh7CEkiCGdpZAY6BkVUSSIqZ2lkOi8vanVtcHN0YXJ0LWFwcC9Vc2VyLzE_ZXhwaXJlc19pbgY7AFRJIgxwdXJwb3NlBjsAVEkiD2F0dGFjaGFibGUGOwBUSSIPZXhwaXJlc19hdAY7AFQw--2465471c08be19196738d37c7f02be10c4a88bba&quot;
  </code></pre>
  <p>Is it even possible to display an image from active storage in this way?</p>