Skip to content

Images

Images in Lootfabriq are handled through a special, predefined template Image with a fixed structure. Using a separate template for images has several advantages compared to managing images directly within each individual template.

Centralized management

All images are stored in one place, allowing your design team to manage them efficiently in their own dedicated place.

Image deduplication

An image can be reused across multiple locations. Often, a single image fits in different contexts. Storing images separately prevents the need to upload the same image multiple times, reducing the game build size and lowering memory consumption caused by duplicate image copies.

Consistency

In Lootfabriq, the image is treated as a regular template. While it has editing restrictions for users, it functions similarly to other templates. It integrates seamlessly with the item-link component or item-link-list component.

Butch upload

With control over the image template, we’ve customized the image page, enabling a batch upload feature. This enhancement also includes a preview option before uploading, allowing you to set image names during the upload process.

Image dictionary

It is a standard dictionary and will be exported along with other dictionaries. It has image.json name.

Image downloading

There are two ways to download an image:

  • Using our docker image. This is the easiest way to start working with images.
  • Using our API. This method offers more flexibility but requires manual implementation on your end.