NetTalk Central

Author Topic: How to add an image to a button?  (Read 5182 times)

John Fligg

  • Sr. Member
  • ****
  • Posts: 361
    • View Profile
    • Ambrit Software
    • Email
How to add an image to a button?
« 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

John

  • Newbie
  • *
  • Posts: 1
  • John
    • View Profile
    • Email
Re: How to add an image to a button?
« Reply #1 on: April 09, 2012, 04:33:31 AM »
Hi John,

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

Regards,

John

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: How to add an image to a button?
« Reply #2 on: April 09, 2012, 05:27:54 AM »
John is right.

cheers
Bruce

John Fligg

  • Sr. Member
  • ****
  • Posts: 361
    • View Profile
    • Ambrit Software
    • Email
Re: How to add an image to a button?
« Reply #3 on: April 09, 2012, 07:56:14 AM »
OK but it does not work.

John

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: How to add an image to a button?
« Reply #4 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

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: How to add an image to a button?
« Reply #5 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]
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: How to add an image to a button?
« Reply #6 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

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: How to add an image to a button?
« Reply #7 on: April 11, 2012, 02:18:39 AM »
Ahh.  Ok.  Thanks Bruce!

Don 
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11