Files is Johku's image gallery, where the shop's images are gathered in one place. You add an image to the gallery once and select it from there for as many products and categories as you like. The gallery also shows where each image is used. In addition to images, you can add SVG files and fonts to the gallery for the shop's CSS.
Where to find the Files page
Open Johku App and select Files from the menu on the right edge. It is below Settings in the menu.
The gallery already contains all the images that are in use on your shop's products and categories. They are marked In use. Images you add yourself aren't used by any product or category at the time you add them, so they are marked Not in use until you select them for use.
Add images to the gallery
Open Files.
Select Send and choose the files to add from your own computer.
The images appear in the gallery marked Not in use. Select them for products and categories as described in Select an image for a product or category.
Upload one high-quality source image to the gallery: Johku creates the sizes needed on the storefront from it automatically. The background of a transparent PNG, WebP or AVIF image stays transparent on the storefront too. You'll find the recommended image sizes on the page Images on your storefront.
SVG files and fonts for the shop's CSS
In addition to images, Files accepts SVG files, such as vector logos and icons, and font files (.woff and .woff2). You add them to the gallery in the same way as images. They are saved as they are. An SVG file is shown in the gallery as a preview image and a font as a font icon, for example WOFF2. SVG files and fonts can't be selected as the image of a product or category, and they aren't shown in the Choose from files window.
SVG files and fonts are used in the shop's own CSS:
Click the file in the gallery and select Copy URL in the side panel.
Paste the address into the CSS: an SVG, for example, into a
background-image: url(...)declaration and a font into an@font-facerule. Use the full address you copied, which starts with https://.
Search and sort files
With the tools at the top of the page, you find a file quickly even in a large gallery:
Search by name or title: a free-text search of the file's name or title.
Choose which files to show from the drop-down menu: All files, In use or Not in use. With the Not in use filter, you find, for example, images you have added but not yet selected for any product.
Sort the files from the second drop-down menu: Newest first sorts them by the date they were added, By name in alphabetical order.
Check an image's details
Click an image in the gallery. The side panel opens, and it shows:
a preview of the image
the image's file name and the file ID
the Details button, which you use to add a caption to the image
the Copy URL button, which copies the image's direct address to the clipboard
the Delete button, which deletes the image from the gallery. The button is available only when the image isn't used by any product or category.
the Used in heading, under which all the products and categories that use the image are listed with the way it is used, for example Main image. The link of a product or category takes you directly to its details.
Select an image for a product or category
Open the product or category in the Johku admin and go to the Images tab.
Select Choose from files next to the image slot you want, for example Main image or Additional images. The image gallery opens.
Select an image. For additional images, you can select several images from the gallery at once.
Save.
The image is now shown on the product or category, and in the gallery it is marked In use. The Used in list in the image's side panel shows the product or category and the way the image is used.
Adding an image with the Send image button
You can also add an image on the Images tab directly from your computer with the Send image button, as before. An image added this way is also saved automatically in the Files gallery, so you can later select it for other products and categories with the Choose from files button.
Good to know
The same image can be used by several products and categories. Before you change an image's details or delete the image, check in the side panel's Used in list what the change affects.
An image that is in use can't be deleted from the gallery, and the Delete button can't be clicked then. Open the product or category that uses the image from the link in the side panel's Used in list, remove the image on its Images tab and save. When the image is no longer used anywhere, you can delete it from the gallery.
Files used in CSS are shown as Not in use. Files doesn't recognize files used in the shop's CSS, so an SVG file, a font or an image can be deleted even if the CSS uses it. Check the CSS before you delete a file whose address you have copied there.
Related topics
Images on your storefront covers the recommended image sizes, image cropping and the placement of the main image.

