Hello folks,
Anybody help please. I need to include images on the contact form.
This is the form.
http://www.travel-cambodia.com/cgi-bin/f...cgi?form=7
Heang,
Your image calls currently consist of
src="l-tc.jpg"
Since you're running the form from the /cgi-bin/forms/ folder - That call then looks for the images in that /cgi-bin/forms/ folder which is incorrect.
You should update your image calls to:
img src="/l-tc.jpg" --- Starting with a slash to start at the root of your site. This will allow the image to always be found in the future if you ever create sub-folders.
i have deleted my post as i2 beat me to it LOL.
However, isn't it correct that not all cgi-bin's will allow images to be shown?
i have deleted my post as i2 beat me to it LOL.
However, isn't it correct that not all cgi-bin's will allow images to be shown?
Most do not allow html / images / etc to be viewed from the cgi-bin.
This is why they should be in the public folder. Normally
.com/images/ for example.
Then when making a call to an image in that folder, this will
always work:
<img src="/images/filename.gif">
In any folder of the site. Main public folder, sub folder...