https://github.com/incomplete-infinity/eve-image-helper
https://github.com/incomplete-infinity/eve-image-helper
esi eve-images eve-online frontend helper-tools html5 image-api javascript
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/incomplete-infinity/eve-image-helper
- Owner: Incomplete-Infinity
- License: mit
- Created: 2025-03-23T18:43:40.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-03-24T09:43:05.000Z (7 months ago)
- Last Synced: 2025-06-24T01:38:20.497Z (4 months ago)
- Topics: esi, eve-images, eve-online, frontend, helper-tools, html5, image-api, javascript
- Language: HTML
- Homepage: https://incomplete-infinity.github.io/eve-image-helper/
- Size: 31.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# EVE Image Helper
A lightweight utility to resolve EVE Online image URLs from entity IDs using ESI.
## Features
- Automatically detects ID type (character, corporation, alliance, item, etc.)
- Returns valid image URLs only
- Picks the best available image variant (e.g. render > icon)## Usage
### HTML + JS Demo
```html
import EveImageResolver from './eve-image-resolver.js';
const resolver = await EveImageResolver.create(587); // Rifter
console.log(resolver.url); // Best image URL (render, icon, etc.)
console.log(resolver.variants); // All valid variants