The CreatorCon Call for Content is officially open! Get started here.

Rich Text Label in catalog Item not showing image apart from ADMIN

Pawan Kumar Rai
Tera Contributor

Hi All,

I am working on a catalog item where there is a rich text label is used in which there is image with text.
When i open the catalog item i can see the image and text properly.
But when other is opening for them its coming like below.
I seen acl but not able to find the error.

PawanKumarRai_0-1759482502226.png

 

2 REPLIES 2

G Ponsekar
Giga Guru

Hi @Pawan Kumar Rai ,

 

This issue is almost always caused by an Access Control List (ACL) that restricts access to the image file, specifically on the sys_attachment table. Since you, as an administrator, likely have broader access, you can see the image, but the other users do not have the necessary permissions. 
The image in the rich text label is stored as an attachment, and the ACLs on the sys_attachment table govern who can see it.
 
Best practice: Use the db_image table for public images
If the image is generic and meant for all users, it's a best practice to use the db_image table instead of embedding it as a record-specific attachment. Images on the db_image table are generally more accessible and can be moved between instances more easily with update sets. 
Steps to use the db_image table:
  1. Upload the image: Navigate to System UI > Images and upload the image.
  2. Get the URL: Once uploaded, the image record will have a [name].iix URL. Copy this URL.
  3. Insert the image: In the rich text label for your catalog item, use the "Insert/Edit Image" tool and paste the [name].iix URL. This will create a permanent, non-ACL-restricted link to the image.
 
 

If I could help you with your Query then, please hit the Thumb Icon and mark as Correct !!

 

Thanks, GP