The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
16 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
83 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
30 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
54 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
27 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 ...
0
votes
3answers
97 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
40 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
88 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
41 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
233 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
34 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
43 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
196 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
45 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
70 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
18 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
145 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
36 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
323 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
53 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
458 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
116 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
110 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
101 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
193 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
57 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
482 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
421 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
535 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
44 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
176 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
331 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
142 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
136 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
99 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
309 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
23 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
797 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
543 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
291 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
158 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
2k 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
95 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 ...
8
votes
0answers
367 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
252 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
703 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
143 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
474 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
281 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?