A strange thing has been happening in Frreway Pro 5. I have a page called “uploads” which contain various graphic GIFS. When I upload my Freeway site these GIFS end up in a RESOURCE folder on the server. When there is a reference to one of the GIFS, they appear where they are supposed to (I have the references in pMachine). Eveything works fine. The odd thing is that one of my graphic GIF files is named digcam.gif. When I upload my site to the server, this file gets RENAMED to gigcama.gif. An “a” appaers at the end of the name! I tried all sorts of things and finally simply renamed my reference tos to this file “digcama.gif”. Any ideas why this happens?
Usually this happens because at the moment that Freeway is publishing the file, there is already a non-identical file in the Resources folder called digicam.gif. This can happen if you place the same image on two different pages, but don’t make the picture box exactly the same size on both pages. Usually, Freeway is very fussy about never repeating itself like this.
Try this: Locate your Resources folder, and delete everything from within it. Then publish again, and see if the duplicate returns.
And of course this is not new to FW5 - this is the way that FW has always operated.
If you have File>Document setup>Output:Resources set as ‘Common or Separate Resource Folders’ rather than ‘With HTML files’ this is the behaviour you will get.
‘With HTML files’ will just lump all your graphics and pages in the same place - no ‘Resources’ folder will be created.
And as Walter says FW does a good job of managing all these files so that files get renamed rather than overwritten when there are more than 1 instance of a particular graphic.
Freeway internally adjusts all links to the renamed files eg item1a.gif so if you look at your published source code you will see reference to these amende file names.
So then if you go to your site, on the server, and manually change things with Transmit or similar then the internal links in the published freeway pages will get broken.
This is why the ‘Resources’ folder that FW creates should be treated as a NO GO AREA
Personally I always use the setting: File>Document setup>Output:Resources Separate Resource Folders
And then my ‘html pages’ are totally separate from all graphics css etc. and easier to see on the server.