NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: John Fligg on April 09, 2012, 01:30:20 AM

Title: How to add an image to a button?
Post by: John Fligg on April 09, 2012, 01:30:20 AM
For some reason I cannot get this to work.

In the image property for the button I enter 'print.png' and the image exists in web/images

But it does not show.

Any ideas please?

Thanks

John
Title: Re: How to add an image to a button?
Post by: John on April 09, 2012, 04:33:31 AM
Hi John,

Have you tried putting in 'images/print.png' ?

Title: Re: How to add an image to a button?
Post by: Bruce on April 09, 2012, 05:27:54 AM
John is right.

cheers
Bruce
Title: Re: How to add an image to a button?
Post by: John Fligg on April 09, 2012, 07:56:14 AM
OK but it does not work.

John
Title: Re: How to add an image to a button?
Post by: Bruce on April 10, 2012, 02:23:24 AM
to be clear;

this John:
>> Have you tried putting in 'images/print.png' ?

is right.

cheers
Bruce
Title: Re: How to add an image to a button?
Post by: DonRidley on April 10, 2012, 05:57:50 PM
Try using a backslash:

'images\print.png' 

This works for me. 

Also, it may be case sensitive. 

Don

[attachment deleted by admin]
Title: Re: How to add an image to a button?
Post by: Bruce on April 10, 2012, 09:10:26 PM
Hi Don,

it should work with a forward-slash too, and is slightly better aesthetically (when viewing with firebug etc.)

cheers
Bruce
Title: Re: How to add an image to a button?
Post by: DonRidley on April 11, 2012, 02:18:39 AM
Ahh.  Ok.  Thanks Bruce!

Don