I have a command link as below.
This is working fine, but I nee
You should remove value attribute and put <h:graphicImage> inside <h:commandLink>.
value
<h:graphicImage>
<h:commandLink>
<h:commandLink action="homePage"> <h:graphicImage value="resources/images/img.png" /> </h:commandLink>