The tag has no usage guidance.

learn more… | top users | synonyms

2
votes
1answer
17 views

How to save chatter post image as attachment

Whenever an image is posted in record chatter feed post, i want to save that image into attachment. How can i get the image from record feedpost. trigger FeedToattach on FeedItem (after insert) { ...
1
vote
1answer
33 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 ...
0
votes
1answer
19 views

Uploading images with Jpeg on contact

I have a custom field on contact called " Image of contact" where the users can upload their pictures. I have set the "Field Type" to be "Rich Text" since Rich Text allows .gif, .jpg, and .png file ...
0
votes
1answer
25 views

I can insert images in to Salesforce RTF fields using copy and paste functionality in my org on IE or Chrome, other users can't

A Salesforce specific Rich Text Field (I say Salesforce specific, because the RTF built in to Salesforce utilizes the Salesforce HTML editor so is assumed to have specific functionality pertaining to ...
1
vote
0answers
14 views

Get image from documents with file extension

I would like to get the URL from an image to display in a page that is going to be rendered as .doc. My problem is that while PDF is easy to render, just setting the renderAs attribute on the page, ...
0
votes
0answers
26 views

Image as a String in email method?

I have an image in String in a different method. I am trying this String to include in the HTML body of the other method, i.e SingleEmailMessage(). I have checked the Deliverability and its all mail....
2
votes
1answer
155 views

Why does one image load but the other doesn't

I have a formula field that loads an image based on a checkbox field. On the record it displays fine but on the related list on a visualforce page it breaks. A similar image loads in both instances. ...
3
votes
2answers
60 views

Get details of Image selected from <apex:inputFile>

I want to get the details of the uploaded image To choose Image I am using following code in VF <div class="form-group"> <label class="lbl">Image</label> <apex:inputFile value="...
1
vote
1answer
21 views

Add light indicator on page layout

I want to add red light and green light indicator on Opportunity page layout. If opportunity is in On-Hold stage then it should be Red else green. where can i get image file? and how can i show it in ...
2
votes
1answer
40 views

How to add two image upload fields to account object?

I'm needing my account managers to be able to upload two separate images to the account object. I don't see that there are any 'file upload' field types in the field data-type selections and I don't ...
3
votes
2answers
157 views

Adding an image from a document tab to email template?

I have many images in document tab and all are externally available. When I try to add the image in HTML & VF email template, the images look broken in outlook when its received. I thinks ...
2
votes
0answers
25 views

How to add image in email template dynamically?

I have a letterhead that I'll be using for different Email template. On VF page, I have a button which will take the screenshot of the page and store in a rich text field in a custom object. The ...
0
votes
1answer
22 views

Image size control in VF Page

I have below page where I want to reduce the image size but the height and width is not working here. It is not controllable and occupies the whole page area. Can someone let me know how to control it?...
2
votes
1answer
37 views

Way to use relative URL vs hard coding document ID?

How can you use a relative URL for an image file inside documents vs hard coding the document ID in HTML? I have an org to spin off templates that use images with the src linked to the document ID, ...
1
vote
1answer
25 views

Retrieving the profile photo for a user

Does anybody know how I can retrieve the profile picture for a user from salesforce? I need access to the url of the picture. Is it stored somewhere as a field value?
1
vote
1answer
47 views

Use a SMC landing page to dynamically generate an image

We want to include a countdown clock within our email. I am looking to reference a SMC landing page from within an image tag like so: <img src="http://pages.mail.domain.com/countdown-clock?...
1
vote
1answer
231 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 lighting component. The image is displaying correctly when I use that component in an App. But does not display anything when I use the same ...
1
vote
1answer
42 views

Support Tooltip on the IMAGE Function?

Does the Image Formula field have Alt Text? IF(Res_Date__c > NOW(), IMAGE("/img/msg_icons/confirm16.png", "All good")) When the user hover over the Image I want to have a text display in my case ...
0
votes
1answer
113 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 ...
0
votes
0answers
45 views

Upload User Profile Image using REST API

I am trying to upload User profile image using REST API in PHP but it gives me following error: "You have sent us an Illegal URL or an improperly formatted request." My code is as follows: $fp = ...
0
votes
0answers
34 views

Generating an Excel Workbook containing Images

I have to generate an Excel workbook containing images. At the moment, I'm using a Visualforce page with a text/xml contentType and the required mso headers. However, since the SpreadsheetML ...
1
vote
1answer
40 views

Ampscript - RSS & Enclosures

I'm trying to get the URL from the enclosure tag in an RSS to display in my email. I referred to this Retrieving images from RSS feed ExactTarget with AMPScript but the RSS I'm using doesn't include ...
1
vote
1answer
31 views

How to add Social Account image to community Visualforce page?

I'm setting up some custom Visualforce pages to be used in communities. When a user logs in, I want to use their image from the Social Account as a thumbnail image. But I can't seem to find the ...
0
votes
0answers
27 views

Store record with image attachment and thumbnail with iOS REST SDK

I'm trying to upload an image record which includes a description, image file and a thumbnail. I can create the record with the description and the thumbnail is just a formula field with the ...
4
votes
1answer
105 views

Code works in sandbox but not in production

Below is the code block for(Farmer_Biodata__c f : fam) { String imageurl = f.farmerimage__c; String imageId = imageurl.substringAfter('='); System.debug('Image id ' + ...
1
vote
1answer
111 views

The location of Rich Text area image repository

Does anybody know how to access Rich Text area image repository programmatically? What is the object behind? I'd like to upload some files there and then reference them in the Rich Text content (...
0
votes
2answers
85 views

Getting an image from a salesforce url using an apex controller

I am trying to get an image located at https://na1.salesforce.com/servlet/servlet.FileDownload?file=00P24000002sSRUEA2 in an apex controller and it complains about authorization..Below is my code ...
1
vote
1answer
162 views

Dynamically Generate Text to display over an Image in Apex

Is it possible to dynamically generate an image in Apex? So for example let's say I have 5 background images but need to dynamically display different text on top of the image according to the record ...
0
votes
0answers
499 views

IE11 issue -unable-to-decode-image-at-url-error

Have a page that displays logos of accounts. These logos are stored in attachment. This page when viewed via Salesforce, displays all logos. But when viewed via Portal, some show up and some does not....
0
votes
1answer
161 views

Upload image to Exact Target Portfolio using SOAP API (PHP)

I'm trying to upload an image from my computer to my Portfolio in ET using PHP. I'm having some trouble because I'm not sure how to set the URN and Source properly and I'm not finding any clues on the ...
0
votes
1answer
75 views

iOS Image upload Issue

I have successfully uploaded image using the following code NSData *data = UIImageJPEGRepresentation([UIImage imageNamed:@"background.png"], 1); SFRestRequest *request = [[SFRestAPI sharedInstance] ...
0
votes
1answer
37 views

Visualforce Page with an image

I have a two-column page block in which I have picklist (col 1), and depending on the value selected in the picklist, an image is displayed (col 2). My question is how do I get the image (col 2) to ...
1
vote
2answers
154 views

How do you make an image publicly accessible?

I wanted to store contacts profile pictures in the public folder and use the public check box to make them viewable on a wordpress website but the images always ask for a login to view. Here is a ...
0
votes
3answers
430 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 ...
2
votes
3answers
976 views

How to Upload image into visualforce page

I need to upload image into custom object record as a rich text. Iam trying with "apex:inputFile" but it not working. I need to develop the page like below screen, Is it possible using visualforce ...
0
votes
1answer
160 views

how to upload contact/lead profile image through REST API?

I have byte array data of user image and what is best way to upload contact/lead profile photo and what is the REST API for uploading the same. I have also social site photo url. is there any API to ...
0
votes
0answers
56 views

Please correct my formula

My formula working until the last stage (see **), but for severity 3 and Type = functional its not working, I mean its showing wrong icon. IF(Age_in_Hours__c > 3, IMAGE("/img/msg_icons/error16.png"...
2
votes
1answer
52 views

how to compress image Size for Save memory [closed]

i have to compress image after upload anyone give me code for image compress? Can any one help me. Thanks In advance
1
vote
2answers
198 views

How to display the default image if there is no attachment image

This is the default image code: <img class="logo" src="{!URLFOR($Resource.headerLogo)}"/> This is the attachment image: <apex:image url="{!URLFOR($Action.Attachment.Download,...
1
vote
0answers
70 views

Image doesn't display when I changed the Image name into dynamic

VF Page <apex:page controller="ImageController" showheader="false" sidebar="false"> <apex:form> <apex:image url="{!imageURL}"> </apex:image></apex:form> &...
1
vote
1answer
795 views

How can I display a document image in a VisualForce page so it works in a managed package?

I am making a managed package that contains an app that uses a document type image as a logo. I use the same logo on a VisualForce page in the same package, but that file is actually stored as a ...
0
votes
0answers
62 views

Image not displayed on Word doc / Email

I try to display an image in a Word document (version 2013) and in an email from a visualforce page but it doesn't work. A red cross is displayed instead of my image. First, I tried to use a rich ...
1
vote
3answers
1k 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 ...
1
vote
1answer
151 views

a formula field displaying an image is not working in partner community sf1, but is fine on sf desktop

a formula field displaying an image works fine in internal org and partner community salesforce desktop, but it does not on sf1 in partner community formula IMAGE(Photo__c, "Photo Unvailable", 200, ...
0
votes
1answer
316 views

How to Crop / resize the image using Apex

I have a requirement to provide an interface for uploading an image with cropping and resize option. Once the image is cropped, I need to send this to the server.can we handle it through Apex Code.
1
vote
0answers
171 views

GIF Images on Visualforce does not display properly in IE vesrions

I'm displaying a GIF image on a Visualforce page but it doesn't display properly on Internet Explorer versions (Displays larger and out of given style scales). But the GIF is displayed according to ...
1
vote
3answers
1k views

Display images from Salesforce Document folder

I currently managed to display some images(from salesforce Documents folder) on an extracted Excel sheet from Salesforce but I have hard coded the document Ids. So this might not work after creating ...
1
vote
0answers
65 views

how to view a picture in a word document on offline mode VisualForce

I trying to access a picture in offline mode ( without a connection), stored in a word document which i generated with visualforce but it gives the following error. Can you please, tell me if it ...
1
vote
1answer
173 views

How do I display an image that is an attachment on an sObject?

I know how to query the image with SOQL, but how can I get the actual file to display on a page? Not sure it makes a difference, but I would be retrieving the image via the REST API.
1
vote
1answer
828 views

Thumbnail images view based on notes and attachments

I created a "Property" Custom Object and have Notes and Attachments in the layout. Is it possible to create a Visual Force page the will show a thumbnail images of the files attached? I ofcourse ...