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
Sunil SSunil S 

How to resize a richtext editor's image?

I use this to get the image of richtext editor, but i need to resize the image to display
<apex:outputText id="profilepic" value="{!emp.Profile_Picture__c}" escape="false" label="Profile Picture" />
William TranWilliam Tran
Try using the style attribute such as:

<apex:outputText id="profilepic" value="{!emp.Profile_Picture__c}" escape="false" label="Profile Picture" style="height:100px;width:50px;" />

Also, as a common practice, if your question is answered, please choose 1 best answer. 
But you can give every answer a thumb up if that answer is helpful to you. 

Thx
Sunil SSunil S
I have used it... but doesn't work William.
William TranWilliam Tran
Hmmm, are you wrapping it in any tags? 

Try using other html tags like div and see what happens.

<div style="width:100px;"> <apex:outputText id="profilepic" value="{!emp.Profile_Picture__c}" escape="false" label="Profile Picture"/>
</div>

Thx
Sunil SSunil S
No william, it's not working... :(