I have an image being showed in a visualforce page. How do I set the height and width in this case? I tried width="200px" but I cant use this attribute.


<cxsrec:hasMapEntry map="{!candidateFieldMap}" key="Image_Url__c">
            <cxsrec:getMapValue map="{!candidateFieldMap}" key="Image_Url__c"  asImage="true" />

You seem to be using a custom visualforce component. You will have to look at how the component is implemented, and see if there's a way to increase the height and width of the image.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.