previewing images

Post your questions and problem reports here

Moderator: kfury77

Forum rules
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;
Post Reply
bobkolb
Posts: 2
Joined: Wed Sep 06, 2006 6:59 pm
Contact:

previewing images

Post by bobkolb »

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.
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Post by Karlis »

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:

Code: Select all

<img src="images/myimage.gif">
this would be *wrong*:

Code: Select all

<img src="/images/myimage.gif">
Karlis Blumentals
Blumentals Software
www.blumentals.net
bobkolb
Posts: 2
Joined: Wed Sep 06, 2006 6:59 pm
Contact:

Reply to Karlis

Post by bobkolb »

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
Alan Palmer
Posts: 8
Joined: Thu Aug 10, 2006 3:27 pm
Location: London, UK

Post by Alan Palmer »

Your HTML code should say

Code: Select all

<img src="pictures/myimage.gif" ...
Post Reply