
I was uploaded one image with 300*200 pixel size in rich text area filed, but i want to show same field in my visualforce page with two different sizes.
i.e: in one place i want to decrease the size of present image as 175*125 and in other place same size as i mentioned first, so how it is possible in salesforce.
for that i used below code:
<apex:outputtext value="{!customobject__c.pic__c}" style="width=300;hieght=200;"/>
<apex:outputtext value="{!customobject__c.pic__c}" style="width=175;hieght=125;"/>
plz help me

I am having the same issue. We are using Rich Text Fields to input in profile pictures on Contact Pages. I would like to be able to automatically constrain the size of the images as they are rendered on the custom visual force pages.
<apex:pageBlockSectionItem >
<apex:outputText value="{!Contact.ProfilePic__c}" escape="false" />
</apex:pageBlockSectionItem>
The above snipet lets me display the image from the Rich Text Field, however no attempts from the last 2 days have allowed me to resize this image.
I have tried, but didn't work:
<apex:outputText value="{!Contact.ProfilePic__c}" escape="false" />
<style>
sfdc_richtext img{ border: 0; height: 100px; width: 75px;}
</style>
I have tried, but didn't work: <dev></dev>
I have tried, but didn't work:
<apex:outputText id="ProfilePic" value="{!Contact.ProfilePic__c}" styleClass="customImage" escape="false" />
<style> height:100px; width: 75px;
</style>
...and about 50 other iterations including multiple attempts using the <apex:image> tags.
Sample of apex:image that didn't work.
<apex:image id="ProfilePic" value="{!Contact.ProfilePic__c}" width="200" height="200"/>
Any help would be appreciated?