I am a newbie to HTMLPad.
When I preview from the editor, I see the web page and the blocks where images are to appear, but the preview does not pick up the image.
The image is in a sub-folder. How can I configure the program to show images?
Thanks,
Bob K.
previewing images
Moderator: kfury77
Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
Please try to follow these guidelines. This will help to receive faster and more accurate response.
- Check the Support section of the corresponding product first. Chances are you will find your answer there;
- Do not create new topics for already reported problems. Add your comments to the existing topics instead;
- Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
- Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
- Include the version number of the software you are using;
- This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
- Karlis
- Site Admin
- Posts: 3605
- Joined: Mon Jul 15, 2002 5:24 pm
- Location: Riga, Latvia, Europe
- Contact:
Do you use server-side preview? Or are you previewing simply an HTML file saved to your local disk?
Most likely the problem lies in the image path format. If you have say images\ subfolder under the folder containing the html file, then in your html file you should reference to your images like this:
this would be *wrong*:
Most likely the problem lies in the image path format. If you have say images\ subfolder under the folder containing the html file, then in your html file you should reference to your images like this:
Code: Select all
<img src="images/myimage.gif">
Code: Select all
<img src="/images/myimage.gif">
Reply to Karlis
Thanks for answering. I am just trying to preview files on my local hard drive. I didn't know you could preview from the web.
So I have say index.html that I am working on in the root index, and the images is in the sub-directory: \pictures\myimage.gif
So how do I tell the program to look in that sub-directory to pick up the myimage.gif?
Thanks,
Bob
So I have say index.html that I am working on in the root index, and the images is in the sub-directory: \pictures\myimage.gif
So how do I tell the program to look in that sub-directory to pick up the myimage.gif?
Thanks,
Bob
-
- Posts: 8
- Joined: Thu Aug 10, 2006 3:27 pm
- Location: London, UK
Your HTML code should say
Code: Select all
<img src="pictures/myimage.gif" ...