Wednesday 27 January 2016

Display image in server using portal.vm

Explanation: In this we just have a scenario , that how we can display an image using liferay_portal.vm
In this docroot, under docroot dff folder is there placed any image in image folder.
then open the liferay-portal.vm and put this code




                                           <mark>hello</mark>                                                   $images_folder                                                               <br><br>

                     <img src="$images_folder/image.png">


here $image_folder means _dff/image
image.png is the image that we have to display.




                                                                       hope this helps you...






No comments:

Post a Comment