https://github.com/dinoscapeprogramming/image-logger
Log images on the console
https://github.com/dinoscapeprogramming/image-logger
Last synced: about 1 year ago
JSON representation
Log images on the console
- Host: GitHub
- URL: https://github.com/dinoscapeprogramming/image-logger
- Owner: DinoscapeProgramming
- License: apache-2.0
- Created: 2022-04-11T20:43:52.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-04-11T21:06:42.000Z (about 4 years ago)
- Last Synced: 2025-02-12T17:28:23.440Z (over 1 year ago)
- Language: JavaScript
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Image Logger
Log images on the console
## Get started
### Script Tag
First copy the file __image-logger.js__ and then add this script tag into your body tag
```html
```
## Use the framework
You need to call a function named __console.image__. Specify a image url as parameter.
```js
console.image("imageURL")
```
## Example
### index.html
```html
Image Logger
```
### script.js
```js
console.image("https://avatars.githubusercontent.com/u/95239392?v=4")
```
### image-logger.js
Copy the file from this repository