Skip to content

Instantly share code, notes, and snippets.

@ELLIOTTCABLE
Last active January 4, 2016 12:29
Show Gist options
  • Save ELLIOTTCABLE/8621368 to your computer and use it in GitHub Desktop.
Save ELLIOTTCABLE/8621368 to your computer and use it in GitHub Desktop.
Open feature-request e-mail to @cloudup
Follow-up re: https://twitter.com/Cloudup/status/426957949576040448
A lot of systems (for obvious reasons) won't recognize Cloudup links as images, because their URLs
don't end with one of the common ‘image extensions.’ This is quite annoying, as it means *I* have to
either follow the link manually, and copy the URL of the image (if I wish an automatic system to
recognize the image), or that I have to write an intermediate service to do so *for* me.
I wasn't asking for you to directly serve the image. All I'm saying is this:
- You clearly currently redirect `/<key>\+` to `https://i.cloudup.com/<image-key>.png
- I'm asking for you to change that to match *all* image-extensions; theoretically, only a change of
`/<key>\+` to `/<key>\+\.\w+` or similar.
That way, I can simply paste what's on my clipboard (https://cloudup.com/iT49ythIYgx), and then type
+.png (https://cloudup.com/iT49ythIYgx+.png), to be sure that it will be recognized as an image on
most systems.
It should be a simple change (well, I don't know your codebase, but I would hope it is); and it
would aid in a huge array of situations:
- Linking an image in an IRC channel would auto-load that image, inline, in most clients
- More markup-systems / WYSIWYG editors would recognize the pasted link as an image, and insert the
appropriate markup to include it in-line
- One might hope Twitter will eventually recognize these as images, and include them inline in my
tweets :P
You get the idea. <3
⁓ ELLIOTTCABLE — fly safe.
  http://ell.io/tt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment