a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Hosting from $3.99 per month!

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions. dd

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

Frontpage leaves images unavailable when imported to web

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> General Web Development >> Frontpage leaves images unavailable when imported to web
Page: [1]
 
joewood3

 

Posts: 7
Joined: 10/29/2004
Status: offline

 
Frontpage leaves images unavailable when imported to web - 1/3/2005 22:46:05   

I regularly import hundreds of HTML pages from an Excel program to a text file and sent them to Frontpage in a large group. Everything works perfectly, BUT the images files are being sought out on my C: drive. So, the pages look fine on my PC (since the images reside on my PC), but on any other PC using the web the images are X'd out.

I know that if I look at each individual page in Frontpage and save it, the image will transfer over. But, I cannot do this for every page every time I do the import.

Please let me know how to have all the images that have their target initially to my PC, change so that the images are visible when the whole web is published.

Thanks!

Joe
bobby

 

Posts: 11399
Joined: 8/15/1969
From: Seattle WA USA
Status: offline

 
RE: Frontpage leaves images unavailable when imported t... - 1/3/2005 23:03:40   
Are you publishing to the web... or importing to..?

I've never done anything like that with an xls file, but it sounds like what FP 2000 and 2002 used to do from time to time... and that was to forget to change the file path on all of the images.

The way to fix it was to Republish (sometimes worked) or use the Replace > Find in HTML > All Pages and replace the C: path with the correct one.

... at least that's how I did it when it used to happened to me. It really sucked on 100 + page sites. Luckily I never had to work on one any bigger than that.



_____________________________

In order to remove a wall you must first remove the Windows®


:)

(in reply to joewood3)
joewood3

 

Posts: 7
Joined: 10/29/2004
Status: offline

 
RE: Frontpage leaves images unavailable when imported t... - 1/4/2005 13:07:40   
My files are imported. Doing a replace won't work because the files need to become embedded first.

How can I embed files for all pages at once instead of one at a time as each page is saved?

thx

(in reply to bobby)
bobby

 

Posts: 11399
Joined: 8/15/1969
From: Seattle WA USA
Status: offline

 
RE: Frontpage leaves images unavailable when imported t... - 1/4/2005 13:41:58   
If you're talking about the image files, they aren't "embeded" they are simply placed on the page using the <img> tag.

The source attribute of the <img> tag tells the server where to pull the image from...

If it's pointing at your C: drive then it'll only work on your computer.

Example:

<img src="C:/files/pictures/image.jpg">

should be easy to change to:

<img src="images/image.jpg">

Simply by replacing "C:/files/pictures" with "images" on all pages...

Unless we're talking about totally different things..?

I'm gonna move this over to the Advanced forum... maybe we can get some more response from there.

:)

_____________________________

In order to remove a wall you must first remove the Windows®


:)

(in reply to joewood3)
dpf

 

Posts: 7126
Joined: 11/12/2003
From: India-napolis
Status: offline

 
RE: Frontpage leaves images unavailable when imported t... - 1/4/2005 13:49:09   
ive been watching this and my thoughts were exactly as bobby's...image files arent embedded (which seems to be a common misconception lately).
im also somewhat confused by this:
quote:

I regularly import hundreds of HTML pages from an Excel program to a text file and sent them to Frontpage in a large group. Everything works perfectly, BUT the images files are being sought out on my C: drive. So, the pages look fine on my PC (since the images reside on my PC), but on any other PC using the web the images are X'd out.

I know that if I look at each individual page in Frontpage and save it, the image will transfer over. But, I cannot do this for every page every time I do the import.

do you mean literally that you send hundreds of pages of html into a single text file and then send to FP? how does it then become multiple pages in FP? and what are the images that were in excel?

_____________________________

Dan

(in reply to bobby)
joewood3

 

Posts: 7
Joined: 10/29/2004
Status: offline

 
RE: Frontpage leaves images unavailable when imported t... - 1/4/2005 13:59:31   
Thanks. Coould you tell me how to follow this into the Advanced Forum? I'm new.

Also, my problem is that I have many sites. If I change the reference from C:\ to an \image\ file -- that's OK AFTER the image is already in the image file. But, because I am importing these HTML files, I want them to come from one central location, and not have to send a bunch of images into a bunch of image folders placed on each site.

Does that expalin it?

thanks!

(in reply to bobby)
dpf

 

Posts: 7126
Joined: 11/12/2003
From: India-napolis
Status: offline

 
RE: Frontpage leaves images unavailable when imported t... - 1/4/2005 14:02:00   
quote:

and not have to send a bunch of images into a bunch of image folders placed on each site.

Does that expalin it?
it explains it but.... thats just the way it is... its what you have to do..unless im missing something

_____________________________

Dan

(in reply to joewood3)
joewood3

 

