Viewing Relative File Path Bug

Relative File Path Bug



User: Roddy 11 years ago
I am creating a flip book which requires the images for the pages to be the background of a div. When I select "Copy Relative File Path" this is what appears on my clipboard...

{!-ASSETSPATH-!}Images/ewcbm1.jpg

... and this is what appears in the HTML doc of the published page...

file://localhost/Users/Roddy/Library/Application%20Support/EverWeb/35386D7A6DD248A1817535FB1A033401.everweb/Assets/Images/ewcbm1.jpg)//file

I have tried doing it several times in both 1.6 and 1.7 with the same result.

The project works fine when I drag the images into the ewExternalFiles folder in the published files and add the URL in EverWeb like this...

ewExternalFiles/ewcbm1.jpg

... although obviously I don't see anything in EverWeb.

The HTML for one page of the flip book is this...

<div style="background-image:url({!-ASSETSPATH-!}Images/ewcbm1.jpg)"></div>

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.
User: Paul-RAGESW 11 years ago
Can you send me the project so I can take a look?

-------------------------------
Paul
EverWeb Developer
User: Roddy 11 years ago
I eventually got around to uploading the project file and have sent you a download link.

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.


Post Reply
You must login or signup to post.