You need to sign in to do that
Don't have an account?
AmbigaRam
Which datatype is used to upload an image?
Hi,
I created the object with some fields which collects the details of students.
I want to upload an image via the field.
Which datatype is suitable for upload an image and how to do it?
Can I use the VisualForce for it? If it is, please help me how to do that?
Any help is appreciated.
Regards.,
R.Ambiga
Hi Ram,
You can use teh Rich Text field which has an option to upload an image.
Regards,
Ashish
All Answers
You can directly use <apex:image> tag in your vf page directly. First save the image in static resources in your salesforce org and then use..
<apex:image width="220" height="100" id="x" value="url of the image"/> something like this in vf page.
Thank You Ishan,
But Is there any datatype available for uploading an image?
With Regards,
R.Ambiga
Hi Ram,
You can use teh Rich Text field which has an option to upload an image.
Regards,
Ashish
Rich Text Area would be good enough