You need to sign in to do that
Don't have an account?
Rich text image and sencha
Hello,
So I was able to query the image from salesforce and it returned me a string.When I click on the link it takes me to a page but there is no image. I checked the link of the image and they are the same except the URL that salesforce gave me via soql query added the "&" to the URL. How do I get rid of that? Also when I set the HTML of an image component from sencha it interprets the tags as a string and display the HTML code instead of the image. When i try to set the source of the image component it adds looks for the image in static resource using the URL as the path name to the resource. Sorry about all the question, but am at a dead end.
You should be using panel instead of directly using the image. You can then use the setHtml() function as illustrated below.
View
Controller
Get the URL from JSON as follows
Finally, set the HTML as follows
I use this frequently and it works well. I hope this helps.
Gaurav
All Answers
You should be using panel instead of directly using the image. You can then use the setHtml() function as illustrated below.
View
Controller
Get the URL from JSON as follows
Finally, set the HTML as follows
I use this frequently and it works well. I hope this helps.
Gaurav
Your Amazing Thank you.