Foros de discusión
How to change image on classic theme
Laahari P, modificado hace 11 años.
How to change image on classic theme
New Member Mensaje: 1 Fecha de incorporación: 10/05/12 Mensajes recientes
I am trying to display an image on the classic theme. I have tried to write VM code in the portal-normal.vm file to display the image but it dosent get displayed. Please help let me know where all we need to change the code inorder to display the images.Any help will be appreciated.
#set( $address = "../images/common/add.png" )
<img src="$address" />
#set( $address = "../images/common/add.png" )
<img src="$address" />
Priyanka Dhingra, modificado hace 11 años.
RE: How to change image on classic theme
Liferay Master Mensajes: 501 Fecha de incorporación: 20/12/11 Mensajes recientes
i had the same problem so,
Alternatively, i added my image in custom.css
Alternatively, i added my image in custom.css
Amit Doshi, modificado hace 11 años.
RE: How to change image on classic theme
Liferay Master Mensajes: 550 Fecha de incorporación: 29/12/10 Mensajes recientes
Hi Guys,
You can use $images_folder and get the path upto the image.
Please check below link for more information.
http://www.liferay.com/community/wiki/-/wiki/Main/Access+Objects+from+Velocity
Thanks & Regards,
Amit Doshi
You can use $images_folder and get the path upto the image.
Please check below link for more information.
http://www.liferay.com/community/wiki/-/wiki/Main/Access+Objects+from+Velocity
Thanks & Regards,
Amit Doshi