Image Management

Overview

The Taintless Vehicle Shop system includes automatic vehicle image generation functionality with customization options for specific requirements.

Automatic Image Generation

Vehicle images are automatically generated when a vehicle model is loaded without a corresponding image file. This ensures all vehicles have visual representation in the showroom interface.

Custom Image Implementation

File Requirements

  • Format: PNG (.png)

  • Location: vehicle_images directory

  • Naming: Vehicle model name (e.g., adder.png, zentorno.png)

Installation Process

  1. Navigate to the vehicle_images directory in your resource folder

  2. Add PNG image files using the exact vehicle model name

  3. System automatically detects and displays custom images

Technical Specifications

  • Recommended Resolution: 1200x675 pixels (16:9 aspect ratio)

  • File Format: PNG with transparency support

  • Container Display: Images scale to 65% width, approximately 90px height

  • Display Mode: Contain (maintains aspect ratio within container)

  • File Size: Keep under 500KB per image (larger files significantly impact loading performance)

  • Optimization: Use compressed PNG files to reduce loading times

Image Priority

The system follows this hierarchy:

  1. Custom uploaded images (if available)

  2. Automatically generated images (default)

Troubleshooting

Image Not Displaying

  • Verify file name matches vehicle model exactly

  • Confirm file extension is .png

  • Check file is in correct directory

Performance Optimization

  • Compress PNG files to minimize file size

  • Keep all images under 500KB to prevent loading delays

  • Maintain consistent dimensions across all images

  • Remove unused image files from the directory

  • Large file sizes directly impact showroom loading speed

Custom images override automatic generation for enhanced visual customization.

Last updated

Was this helpful?