Questions tagged [images]
The images tag has no usage guidance.
254
questions
1
vote
1
answer
130
views
When I upload image assets to my Experience Cloud site, Salesforce compresses them and they have poor quality
I am using an out-of-the-box theme & standard components like the hero component. The images I upload to the site get compressed to a very small file size (less than 2 KB) when served up to the ...
0
votes
0
answers
29
views
Sharinpix Mass Download - Alternative
Our org uses SharinPix to upload images to Opportunities, Tasks & Events. When we initially switched over to SharinPix, we needed a way to view these images in a user-friendly way (mainly for ...
0
votes
2
answers
1k
views
LWC display image attached to custom record
I want to show a photo, like an Id photo that is attached to a custom record. I've tried notes and attachments as well as files to upload the photo file. I need to show the photo in an lwc. I've tried ...
1
vote
1
answer
170
views
Image limits in Content builder
I found that there is a limit on the size of the image (5 MB) in Content builder
https://help.salesforce.com/s/articleView?id=sf.mc_ceb_supported_file_types.htm&type=5
But is there any limit on ...
0
votes
0
answers
41
views
Include an image URL from a RSS feed
I am trying to insert a image from a blog post in to an email from a RSS feed. I can get it to inject the image, but the way it comes in it has HTML tags on it already, preventing me from adding my ...
-1
votes
1
answer
137
views
Error: Incorrect number of parameters for function 'IMAGE()'. Expected 2, received 3
IF(
LastActivityDate < DATE(YEAR(TODAY()), MONTH(TODAY()), DAY(TODAY())) - 30,
IMAGE("/img/samples/flag_green.gif", "green"),
IF(
LastActivityDate > DATE(...
0
votes
0
answers
54
views
Is there a good mechanism for making small images such as logos publicly available?
I read that "public" static resources are only accessible if already cached which probably explains sporadic results I've had:
Public specifies that the static resource data cached on the ...
0
votes
0
answers
877
views
Recommended Image Sizes for Experience Cloud site
Im currently building a Experience site using the "Customer Service" template.
I raised a case with Salesforce Support to ask what the recommended image sizes for the Customer Service ...
0
votes
1
answer
49
views
No Image Attachments Found in site.com error msg
I created a public site with community, however the image (using lightning image slider) from the different tabs aren't showing for public users. My images are in a files folder, I enabled chat for ...
0
votes
1
answer
583
views
How to use static resource image without import in LWC Dynamically
I am calling a apex controller in lwc component to get the required image's static resource name & I want to use that Image in LWC component. Since I can't import the independent static resouce ...
0
votes
0
answers
60
views
ContentVersion Images not being retrieved in Mobile Browsers
I am storing images for LWCs as ContentVersions so that I can upload them as Files related to a Custom Object. These images show up completely fine in desktop browsers, however, I can not seem to get ...
0
votes
1
answer
435
views
Cannot get User's profile image to display in another object
I have a custom object named Student__c, which has a lookup Field User__c to User. I want to create a formula field Avatar__c in Student__c to get the User's profile image to display in this object.
I ...
0
votes
1
answer
328
views
How to open a link on a LWC Carousel in a new tab?
I am quite new to Salesforce and web dev so please bear with me.
I have a lightning web component with a lightning-carousel and multiple carousel-images.
Each of the images also has a link to a ...
0
votes
0
answers
180
views
unable to preview Attachments as an image on public site
I have created a visualforce page and hosted it on a public site. I am showing contact and account attachments as images.
When I try to preview it using developer console, it is showing the images, ...
1
vote
1
answer
65
views
Adding logos into fields
Long shot, but does anyone know how Spekit is able to add their logo to every single field in Salesforce?
Would like to add my own logos into fields such as Picklist, Text, Formulas etc to show to the ...
1
vote
0
answers
210
views
SFMC shared email message's images not displaying in Chrome after sent from a different business unit?
Emails from business unit A are shared with B, but when the shared email is sent from business unit B, the email's images do not display in Chrome.
Any insight into why images only display in Chrome ...
2
votes
1
answer
661
views
Resize lightning input rich text image
I am using lightning-input-rich-text component to compose emails within Salesforce. I am able to insert/ copy-paste an image but couldnt resize it. As per lightning-input-rich-text documentation, it ...
0
votes
2
answers
1k
views
How to show images on visual force pdf
I want to show image on visualforce pdf screen.
The image file is in the related lists files.
ResumeController.cls
public with sharing class ResumeController {
public List<...
2
votes
1
answer
12k
views
Fix violation on Content Security Policy directive: "img-src 'self'
New to lightning Web Components and trying to follow a simple tutorial by adding an image to an lwc component. When I deploy it to the org, I get an error on the browser:
Refused to load the image ...
-1
votes
1
answer
1k
views
How to add image in Visualforce Email Template?
I'm trying to add a logo in a Visualforce email template. I uploaded the image as a static resource and am referencing the URL for it in the img tag as below:
<img alt="Logo" src="{!...
1
vote
1
answer
611
views
Before After LWC Slider
I am trying to create an image before and after comparison slider in LWC. I am using the code from this guy (https://codepen.io/Coding-in-Public/pen/NWyjZwO) but when I put the component on a page the ...
0
votes
1
answer
75
views
Broken URL, that was insertet per Lookup
Hello I have the following Problem:
I am using AMPScript in order to retrieve a picture, saved as an URL link in a data extension. However, some of the URLs are broken (unknown reason) and i want to ...
0
votes
0
answers
136
views
Salesforce static resource image upload via Mule4 not displaying
I have to upload images to static resources via mule 4. The code works fine without any error but the image not displaying in salesforce static resource. I'm getting 200 responses instead of 201. When ...
-1
votes
2
answers
2k
views
Displaying Images on List View
Is there an easy way to display an image that's related to a record within a list view? The image would be different for each record. An example would be having a list of homes with an image of the ...
0
votes
1
answer
330
views
Email thumbnail could not be retrieved under Individual Email results
We have Marketing Cloud connected to Sales Cloud connected with MC Connect. Now these emails are shown as Individual Email Results in Sales Cloud. All works well but the problem is its not showing ...
0
votes
1
answer
1k
views
How can you get the merge field to take a url field from an object and set it to show up as a picture image in lightning email template?
I am trying to have Salesforce LEX Email Template populate a specific image from a field that's from a Account object and (fyi) the field data type is URL. My idea was simple, put the url into the ...
0
votes
1
answer
3k
views
Adjusting image size
I want to fix size of any image in lightning web component , I used this code but when the image is small the image take just her size that work just if the image is to large .
How can I fixe this .
&...
0
votes
0
answers
258
views
SFMC - Use image in SFTP in an email
An external platform generates QR images and leaves them in SFMC's SFTP. I want to use these images to insert them into an email. I know that if the image is in a Content Builder folder I can use the ...
0
votes
2
answers
3k
views
Display current user's profile picture in <lightning:fileCard fileId=""
I'm currently retrieving the current user's profile picture with the SOQL query:
String image = [SELECT Id, isProfilePhotoActive, MediumPhotoUrl FROM User WHERE Id =: UserInfo.getUserId()][0]....
0
votes
1
answer
673
views
Visualforce Page Quote Template, Display jpg from Rich Text Field or Rich Text
In our quote templates, some sites have very specific site terms where logos have to be displayed in the Quote.
Currently, the Site terms are in a Text field (Site_Information__C) that gets pulled ...
3
votes
2
answers
1k
views
Creating a chatter post with inline images from Flow
I was trying to make a Chatter Post from a Flow.
I have a ScreenFlow in order to get the richtext from the user, I save it in a variable and try to convert it in a Chatter Post via ConnectApiHelper.
...
0
votes
1
answer
703
views
favicon not working in chrome (SFCC)
The fav icon on our site is not showing up in chrome or opera but is working well in firefox.
The code:
<link rel="shortcut icon" type="image/x-icon" href="${URLUtils....
0
votes
2
answers
753
views
Create DistributionPublicUrl with image format
I need to send Image Url (which is stored in Salesforce) to External Service.
I can send only url, there are no possibility to send Blob or something else.
I created DistributionPublicUrl with ...
0
votes
1
answer
2k
views
Images attached using Email Template Builder not displaying in Outlook
This question might have been asked a lot, went through a few posts they didn't help.
I am trying to attach images to the email template using email template builder in Salesforce. I was able to do ...
0
votes
0
answers
379
views
IMAGE() value as a formula isn't working
I have a formula field, where I want to display a resource based on the user.
I Upload a small 25X25 image to static resources.
I than have a field on the user, which is the resource updated:
"/...
0
votes
1
answer
309
views
get image size properties with SSJS
What am i trying to do:
I'm setting up a responsive e-mail template in Marketing Cloud using images from a datafeed.
The image url's are successfully retrieved from the datafeed with AMPscript.
...
0
votes
1
answer
1k
views
Get image by Content Key added by the User, using ContentReference in code's metadata
I'm new to Salesforce and I'm stuck with showing an imaged added by ContentReference, when adding the image in the Experience Builder it returns a Content Key like this "...
0
votes
1
answer
439
views
Can I add the User Profile image in a list view or report?
We want to show our user's profile image in a list view or report.
something like this (from other apps)
Is it possible?
I tried creating a formula field, but can't access the smallimage property.
0
votes
1
answer
705
views
Issue with attachment in EmailMessage created via Apex trigger
I have a logic in EmailMessage trigger to create a new case when customer replies to a closed case.
If the case is closed, I am cloning the case record to create new case. Since we cannot reparent ...
0
votes
0
answers
244
views
REST image upload returning empty json body
Trying my first rest API call with SSJS. I'm trying to upload an image as per this guide https://sfmarketing.cloud/2020/02/29/create-a-cloudpages-form-with-an-image-file-upload-option/
On my landing ...
2
votes
2
answers
1k
views
Find the name of an image based on its URL in Marketing Cloud
As part of our blog subscription process, we send out an automated email, confirming someone's subscription. The email includes an image that is stored in our Marketing Cloud platform, although the ...
0
votes
1
answer
4k
views
Add logo image to html email template
I have a small (hopefully) issue that I'm not able to find a solution to.I've added a logo to Documents in SF Classic, to use in an html template for when users need to create and send emails from ...
0
votes
1
answer
1k
views
I cannot see the files that I upload by lightning:fileUpload
I am creating a profile page for the user to upload their photos.
To carry out the image upload, I use the component lightning:fileUpload, since when uploading a file it returns the id saved in files. ...
0
votes
1
answer
443
views
How to make Product Images visible in Partner Community when user selects "Add Products" on an opportunity
I uploaded images to "Files" and created to Fields on the Product Object, "Product Image"(Formula) and "Product Image Link"(Text255). My formula below displays images on ...
0
votes
1
answer
2k
views
Customize Lightning Carousel in lwc
I'm trying to remove the "Description" from carousel, want to diplay only the image. Is it possible? I'm looking for it in documentation but wasn't able to see any information about that. ...
1
vote
1
answer
1k
views
LWC - lightning carousel - not able to use within a for:each loop
I have a string vector that I'm gettig from js, when this variable has just one element the image is rendered. Below is my code (to work with one element I have to comment template). What is the right ...
0
votes
1
answer
2k
views
Image not Working on PDF rendered page
I created visual force that converts the page to PDF as below
VF Page
<apex:page controller="PDFGenerationTest" lightningStylesheets="false" renderAs="pdf" showChat=&...
0
votes
1
answer
2k
views
Adding image in the sender profile
Is it possible to add an image to the sender profile or the HTML code in the Marketing Cloud so that my custom logo shows in the inbox in this place instead of this grey icon? How can that be achieved?...
1
vote
2
answers
207
views
VF Email Image loads when sent via 'Send Email and Verify Merge Fields' but not by community
I am currently trying to create a Welcome Email for SF Community. The email includes an image stored in Static Resources (Cache-control = public).
When I tested initially using "Send Email and ...
0
votes
1
answer
333
views
My visualforce PDF does not render webp image
There is a PDF which worked perfectly rendering png or jpg images, but now the images are being uploaded to salesforce they are webp format.
I have not been able to render this type of images in the ...