Questions tagged [images]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
19 votes
5 answers
13k views

Resize Image in Photo Upload in Visualforce before save in attachment?

Good Morning Friends, I am creating a Visualforce for my users to upload photos and these photos are saved in the attachments object, but I wonder if there is any way before the picture is saved I ...
Guilherme Gobetti's user avatar
6 votes
3 answers
31k views

Images not showing up in Email sent using email template

I know this issue is out there and I went through most of the "image not being displayed in email" questions, but nothing is helping me so far. I am sending some images in my email. In my controller ...
codeinprogress's user avatar
3 votes
1 answer
10k views

How to include images from static resources in lightning components used in communities?

I am trying to include an image from static resources in a Lightning component. The image is displaying correctly when I use that component in an App. But does not display anything when I use the same ...
Pratima's user avatar
  • 53
2 votes
3 answers
11k views

Displaying attachments on visual force page

I need to display attachments on a visual force page for the Case object. This is the code I am using. I had it working for awhile, but it somehow broke down. It gets all the attachments, but it will ...
TemporaryFix's user avatar
  • 2,937
1 vote
2 answers
6k views

Is is possible to display an image or icon in a Email using a Visualforce template?

I am trying to send an email using a Visualforce template and I want that template to include an icon. Is this possible?
dublintech's user avatar
  • 4,253
16 votes
5 answers
7k views

Is it possible to use images in Visualforce generated PDFs which are not static resources?

I'm trying to generate a Visualforce PDF (renderAs) with a variety of images from different sources includes Salesforce Attachments and Documents, as well as third party sites. So far I've only been ...
paul's user avatar
  • 1,019
10 votes
2 answers
6k views

How to set public inline images in Knowledge Base Article

Background I'm developing an standard FAQ using Knowledge Base Articles. I've defined an Article Type FAQ which contains a Rich Text field called "Answer". The FAQ articles are exposed to an ...
Martin Borthiry's user avatar
6 votes
2 answers
5k views

rtaimage servlet parameters...what does the refid refer to?

