You need to sign in to do that
Don't have an account?
Puneet_Mishra
Sandbox Image source in rich text area pointing to production url
We got contact extract from production and there is a field of data type rich text area which is been used to store contact image. Data loading team uploaded the data to sandbox and we were able to display the images in our lightning component but image do not displayed on community when investigate we found out image source is pointing to production i.e. (img src="https://production.salesforce.com/servlet/servlet.ImageServer?id=01541000002yi92AAA&oid=00D41000000XUZ3") instead of sandbox. When we tried to upload the image manually the image src displays as (img src="/sfsites/c/servlet/rtaImage?eid=0035400000HkFAR&feoid=00N4100000eTIwO&refid=0EM5400000050K5")
Can anyone explain me
1. how image of production url is getting displayed in lightning component and on contact detail record but not on community?
2. How can we resolve this issue ?
I tried to search for solution but no luck. I appreciate your help.
Thank you in advance.
Can anyone explain me
1. how image of production url is getting displayed in lightning component and on contact detail record but not on community?
2. How can we resolve this issue ?
I tried to search for solution but no luck. I appreciate your help.
Thank you in advance.
Few other ways to show images in community :
- Use static resource and import in lightning component
- Use of Asset Files in Files --> Library and import in lightning component
- Upload images in RTF field from documents - https://salesforce.stackexchange.com/questions/235602/rich-text-area-image-not-showing-up-in-community
Regards,Shraddha