Image

i want to insert image for the application that i am building

i used

image() method

public static string image(string $src, string $alt='', array $htmlOptions=array ( ))

i want to know does

$src = path to image file??? ex: D:\image\image.bmp

i put the path but it is not showing the mage

only the alternative text is displayed…

Hi, you image path might be wrong, did you really check for it ?

Can you post here the line of code you wrote ?

You may want to either prefix your Windows path with ‘file:///’ or use your host’s path instead (like http://localhost/image.bmp).