Twitter Card Implementation in Website


Hi Team ,

I am new to Twitter dev API and have few question

in our webapplication we have twitter integration where to Tweet the URL . Now we have a new enhancement where the user should be able to tweet the image along with the url.
I was trying to do with Twitter Card but i am lost with the meta tags and not able to understand how will I write those meta tags specific to the image.
Our application is in JSF and below is the code we have currently

<h:outputLink target="_blank" value="">
<h:graphicImage value="/images/twit_icon.gif" alt="share on twitter"/>
<f:param name="url" value="#{asset.mediaAsset.tinyUrl}" />


Can you help me to undertsand where should I start ?