function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
salesforce@14salesforce@14 

How to use Site.com in Visualforce page?

Hi,

    I need to insert my company logo(which is already designed using site.com) in VF Page. Can anyone tell how to achieve this functionality.

Thanks in Advance.
SonamSonam (Salesforce Developers) 
A logo has to be an image..right? can you please share a screenshot and elaborate how you wish to show the logo on the visualforce page?
salesforce@14salesforce@14
Hi sonam,
  
     Thanks for your reply. Yes. I want to display the image in VF Page.
 
salesforce@14salesforce@14
Hi sonam,

            I used site.com to design the logo and i am trying to insert my image in vf page.This is how my sample logo looks like in site.com.

User-added image



I used iframe tag in VF Page to display this image from site.com but i am not getting the image in my vf page instead of i am getting blank space.


My VF Page is like this.

User-added image

Thanks.
SonamSonam (Salesforce Developers) 
I understand you already have the logo image, I would suggest you to upload this as a static resource and use it in Visualforce as explained in the link below:
<apex:image url="{!$Resource.TestImage}" width="50" height="50"/>

reference:
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_resources_reference.htm
salesforce@14salesforce@14
Hi sonam,
  
     But my requirement is not using the static resource in vf page. I want to know how to use the logo from site.com to visualforce page.

Thanks.