Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Image HTML tag, SRC from other web page

Status
Not open for further replies.

guitarzan

Programmer
Apr 22, 2003
2,236
0
36
US
I have an ASP program that sends an HTML email to certain groups of people in a database. I paste the HTML code into a textarea, and that gets sent. Works great.

But now, I'm trying to use FrontPage to create the HTML code; all is fine, except for pictures. To insert a picture, I find the pic on a website (actually, it's our own site), and drag/drop it into FrontPage. This works perfectly; the html shows as <IMG src=" and when I view the code, copy/paste it into the ASP program, and send the email, it works. So far so good.

The problem occurs when I save the HTML file in FrontPage (in case I want to use it as a base to create another email). FrontPage wants to "save embedded file", which I don't want to do... this gives it a path relative to the .html file, which doesn't work in an email, obviously.

Is ther any way I can force FrontPage to save the picture so it shows as <IMG src=" , and not <IMG src="pic.jpg">?

Thanks!
 
Doesn't Frontpage retain the absolute path if you do not save the picture to your local web? It will prompt you every time you hit save, but I think it would work.

Alternatively, before you copy the code, do a Replace and replace every <img src="images
with something like
<img src="
I know it seems there would be a setting you could adjust to force all src links to be absolute, but I don't think there is.



--Lilliabeth
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top