The tag has no usage guidance.

learn more… | top users | synonyms

3
votes
2answers
45 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 ...
1
vote
1answer
20 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
33 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
143 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
21 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
16 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 ...
2
votes
1answer
29 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
23 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
41 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 ...
1
vote
1answer
127 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
40 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
83 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
34 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
26 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
39 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
27 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
25 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
92 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
98 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
79 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
135 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
453 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
1answer
137 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
72 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
36 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
135 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
346 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
848 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
153 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
55 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
46 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
189 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
69 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
722 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
57 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
138 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
293 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
166 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
64 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
163 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
779 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 ...
2
votes
1answer
227 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
26 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
362 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
873 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
68 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
26 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
1k 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> ...