Using Assets from File Library
If your assets have been uploaded to the file library, you can make use of these assets when designing the store theme, editing the product images, or conducting other operations that require the use of any asset in the file library. In this article, we’ll present to you two methods to use the assets.
Copying File Links
After uploading files to the File library, you can copy their public links or generate temporary private links, depending on how you want to use or share them.
To get a file link, follow these steps:
-
From your SHOPLINE admin, go to Settings > File library.
-
Enter a keyword in the search bar, then click the search icon or press Enter to find the file you need. You can search by:
- File name: Enter the full file name or part of it. Searches are case-insensitive.
- File format: Search by any of the 16 supported file formats. Searches are case-insensitive.
Note: Each search generates a search tag below the search bar. To remove a search filter, click the × icon on the corresponding tag.
-
Locate the file, hover over the link icon in the Actions column, and select one of the following options:
- Copy public link: Copy the file's public link, suitable for displaying or using files on storefront pages, product detail pages, or in theme designs. The file must be set to Public for the link to work.
- Copy private link: Generate and copy a temporary link valid for 10 minutes, suitable for short-term access or sharing. This option is available for both Public and Private files.
- A Copied confirmation message appears at the top of the page. Paste the link wherever you need to use it.
Selecting Assets from File Library
In modules such as product details pages or online store design, you can select and use assets from the file library. Below, we’ll take the product details page as an example for demonstration.
- When editing the product image on the product details page, click Add multimedia files.
- From the Select from file library pop-up window, select one or more assets, and click Complete. Currently, only images are supported.
| Note: The text displayed below the assets is the ALT (alternative text) attribute of the asset that you configured in advance. If the ALT attribute is not set for the asset, the asset title is displayed instead. For details about how to configure the ALT attribute, refer to "Add ALT Attribute in Image Library." |