Highlighted

Image Insert Problem

New Here ,
Nov 12, 2020

Copy link to clipboard

Copied

Images when inserted into web page go in with incorect addressing.

Current method - place cursor in document where image is to be located - click on "Insert" --> "Image" --> Select Image. Image arrives with complete address back to root. Need it to be the same as the directory with image. Both files need to be in same directory. Problem only started recently. Worked good before. Files created locally, then manually uploaded to site.

TOPICS
Code, How to

Views

37

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Image Insert Problem

New Here ,
Nov 12, 2020

Copy link to clipboard

Copied

Images when inserted into web page go in with incorect addressing.

Current method - place cursor in document where image is to be located - click on "Insert" --> "Image" --> Select Image. Image arrives with complete address back to root. Need it to be the same as the directory with image. Both files need to be in same directory. Problem only started recently. Worked good before. Files created locally, then manually uploaded to site.

TOPICS
Code, How to

Views

38

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Nov 12, 2020 0
Adobe Community Professional ,
Nov 12, 2020

Copy link to clipboard

Copied

#1 Are working in a defined local site folder?  Site > Manage Sites...  Example, C:\MyTestSite\

 

#2 Did you save your document to your local site folder BEFORE and AFTER you inserted the image?

 

#3 Are you working with valid, error-free code denoted by a green in a circle?

Window > Results > Validation > check document.

 

Nancy O'Shea, ACP
Alt-Web Design & Publishing

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 12, 2020 0
New Here ,
Nov 12, 2020

Copy link to clipboard

Copied

Question #1

Yes, it is a specific folder. However, I do not have the entire site in it. There is about 9 GB of data on the site and about 135,000 files, The working file/page can have up to about 200 or more images included on it when ready for upload. (Site is a genealogy research site, primarily a text formated site containing transcriptions of original historical documents plus cemeteries with headstone images. No animaion or any other special effects are included in the page.

Thus only the current file plus the images and shtml pages as they are created are on the local drive and when completed, with all of the images and shtml pages are then uploaded into the proper site directory.

 

See the following link for a sample of page type..

http://ngb.chebucto.org/Cemetery/cem-black-duck-brk-rc-stg.shtml

 

Yes the page uses SSI for headers and footers.

 

Ques #2

Yes the file was saved in the directory prior to inserting the image and then stored after the image is inserted.

 

Ques #3

Not sure - was unaware of this and normally do not run the validation as work is in an SHTML table file. Problems show up and can be corrected eaasily.

 

Quess #4 Yes, Document relative has been checked Same problem occurs when inserting an image or a hyperlink into the page

 

Thanks

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 12, 2020 0
Adobe Community Professional ,
Nov 12, 2020

Copy link to clipboard

Copied

#4 What type of links are you using  -- Site Root relative or Document relative?  See screenshot.

Can you copy & paste the code path DW creates?

 

Site > Manage Sites > Advanced > Local InfoSite > Manage Sites > Advanced > Local Info

 

Nancy O'Shea, ACP
Alt-Web Design & Publishing

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 12, 2020 0
Adobe Community Professional ,
Nov 13, 2020

Copy link to clipboard

Copied

Run your site pages through the online validation service and fix reported errors.  DW doesn't like code errors.

http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fngb.chebucto.org%2FCemetery%2Fcem-black-duc...

 

Nancy O'Shea, ACP
Alt-Web Design & Publishing

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 13, 2020 0