Images Setup
Item images are in jim_g_trading_cards\install\iminside my script — just drag and drop them into your inventory.
WEBP Image Format
All card images, inventory icons, and UI assets have been converted to WEBP format for optimal performance and reduced file sizes.
Benefits
- • 25–35% smaller file sizes than PNG
- • Faster UI load times for card views and shops
- • Lossless quality preservation
- • Supported by all modern NUI browsers
Included Assets
- • Card artwork (all brands)
- • Inventory icons (200×200)
- • Booster pack & box images
- • Grading case & slab images
- • Binder & deck box images
Cloudflare CDN Integration
Card images can optionally be served from a Cloudflare CDN instead of local files, reducing server bandwidth and improving load times for players.
How It Works
- • The server sends Cloudflare config to clients on connect
- • Client-side ResolveImage function checks for full URLs first
- • Falls back to local files if CDN is not configured
- • Supports .webp, .png, and .jpg extensions automatically
- • No player-side configuration required
Auto-Capture Screenshot System
When debug mode is enabled, the script can automatically capture 200×200 inventory icons for every card and save them to the ui/inv_images/ folder.
Screenshot Process
- • Uses html2canvas to render the card UI
- • Captures at 200×200 resolution for inventory compatibility
- • Saves as Base64-decoded image files server-side
- • Can send captures to a Discord webhook for review
- • Only runs in debug mode — never in production