Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

rubygems.org : pics_or_it_didnt_happen

Sometimes, you might want your HTML to include a one-off image file that is just for one person. Making this file public may be undesireable for security reasons, or perhaps simply because it is not worth the overhead of multiple HTTP requests. This gem provides a utility method that takes a locally-saved image file, perhaps within your non-public tmp directory, encodes it as Base64, and returns an HTML <img> element with the correct data URL attributes. It is made possible by the RFC 2397 scheme, which is now fairly well supported in modern browsers.

Registry - Source - Documentation - JSON
purl: pkg:gem/pics_or_it_didnt_happen
Keywords: data-urls, html, image, rails, ruby
License: MIT
Latest release: 9 months ago
First release: over 1 year ago
Downloads: 1,830 total
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 29 days ago

    Loading...
    Readme
    Loading...