Skip to content
BasiX Media

JG Used Vehicles

Point JG Used Vehicles listing photos at BasiX by changing one field: presignedEndpoint in config/config.photos.lua.

You need a BasiX API key for this. Free account, 3 GB included, no card.Get your key →

  1. 1.Create a key

    Create an upload-scoped key in your client area. Upload-scoped keys work on every plan, including the free one, and cannot delete anything — which is what you want in a file that ends up in a resource folder.

  2. 2.Keep the fivemanage provider

    In `config/config.lua`, the provider stays as documented.

    lua
    Config.ImageStorageProvider = "fivemanage"
  3. 3.Swap the presigned endpoint and the key

    In `config/config.photos.lua`, replace `presignedEndpoint` with the BasiX presigned endpoint and `apiKey` with your BasiX key. Leave the other fields as they are.

    lua
    Config.ImageStorageProviders.fivemanage = {
      apiKey = "YOUR_BASIX_KEY",
      presignedEndpoint = "https://upload.basix.media/api/v3/file/presigned-url",
      path = "used-vehicles",
      metadata = "",
      retentionExempt = false,
      presignExpires = 900,
    }

Worth knowing

  • BasiX returns the presigned URL as `presignedUrl` and `url`, at the top level and under `data`, the same shape as the endpoint it replaces.
  • JG asks for a token that can also delete, because the resource removes old photos. On BasiX, deleting needs a full key, which needs a paid plan; an upload-scoped key cannot delete. JG’s documentation does not say which host the delete request goes to.
  • Source: https://docs.jgscripts.com/used-vehicles/image-uploads/fivemanage

Configuration last checked against the upstream project on 2026-10-27.

Try it on your own server

Create a free account and your API key is ready in about two minutes. 3 GB included, bandwidth never billed, no card needed.

Create a free account

Something not working, or a script not listed? Read the full FiveM docs or ask us — we will wire it up with you.

Related

← All integrations

JG Used Vehicles image hosting — BasiX