I have a blog on a force.com site. The content is read from a custom object that has rich text fields (yes, we rolled our own CMS and run through salesforce approval processes...it's a long story!) ...
Shane McLaughlin's user avatar
4 votes
2 answers
7k views

How to put large inline images into rich text field using content

An image in a rich text field is a link to 'something' in content and looks something like: <img src="https://c.{instance}.content.force.com/servlet/rtaImage?eid=a0yxxxxx&amp;feoid=00Nxxxx&...
Nick C's user avatar
  • 6,585
3 votes
5 answers
23k views

Display image which is stored in files

How can I display an image which is stored in files? For attachments I can use the code below, but it doen't work for files. <apex:image id="Stat1" URL="/servlet/servlet.FileDownload?file=...
peXeq's user avatar
  • 461
3 votes
1 answer
11k views

how to add background image to lightning

I want to add background image, to part of my header i wrote code like this. but its not working. <div style="{!'background:' + v.backgroundColor + ' url(' + v.backgroundImageURL +') no-repeat;...
praveen b's user avatar
2 votes
2 answers
4k views

Validation rule on Rich Text Area field

Using LEN() function, we are able to validate if a rich text area is blank, but when a rich text area with image is added, LEN() still say 0. How to validate whether rich text area field contains ...
sfdc's user avatar
  • 13.7k
1 vote
3 answers
5k views

Access Document(pdf or doc) without Salesforce login

I have 3 Document records with pdf, word document & image respectively. I need to show the files outside Salesforce(i.e without salesforce login). All of the records have 'Externally Available ...
Santanu Halder's user avatar
1 vote
1 answer
4k views

REST api to upload multiple notes and attachments at once

I am working on an app that allows customers to upload images, video, (even gif) into my app. Once the case is processed on my app, I want to place those media files into Salesforce. I have a case ...
Mark Brazinski's user avatar
12 votes
1 answer
3k views

Referencing Externally Available Images Absolute URL with My Domain?

Question Is there a way to reference externally available images when using my domain, such that it doesn't reference the data center? When I copy the url from the document itself the url still ...
Ralph Callaway's user avatar
12 votes
3 answers
16k views

Accessing an Image from Sites, stored in a Rich Text Area field

I have a Rich Text Area field in which I'm storing images only. When this field is accessed through APEX, an HTML tag <img> is returned with it's properties. In the controller of my VF page, I ...
Boris Bachovski's user avatar
7 votes
1 answer
3k views

Fetch image from Rich Text Field

I have built an export/import tool for Knowledgebase articles using Partner API. Everything works fine, the only functionality I can't produce is the ability to export images, hence obviously I can't ...
GoldenAxe's user avatar
  • 477
5 votes
3 answers
20k views

How can I dynamically load a static resource image in LWC?

I am trying to dynamically load an image from a static resource within LWC. When the user loads the page, a query parameter is provided called locationCode. Depending on the locationCode, a different ...
Salesforce_Noobie's user avatar
3 votes
2 answers
2k views

How can I create a custom chart without JS besides Google Charts?

Questions Now that Google Image Charts are deprecated and only have a year or two left before they can shut it off. Are there any other options out there for creating image based charts (as opposed ...
Ralph Callaway's user avatar
3 votes
1 answer
3k views

How to export the bulk of images in content in salesforce marketing cloud?

I need to export all images in content tab in marketing cloud. Here uploading option available. But I need to export/download. This option not available. Could anybody please tell me, How to export ...
Shriya's user avatar
  • 33
2 votes
2 answers
2k 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 ...
IzZbIzZy's user avatar
  • 134
1 vote
1 answer
781 views

Trouble adding externally hosted images on emails [closed]

I am really struggling with adding externally hosted images to emails. I don't have strong coding skills and I am just starting out with AMPscript but the syntax I am finding is all to call items ...
Montse's user avatar
  • 11
1 vote
2 answers
5k views

Formula Field - Image from zipped static resource

I need some help with a Formula Field (please don't send me visualforce code) image. I am trying to get the image from a zipped static resource. BCIGraphics is the zip file. Here is what I have ...
Matt M's user avatar
  • 1,477
1 vote
1 answer
4k views

How to create dynamic QR Code that opens a URL with dynamic Salesforce unique ID to show in Email Template?

What I have tried : 1) I already have a Campaign Member custom field (Using Formula Text) showing QR code on the detail page tied to their respective Campaign Member Id E.g. IMAGE('http://api....
compski's user avatar
  • 1,352
1 vote
4 answers
4k views

How to add an "Upload Image" button to an object that automatically inserts the URL of the image into a field

I have been developing a visualforce page that renders product catalog PDFs from a PriceBook2. It loops over every Product2 in the PriceBook2 and puts all their field values into a nice table. The ...
ag415's user avatar
  • 253
1 vote
3 answers
15k views

How to display image in lightning component from ContentDocumentLink

Does any one have idea about how to display image from files(in Lightning & API name is ContentDocumentLink)/* attachment in salesforce clasis*/ on Lightning component.
Shilpa's user avatar
  • 687
1 vote
1 answer
657 views

Is there a way to upload an image with the SOAP API into the Portfolio and see the URL in return?

I am trying to find a way to upload an image via API into the portfolio and then use that uploaded image in an email. I am able to use the following AMPScript, %%= Image(customer_key) =%%, ...
michael.rockway's user avatar
0 votes
1 answer
677 views

Getting error "Unknown property 'Product2StandardController.imageURL'" trying to access property from standard controller extension class

This is a follow up to my previous question here: How to add an "Upload Image" button to an object that automatically inserts the URL of the image into a field I am trying to add a file ...
ag415's user avatar
  • 253
0 votes
0 answers
74 views

Salesforce apex:output link image not downloading [duplicate]

I am trying to get images in table and when we click on that image,it should get download.I am using apex:outputLink but image is not downloading. <apex:column > <apex:facet name="header"&...
sfdc developer's user avatar
0 votes
1 answer
1k views

Is it mandatory to have Assests/Images/CSS present in SFMC?

We are about to kickoff with ipwarming. we have emails ready, but the assets used in email creation are hosted on different server(not present in SFMC). Is this something I should worry about, and ...
Suman's user avatar
  • 98
0 votes
0 answers
396 views

How to watermark a Image (gif,jpeg and bmp) in visualforce?

When adding media for the first time, add "staroff" watermark, approx 65% transparent, about 25% of lower right hand corner. If possible, reject if detect watermark before uploading. Best Regards
Sfdcprgmr's user avatar
  • 415