ord
ord copied to clipboard
Make supported but un-previewable content types nicer
I opened #1492 to support STL files, which is a 3D model file format. I wanted to add it, to encourage people to experiment with making STL inscriptions. But, since it isn't a native browser format, the ord block explorer cannot easily render a good preview. Because of this, inscriptions with content type model/stl
get Media::Unknown
, which has a blank preview.
It would be nice to be able to add formats like STL quickly, without needing to add a custom renderer, but still have something other than a blank image.
I'm thinking a preview which renders the whole thing as a square of hex. We could then give STL
Media::Blob
or whatever.
Not inclined to bump it off the main feed? ie. filter unsupported content types, could be to another page.
I guess there's advantage in people seeing the experiment and exploring the raw content though.
More broadly, quite many requests for various types of filters from the people. Presented without comment.
The main feed doesn't do db reads for any inscriptions, which would be required to see what to bump.