This will show you how to create a customer display using HTML. You will have control whether the image will stretch, cover the entire container or you can set it up to repeat.
In this sample we are going to set the image to object-fit: contain which will display the full image without cropping
Preparing the assets
- Download the "HTML Customer Display.html" attached to this article
- Image file size should have the height of you display resolution
- Locate your image file you want to attach to the customer display
Upload the image to your Cloud Retailer instance
- Go to your back office. yourinstance.cloudretailer.com
- Click on Admin > Global Attachments
- Click on Add new attachment at the very bottom
- Select the image. Mine is CR logo.png
- Click on Save
- Scroll down to the image that you uploaded
- Click on the box beside the x bottom to make the image accessible to public
- Click on None and select ALL from the drop down list
- Click save
Note: you can also use a third party site that will link directly to the image
Edit the HTML file
- Open the "HTML Customer Display.html" you downloaded earlier using your text editor
- Make sure the object-fit is set to contain
img { width: 100vw; height: 100vh; object-fit: contain; /* Displays full image without cropping */ display: block; }- Replace the {youinstance} with your instance and replace the imagefilename.fileextension with your image file. Mine is CR logo.png
<img src="https://youinstance.cloudretailer.com/Attachments/GetGlobalAttachment?attachmentName=CR logo.png">
Save your HTML file
Upload the HTML file
- Go to your back office. yourinstance.cloudretailer.com
- Click on Admin > Global Attachments
- Click on Add new attachment at the very bottom
- Select the "HTML Customer Display.html"
- Click on Save
- Scroll down to the html file that you uploaded
- Click on the box beside the x bottom to make the image accessible to public
- Click on None and select ALL from the drop down list
- Click on the HTML file to open a new tab. We are going to use the link in the next step
Create an new customer display schedule
- Click on Admin > Customer Display Schedules
- Click on Create New Customer Display Schedule
- Enter description and a code. The code can be the same as the description or an abbreviation of it
- Click on Add new entry
- Copy the link from step 9 of the Upload the HTML file section
- Paste the link to the Resource Url textbox
- Select Page in the type column
- Click on Save
Set the Register to use the Customer Display Schedule
You have to do this for all the registers available in the store.
- Click on Admin > Device / Register List
- Select the register you want to assign the Customer Display Schedule
- Click on the Edit Selected Register button
- Scroll down to the very bottom of the page
- Select the Customer Display Schedule you created in the drop down list
- Click Save
Apply Changes to the Register
- Sync your Cloud Retailer register
- Exit out of Cloud Retailer and Reopen it.
- Log in and you will see the new Customer Display you created.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article