Using images on your server in a Freeway layout

I just discovered something useful about Freeway and pass-through
images. It seems you can fool Freeway into linking to images without
copying them into the usual Resources folder. This has great potential
if you need to lay out your folder structure in a certain manner, say
to satisfy a sadistic IT department or similar.

The down-side is that you can’t use Freeway to upload the finished
site – you’ll need to use Transmit in Synchronize mode or another FTP
application to manage the server copy if you want to use this trick.
Freeway will publish everything, start to upload, then fall over and
die when it gets to the first resource you have tricked it into using
in this manner, saying “Resource not found”.

To begin, set up your Freeway document, set the publish folder, and
publish at least once into it.

Now, add each folder you need using the Site pane. In this case, we’ll
add the movies folder. Don’t add any pages to this folder (now or
ever). Publish again.

In the Finder, open up your site folder (I know, bad thing, crossing
the streams, end of the world as we know it, etc.) and move copies of
your server’s files into this local folder. This is needed in order to
make the trick work.

Now back in Freeway, draw an HTML box, and use File / Import to add a
pass-through reference to one of the images/movies/flash in that
folder in your site folder.

Publish, and have a look at the code. Your reference to the file will
be relative, and it will be to the resource in the movies folder, not
a newly-copied instance of the original in the Resources folder.

I have tested this with Flash and regular pass-through JPEG images,
but I’m sure it would work with other types of files as well.

Walter


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Nice. I just came across something else again yesterday though, if you
are just using images you can set an HTML item to Type = URL in the
third pane of the Inspector. This will be set to reference an image by
default, so just type the path to the image in the URL field. An img
element referencing your online image will be created in the code when
you publish.

Joe

On 18 Mar 2009, at 19:11, Walter Lee Davis wrote:

I just discovered something useful about Freeway and pass-through
images. It seems you can fool Freeway into linking to images without
copying them into the usual Resources folder. This has great
potential if you need to lay out your folder structure in a certain
manner, say to satisfy a sadistic IT department or similar.

The down-side is that you can’t use Freeway to upload the finished
site – you’ll need to use Transmit in Synchronize mode or another
FTP application to manage the server copy if you want to use this
trick. Freeway will publish everything, start to upload, then fall
over and die when it gets to the first resource you have tricked it
into using in this manner, saying “Resource not found”.

To begin, set up your Freeway document, set the publish folder, and
publish at least once into it.

Now, add each folder you need using the Site pane. In this case,
we’ll add the movies folder. Don’t add any pages to this folder (now
or ever). Publish again.

In the Finder, open up your site folder (I know, bad thing, crossing
the streams, end of the world as we know it, etc.) and move copies
of your server’s files into this local folder. This is needed in
order to make the trick work.

Now back in Freeway, draw an HTML box, and use File / Import to add
a pass-through reference to one of the images/movies/flash in that
folder in your site folder.

Publish, and have a look at the code. Your reference to the file
will be relative, and it will be to the resource in the movies
folder, not a newly-copied instance of the original in the Resources
folder.

I have tested this with Flash and regular pass-through JPEG images,
but I’m sure it would work with other types of files as well.

Walter


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Yeah, that one’s been around forever – literally – but it has its
own set of troubles. For one, images referenced in this manner do not
have dimensions (or at least didn’t last time I tried this trick).

Walter

On Mar 19, 2009, at 4:33 AM, Joe Billings wrote:

Nice. I just came across something else again yesterday though, if
you are just using images you can set an HTML item to Type = URL in
the third pane of the Inspector.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Would either of these methods work for adding custom PayPal buttons?

We used this on a site, but you have to upload the images before doing the PayPal stuff. So, your site has to be uploaded, do the PayPal stuff, then upload it again.

Unless I’m doing it wrong…


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options