anandknr
Member
Hi all,
I have an issue with image tag in html page.
In my project there are two folders, html and img .
html folder contains the html files and img folder contains the images.
I have a home.html and the only html tag it contains is <img src="../img/home.jpg"> and the img folder contains this home.jpg .
when i open it locally in a browser (right click open with IE) everything ok....home.jpg is showing.
Now, i compiled the home.html without any errors and when run from the server image home.jpg is not showing.
As my senior said i put the home.jpg in the folder /var/www/html/images ...now its showing when run from the server.
But i want to put home.jpg in my application folder(img folder) not in apache folder.
How could i do this...please help
I have an issue with image tag in html page.
In my project there are two folders, html and img .
html folder contains the html files and img folder contains the images.
I have a home.html and the only html tag it contains is <img src="../img/home.jpg"> and the img folder contains this home.jpg .
when i open it locally in a browser (right click open with IE) everything ok....home.jpg is showing.
Now, i compiled the home.html without any errors and when run from the server image home.jpg is not showing.
As my senior said i put the home.jpg in the folder /var/www/html/images ...now its showing when run from the server.
But i want to put home.jpg in my application folder(img folder) not in apache folder.
How could i do this...please help