All Projects → workeffortwaste → Consoleimg

workeffortwaste / Consoleimg

Display images in your developer console!

Projects that are alternatives of or similar to Consoleimg

Csconsoleformat
.NET C# library for advanced formatting of console output [Apache]
Stars: ✭ 296 (+124.24%)
Mutual labels:  console, library
Terminaltables
Generate simple tables in terminals from a nested list of strings.
Stars: ✭ 685 (+418.94%)
Mutual labels:  console, library
Whatspup
🔳 WhatsApp chat from commandline/console/cli using GoogleChrome puppeteer
Stars: ✭ 310 (+134.85%)
Mutual labels:  console, fun
Contour
Modern C++ Terminal Emulator
Stars: ✭ 191 (+44.7%)
Mutual labels:  console, library
Art
🎨 ASCII art library for Python
Stars: ✭ 1,026 (+677.27%)
Mutual labels:  fun, library
Chroma
A general purpose syntax highlighter in pure Go
Stars: ✭ 3,013 (+2182.58%)
Mutual labels:  console, library
Console
The Hoa\Console library.
Stars: ✭ 354 (+168.18%)
Mutual labels:  console, library
Towel
Throw in the towel.
Stars: ✭ 333 (+152.27%)
Mutual labels:  console, library
Langterm
🕹️ WebGL-based VT220 emulator, made as a learning example and frontend for a text adventure
Stars: ✭ 35 (-73.48%)
Mutual labels:  console, fun
Console.md
Ever dreamed of rendering Markdown in the console? No. Neither had I.
Stars: ✭ 24 (-81.82%)
Mutual labels:  console, fun
Criterion
Microbenchmarking for Modern C++
Stars: ✭ 140 (+6.06%)
Mutual labels:  console, library
Panwid
A collection of widgets for urwid.
Stars: ✭ 82 (-37.88%)
Mutual labels:  console, library
Libmoji
📚 Bitmoji's API made easy for everyone
Stars: ✭ 189 (+43.18%)
Mutual labels:  fun, library
Finalcut
A text-based widget toolkit
Stars: ✭ 244 (+84.85%)
Mutual labels:  console, library
Python Progressbar
Progressbar 2 - A progress bar for Python 2 and Python 3 - "pip install progressbar2"
Stars: ✭ 682 (+416.67%)
Mutual labels:  console, library
Libcon.ahk
LibCon - AutoHotkey Library For Console Support
Stars: ✭ 50 (-62.12%)
Mutual labels:  console, library
Zui
⬢ Zsh User Interface library – CGI+DHTML-like rapid application development with Zsh
Stars: ✭ 95 (-28.03%)
Mutual labels:  console, library
Madonctl
CLI client for the Mastodon social network API
Stars: ✭ 129 (-2.27%)
Mutual labels:  console
Chat Ui Kit React
Build your own chat UI with React components in few minutes. Chat UI Kit from chatscope is an open source UI toolkit for developing web chat applications.
Stars: ✭ 131 (-0.76%)
Mutual labels:  library
Mix
☄️ PHP CLI mode development framework, supports Swoole, WorkerMan, FPM, CLI-Server / PHP 命令行模式开发框架,支持 Swoole、WorkerMan、FPM、CLI-Server
Stars: ✭ 1,753 (+1228.03%)
Mutual labels:  console

consoleimg

Display images in your developer console!

https://defaced.dev/tools/consoleimg/

Usage

Use the following code before the closing </body> tag.

    <script src="consoleimg.min.js"></script>
    <script>
        consoleimg.load('image.jpg', {size: 320, color: '#FFFFFF'})
    </script>

Optional arguments

size

Maximum height for the image to be displayed at. The default is 320.

color

CSS background-color to be used for the image. The default is transparent.

Compatibility

Browsers

  • Chrome - No known issues
  • Safari - Issue with images repeating
  • Edge (Chromium) - No known issues
  • Firefox - Restricted to images below 8KB

Image Formats

All image formats that are supported by CSS background-image should work without issue, including SVGs with animation.

Yes, that does include animated .gifs.

Demo

See http://defaced.dev/web/the-buggiest-site-on-the-web/ for a working example.

Frequently Asked Questions

Why on earth would you make this?

Sorry :-(

Will it slow down my website?

The image request uses the fetch API asynchronously, unless you're loading large images there shouldn't be a significant impact.

What happens on mobile?

By default the images will still be downloaded. It's up to you to decide if you want to detect for a mobile device and not push the image to the console.

Who made this?

I did, you can find me on Twitter for more nonsense like this.

@defaced

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].