I've got 267 broken links on a single page, all images.
there seems to be no difference between surviving links and broken links,
I have tried to fix the links in the link inspector and the properties panel, which failed.
I think this might take a long time to repair, so I don't want to go down any wrong paths, especially with me being a relative newbee an all.
The page in question is here:
It's an image heavy site in which every image has
a thumbnail, a thumbnail rollover and a large lightbox image that activates when the thumbnail is clicked
122 links are OK, 267 links are broken.
I didn't notice before I uploaded the site as it looked fine in 'preview in browser'.
perhaps the problem is in my code - I hope so.
Could it be one of the following?
1/ the photos are in image folders within the image folder on my local site, is it bad practice to have folders within folders on my local site? (i've got loads)
2/ since saving(for Web and devices) the images to my local site, I have opened many of them again in photoshop for image alteration, I was checking for an increase in file size while I was altering the images, but didn't see any. Then, of course, I saved them back in the same folder with same name etc. Was the problem that I merely saved the images, and did not Save for Web and devices? - they were already optimised. (some images were altered manually, others using the Actions pallette)
3/ Some of the folder names are probably not DW friendly, for instance;
the file pond6thumb4 is in my folder 12pondbuild6 4/11,
DW reads that folder as 12pondbuild6 4%3A11 -is that the problem?
(-and, as I say, that folder is inside the Images folder on my local site)
The real mystery to me is that 122 links are not broken and I can see no difference between the surviving links and the broken links. It all seems a bit arbitory.
I'm running CS5.5 on a 2007 iMac duo-core desktop.
Any thoughts anybody?
thank you for your time and greycells in advance
Yeah OK, it was indeed the folder names:
change 12pondbuild6 4/11
which DW reads as 12pondbuild6 4%3A11
- and then you can fix the link in the link checker
- I think it's gonna be a loong night.
Find and Replace should be able to manage that quickly.
Find: (in source code): %3A
Replace: (blank) or a hyphen ("-")
Rename your folders manually in the operating system.
Or, use the DW Files Panel:
Rename each folder and let DW manage the renaming of the links automatically.