Posts: 7
Joined: 10/29/2004
Status: offline

 
RE: Frontpage leaves images unavailable when imported t... - 1/4/2005 14:27:27   
I create hundreds of separate HTML pages in Excel. Then the HTML code that makes up each of those pages is sent over to FrontPage via an import.

At that stage, I have to have the HTML state that the images can be found on my C: drive since they do not yet exist in the web.

If I had unlimited time, I could then look at each page in FP and save each page. This would prompt FP to ask if I want the embedded files saved (which makes FP switch the img src from C:\ to the web file).

BUT, I cannot do this for each page. I need the image reference to go over with the import, then have FP convert all of the C:\ image references to web references instead?

Cool?

(in reply to dpf)
dpf

 

Posts: 7126
Joined: 11/12/2003
From: India-napolis
Status: offline

 
RE: Frontpage leaves images unavailable when imported t... - 1/4/2005 14:32:42   
quote:

At that stage, I have to have the HTML state that the images can be found on my C: drive since they do not yet exist in the web.
at that stage, the src reference doesnt have to say C:\MyDoucments|\myweb\myimage.jpg whihch is what isnt translating to the server. it just needs to be a relative path
<img src="imgaes/myimage.jpg"> or even in the same folder with the html page <img src="myimage.jpg">. you will be able to see it on your PC and on the web if you do it that way.

_____________________________

Dan

(in reply to joewood3)
joewood3

 

Posts: 7
Joined: 10/29/2004
Status: offline

 
RE: Frontpage leaves images unavailable when imported t... - 1/4/2005 14:40:19   
Yes, but that would mean I'd have to have the images already in the Images/my images/ file right? And since I have so many sites and so many images, I can't put them individually into each of the sites' folders.

I would like to have all of the images controlled at only one location (as it was with C:\...), but accessible for all the sites and visible on their webs without having to save the embedded files individually.

Am I doing a good job explaining?

thanks!

(in reply to dpf)
dpf

 

Posts: 7126
Joined: 11/12/2003
From: India-napolis
Status: offline

 
RE: Frontpage leaves images unavailable when imported t... - 1/4/2005 14:45:21   
ok....forget seperate images folders..they arent necessary (except invaluable for sorting especially when you have "hundreds" of pages as you say you do. when you send these html pages to a server, do they all go to the same folder? simply send all of the images to the same folder.. they can all peacefully coexist and the path for each merely needs to be <img src="image.jpg">
does that work?

_____________________________

Dan

(in reply to joewood3)
joewood3

 

Posts: 7
Joined: 10/29/2004
Status: offline

 
RE: Frontpage leaves images unavailable when imported t... - 1/4/2005 15:46:42   
Sorry, I don't think so - because I also have dozens of sites which are sharing the Image "Pool" . They are not all pulling from the sameweb. In fact, they cannot pull from the same web (like having them all get the images from one designated site) because that would tie the separate sites together search engine wise, which is what I'm avoiding.

(in reply to dpf)
dpf

 

Posts: 7126
Joined: 11/12/2003
From: India-napolis
Status: offline

 
RE: Frontpage leaves images unavailable when imported t... - 1/4/2005 15:54:17   
quote:

Please let me know how to have all the images that have their target initially to my PC, change so that the images are visible when the whole web is published.
in my opinion, based upon everything you have said, it cant be done

_____________________________

Dan

(in reply to joewood3)
Reflect

 

Posts: 4769
From: USA
Status: offline

 
RE: Frontpage leaves images unavailable when imported t... - 1/5/2005 9:50:10   
Hi,

What I would do is a find and replace globally once all files are upload to your server.

Once all pages are ftp'd out to all sites in question open each site live on the web hosts server. Then do a global find and replace for (example) c:\my documents\myimages\ and replace with http://www.mysitewithalltheimages.com/images/.

This way you have one source for all images and each site will reference the communal site for all image calls.

Unless I have overlooked something.

Take care,

Brian

_____________________________


(in reply to dpf)
Newbie FrontPage

 

Posts: 28
Joined: 4/27/2004
From: Australia
Status: offline

 
RE: Frontpage leaves images unavailable when imported t... - 1/14/2005 0:44:46   
Has Joe sorted out his images problems? No feedback from him? I also would do a re-calculate hyperlinks on the remote server site. Interresting to know if Brian's suggestions were followed by him.
Rolf

(in reply to Reflect)
joewood3

 

Posts: 7
Joined: 10/29/2004
Status: offline

 
RE: Frontpage leaves images unavailable when imported t... - 1/14/2005 9:28:20   
I worked this out. I could not have a central image file stored on ONE particular site due to search engine problems. Instead, someone was kind enough to write script that copied all of the images in the central file on my C: drive to each individual image file on each separate, relative web image folder.

thx

(in reply to Newbie FrontPage)
Page:   [1]
OutFront Discoveries

All Forums >> Web Development >> General Web Development >> Frontpage leaves images unavailable when imported to web
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts