# Docs/Web

## ▸Summary

This script includes wallpapers / live backgrounds which can be displayed on your interface. These wallpapers are hosted via **rlib's cloud**, which should only be temporary.

Your downloaded zip from [**gmodstore.com**](https://gmodstore.com) includes a **`docs/web`** folder which contains a series of static images and a live wallpaper .webm file that you can use as wallpaper to display on your in-game interface.

It is recommended that you utilize your own hosting server and upload the files provided in the **`docs/web`**&#x66;older. If the rlib cloud goes down; your wallpapers will not work.

You may also upload the images to a website such as [**https://imgur.com/**](https://imgur.com/) and use the link they provide after upload within your config to change wallpaper URLs.

####

## ▸Static Wallpapers

Static wallpapers are still images located in the **`docs/web/static`** folder. This folder includes a few demo wallpapers to get you started, however, you can use any images you'd like.

{% hint style="info" %}
Creating your own? We recommend you use an image size of **1920x1080** **minimum**.
{% endhint %}

####

## ▸Live Wallpapers

Live wallpapers are animated videos that are in **.webm** format. One is provided for you as an example, as well as a .php script which allows you to implement them in your script.

####

## ▸Upload / Webserver

* Upload the contents of the docs/web folder to your own hosting server.
* Open your script's background config file.
  * **`lua\modules\builderx\cfg\sh_cfg_bg.lua`**
* Locate the two tables associated with static and live wallpaper URLs.
  * **`cfg.bg.static.list`** and **`cfg.bg.live.list`**
* Edit the URLs to match your own webserver URL.
  * For static images; it is simply the path to your image:
    * *<https://yourdomain.com/web/static/1.jpg>*
  * For live wallpapers; use the .php file provided and add the video name:
    * *<http://yourdomain.com/web/live/index.php?id=default\\_1>*
* If you change the names of the files; then edit the paths accordingly.
* Once edited; save the config, and restart the server.

####

## ▸Upload / Imgur

[**https://imgur.com/**](https://imgur.com/) can be used for static wallpapers only. You will need to use your own personal webserver to host live wallpapers.

* Create an account on imgur.com
* Select **Add Images** and use the upload interface to select your static wallpapers and upload them.
* Once uploaded; select the photo and a popup will appear with a series of links on the right.
* Copy the **Direct Link** url
* Open your script's background config file.
  * **`lua\modules\builderx\cfg\sh_cfg_bg.lua`**
* Locate the static table URLs:
  * **`cfg.bg.static.list`**
* Edit the URLs to match your imgur direct URL.
  * *<https://i.imgur.com/yourimage.png>*
* Once edited; save the config, and restart the server.

![](https://76509209-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MQ057EIpmXJtZ_m1vrl%2F-MSrcsDDMktYVh6xvGhc%2F-MSrdU93nfGPkp5adMYv%2Fimgur_setup.png?alt=media\&token=19b961a0-b902-4746-81db-6fb44c757cac)
