Wednesday, 16 November 2016

Vm file image src

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


                                          $images_folder                                               

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


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


No comments:

Post a Comment