The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
13 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
56 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
53 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
55 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
69 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
236 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 ...
0
votes
0answers
60 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
38 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
34 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
90 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
121 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
470 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
113 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
41 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, ...
2
votes
1answer
41 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
159 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 ...
1
vote
0answers
56 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
501 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
42 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
809 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
101 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
227 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
117 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
820 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
52 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
91 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.
0
votes
1answer
623 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 ...
0
votes
0answers
58 views

How to create PDF attachment with images > 30 MB?

The VisualForce documentation for PDF rendering states that the total size of all included images in a PDF to be rendered by the VF engine must be < 30 MB. This works well in many cases, but when ...
2
votes
1answer
160 views

Show different banner based on user profile

I have two different banners used on my community site, one for internal users and one for external users. I would like users to see the banner corresponding to their user profile type. Could I make ...
2
votes
1answer
25 views

Shifting an image down

I have a search bar along with a search and clear button. What I would like is for the clear button to be centered with the search button. I have tried using padding-top on the image as well as it's ...
0
votes
1answer
276 views

How can I Wrap an Apex:image with a condition inside a pageBlockTable Column?

I want to display different images inside this pageBlockTable Column based on the value of a field. I am receiving this error: You may specify either a ''value'' attribute or a body for the ...
4
votes
1answer
625 views

How to Check if the uploaded file is Image

Can anyone tell me how to validate the uploaded file is image using blob data type? My vfp: < apex:page standardController="Contact" sidebar="false" extensions="DpConnectApiExt"> ...
0
votes
1answer
65 views

Control formula field display based on User

I have a requirement to display an Alert image that I have uploaded as a static resource to the User who is viewing the record only if the User is owner of the record. Can someone please guide me ...
0
votes
0answers
24 views

How to add picture column in OpportunityLineItem in SelectSearch page

I want to add a picture detail into OpportunityLineItem. I created a formula field with IMAGE but my page doesn't render the picture. The message is "Image Added by User...". Some of you've added ...
2
votes
1answer
908 views

Difference between servlet.imageserver and servlet.filedownload

I have my images stored as documents. I am able to access them by both these urls servlet/servlet.imageserver?id=<record id>&oid=<orgid> ...
1
vote
1answer
159 views

Do Google Charts still work with VisualForce Pages?

Currently working through Integrating Visualforce and Google Charts. After a bit of debugging, I managed to get my code to create a working URL for a chart, e.g.: ...
1
vote
0answers
171 views

Rewrite sfc/servlet.shepherd/version/download images path to real image name

I have links to Salesforce Content images which I'm using inside visualforce pages inside a Site, the links have the following path: sfc/servlet.shepherd/version/download/Image_Id. I want it to be ...
2
votes
0answers
150 views

How to download RTA image using url and oauth access token c#

Can any one help me download rta images using oauth token and url? I am trying this in C# and appending the access token to request. I am getting a html page with following script - <script> ...
1
vote
1answer
356 views

Display images in pageblocktable column

I'm new in Force.com. Been trying to display my products on pageblocktable. However, the issue here is that, the product image display the same for all column. I have image field in my custom products ...
3
votes
2answers
751 views

Display different Images depending on field's value

I have a requirement where I have to display different images stored in Static resource depending on a Lead's custom field's (Profile__c) value. Kindly help me with a sample code which states that if ...
3
votes
1answer
699 views

How do I get the actual image data from servlet.FileDownload?

I'm using the rest api to query the data from an account: Account/001234abcde and images attached to the account are stored like this: ...
0
votes
1answer
1k views

Display Rich Text Area field content in a page using Remoting

I have a VF page and a custom controller, Controller to Query for the Articles and a Visualforce page to display the details related to that article, such as Title, Summary, Custom Fields (Rich Text). ...
6
votes
2answers
393 views

Winter '15 causing broken image links?

I have a Java web app that connects to Salesforce to pull catalog information, etc. Today, the images on the page that are stored on Salesforce are showing up as broken links. When I visit the link ...
2
votes
2answers
205 views

Display different VF Pages depending on field's value

I have a requirement where I have to display different pages depending on a Lead's custom field's (Score__c) value. Kindly help me with a sample code which states that if the value of Score__c is 'A', ...
8
votes
1answer
180 views

PDF using Static Resource generated from REST doesn't display My Image

I have different ways in my organization to generate my invoice pdf and attach it to my records. My PDF includes a logo stored in a public StaticResource. It works perfectly everywhere except when I ...
2
votes
1answer
154 views

create attachment with text and images

there is a requirement to show text along with image inside a salesfore Attchment body. currently im using Attachment record = new Attachment(ParentId = call.Id, Body = ...
4
votes
1answer
464 views

create attachment in apex to store encoded signature

currently i'm displaying encoded signature in my apex page in this way : <apex:image value="data:image;base64,{!Call.Signature__c}" /> Now i want this encoded signature to be saved in ...
1
vote
0answers
28 views

How to import images under Solution notes in Case

We recently migrated the data from one org to another org... In the old org for some cases there were images embedded in the Solution notes section. We were able to migrate the text under the solution ...
6
votes
1answer
1k 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 ...
5
votes
1answer
898 views

How to access “servlet/rtaImage” resources over the API

Does anyone know if it's possible to access the images stored in a rich text area over the API using the username-password flow? I have images in Knowledge Articles that I would like to expose through ...