[Pro] BODY Background image problem

I’m experiencing some wonkiness working on my portfolio with Freeway Pro.
http://portfolio.thebigerns.com/

It looks fine published, but viewed locally, the background image is missing.

The local view is fine as long as I uncheck External Stylesheets, but checked causes the background image to disappear from the local view, but not from the published view.

Is that clear?

Checking the differences in the code produced, when external styles are ‘off’ FWP produces code for every background image like this:

background-image:url(Resources/myimage.jpg);

But when they are ‘on’, FWP writes only the body tag background-image style like this:

background-image:url(../Resources/myimage.jpg);

So Freeway Pro is indicating a different location for the image when external sheets are selected even though the physical location remains the same.

What makes this more puzzling to me is that I am using FWP’s built-in file handling (Media folder, Site folder, yadda yadda) So whatever I’m doing to make FWP behave this way, I can’t quite figure out. And it’s just the body background image FWP treats this way, the other background image styles on the page are written exactly the same regardless of the style location.

This is not a work-halting problem for me, but it is frustrating enough that I am asking for help to at least understand why there is a difference.

http://portfolio.thebigerns.com/


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

The path to the image would be different if External Stylesheets are on, because the path is relative to the .css sheet. So if your page had it at Resources/bg.jpeg, the external stylesheet would have it at ../Resources/bg.jpeg to reference the same image.

If Freeway is dropping the background, perhaps it is making a cache error, and trying to fulfill the same logical resource from the previous location. Unless you had always had External on, in which case it’s possibly a bug.

Can you duplicate the error in a brand new document that has External checked from the very beginning?

Walter

On Jul 6, 2012, at 12:12 PM, The Big Erns wrote:

So Freeway Pro is indicating a different location for the image when external sheets are selected even though the physical location remains the same.


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

Walter, I may try as you suggest. If you look at the source of my page, you
will see Freeway duplicate the body style in the header - which is the same
as the css file… url(…/Resources. Look in the head at at the Inline Style
Moved backgrounds of say the #logos div… url/Resources. ???

Turning off external styles causes only the body tag background url to
change, the other div backgrounds remain the same either way.


Ernie Simpson

On Fri, Jul 6, 2012 at 12:20 PM, Walter Lee Davis email@hiddenwrote:

The path to the image would be different if External Stylesheets are on,
because the path is relative to the .css sheet. So if your page had it at
Resources/bg.jpeg, the external stylesheet would have it at
../Resources/bg.jpeg to reference the same image.

If Freeway is dropping the background, perhaps it is making a cache error,
and trying to fulfill the same logical resource from the previous location.
Unless you had always had External on, in which case it’s possibly a bug.

Can you duplicate the error in a brand new document that has External
checked from the very beginning?

Walter

On Jul 6, 2012, at 12:12 PM, The Big Erns wrote:

So Freeway Pro is indicating a different location for the image when
external sheets are selected even though the physical location remains the
same.


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

I see the problem now.

I am attaching the attribute directly to the body tag in the stylesheet -
so Freeway Pro adds the “…/” to dig up and out of the css folder as you
say. Using the Inspector palette instead to set the background causes
Freeway to write the url the way it should. Attaching the background
directly to the body tag causes Freeway to write incorrect code.

Thanks Walter!


Ernie Simpson

On Fri, Jul 6, 2012 at 2:11 PM, Ernie Simpson email@hidden wrote:

Walter, I may try as you suggest. If you look at the source of my page,
you will see Freeway duplicate the body style in the header - which is the
same as the css file… url(…/Resources. Look in the head at at the Inline
Style Moved backgrounds of say the #logos div… url/Resources. ???

Turning off external styles causes only the body tag background url to
change, the other div backgrounds remain the same either way.


Ernie Simpson

On Fri, Jul 6, 2012 at 12:20 PM, Walter Lee Davis email@hiddenwrote:

The path to the image would be different if External Stylesheets are on,
because the path is relative to the .css sheet. So if your page had it at
Resources/bg.jpeg, the external stylesheet would have it at
../Resources/bg.jpeg to reference the same image.

If Freeway is dropping the background, perhaps it is making a cache
error, and trying to fulfill the same logical resource from the previous
location. Unless you had always had External on, in which case it’s
possibly a bug.

Can you duplicate the error in a brand new document that has External
checked from the very beginning?

Walter

On Jul 6, 2012, at 12:12 PM, The Big Erns wrote:

So Freeway Pro is indicating a different location for the image when
external sheets are selected even though the physical location remains the
same.


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