The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
35 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
21 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
90 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
21 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
25 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
72 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
37 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
44 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
16 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
84 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 ...
0
votes
0answers
28 views

Send email via SOAP api with image

We are trying to use the Salesforce SOAP API to send an email with some minimal images. We prefer not to link / reference external hosted images, and would like to use CID attachments. Is this ...
4
votes
1answer
199 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
49 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
19 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
300 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
92 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
86 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
90 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
125 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 ...
0
votes
0answers
33 views

How to add a profile picture for each record -point-click appli mycation (without using any apex and VF code)

I am having Custom Object, where I wanted to add profile picture for each record, which I want to achieve by creating some formula fields, browse and attach profile image of the person. Note : I dont ...
3
votes
2answers
369 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
320 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
373 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). ...
0
votes
0answers
34 views

Why are User profile default thumbnails smaller than uploaded photos?

I am pulling a list of users and their associated profile picture. When they have a profile picture, the image is 64x64. When they have the default no-picture image, it is 45x45. ( the blue slightly ...
0
votes
0answers
154 views

Image upload on inline Visualforce page in detail view

I need to display the image on inline Visualforce page on the detail view of contact. if anyone upload more than one image then last uploaded image should be display. so please give me the code. I am ...
6
votes
2answers
299 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
128 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
122 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 ...
1
vote
1answer
77 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
248 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
22 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
659 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
453 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 ...
0
votes
0answers
243 views

How to implement a Image Gallery for a Visualforce Page?

I'm searching for a way to implement a Image Gallery for a Visualforce Page. The Image Gallery have to bind to an List<> Obj where are custom Image Objs contained. This custom Image Objs have a ...
0
votes
0answers
140 views

Using Salesforce style/css for table sort order

I've created a custom page which apes the standard related list layout. I want to use the same CSS styling to indicate that sorting is on a particular column. This is what it looks like on a standard ...
3
votes
3answers
1k views

Visualforce background image

I'm trying to make an image the background of my Visualforce page. I've tried every single way I can think of to reference the image from static resources. I've created a zip file with both the image ...
1
vote
0answers
84 views

Getting image file thumbnaiil with oauth_token parameter

I am trying to get the thumbnail for an image that has been posted as a file to the chatter. I have been able to do this for a User Profile image by sending &oauth_token=(my oauth token) as a ...
7
votes
0answers
310 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 ...
1
vote
2answers
209 views

Render different image depending on Case Status

Can I have a VF page that is a Top SideBar for a Case in Service Cloud Console. Can I have if show a different image depending on what the Case status is? For example, if the case Status is changed ...
9
votes
2answers
621 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 ...
1
vote
0answers
126 views

Convert attached pdf to image

I can't seem to find a solution to this anywhere. We have a requirement to convert pdf files that are attached in Attachments to a png or bmp. Are there any apex utilities or such that can be used for ...
1
vote
1answer
438 views

Using APEX variable to preview an image in visualforce page

I am trying to preview an apex:image in a visualforce page, which is going to be specified among this apex variable and taken from the static resources. Here is my code public sObject Object_A {set; ...
2
votes
1answer
195 views

Standard page image headers in VF page

I want to emulate the header image and text on the standard Task edit page in my VF page. Is there any built-in components to do this, or do I just have to use raw HTML and a static image resource?
0
votes
0answers
389 views

Image is not Displaying properly?

I have used this formula to show different image based on stages. CASE(Stage__c, "S1" , IMAGE("resource/1386053185000/StageColorPink", "pink",15,15) , "S2" , ...
4
votes
1answer
494 views

Show Chatter image in Formula field

So we have an object to which some images are attached via the Chatter feed. Imagine the Id of the FeedItem is 0D5b000000L3ZEE. Now I want to have a formula field that uses the IMAGE() function to ...
1
vote
1answer
272 views

How to add sliding image to site.com

I am designing a site.com in this site i am trying to get 3 image from static resource and need to slide using jQuery. Is this possible? If there is any way to get the scenario done please guide me. ...
5
votes
2answers
2k 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 ...
1
vote
1answer
236 views

Image URLFOR getting error after packaging

I am developing a package, where i have to display a set of images. This images can be customize able according to the need of user. For this i have a set of default and if the user want to display ...
3
votes
2answers
594 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!) ...
5
votes
2answers
2k 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 ...