Design and CSS styles
Version 4.x > Design and CSS styles > Button Image URL in cmssearchbox webpart View modes: 
User avatar
Member
Member
AP-Kentico - 7/24/2009 4:31:02 PM
   
Button Image URL in cmssearchbox webpart
Hi,

Instead of using an image from the file system, I want to use an image uploaded in Kentico. What URL should I choose for the same in cmssearchbox web part properties?

Only when I give the path like this (/CMSPages/GetFile.aspx?nodeguid=97865585-a729-4ad8-8d8e-91de4ee9c504), it works. Can I give a path like ~/Images/image.png or ../Images/image.png etc?

Thanks,
AP

User avatar
Member
Member
kentico_pavelk - 7/27/2009 8:40:18 AM
   
RE:Button Image URL in cmssearchbox webpart
Hello,

You can use relative paths with tilda. Please find an example below.
~/Images-(1)/homepage.aspx


Best Regards,
Pavel Knotek