Giter VIP home page Giter VIP logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
I read in the User Guide that rasterized images are not embedded into the file, 
but
only linked via relative path. Might be connected to this problem.

Original comment by [email protected] on 22 Aug 2008 at 11:14

from evoluspencil.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
It appears that the relative path is being calculated incorrectly...at least on 
windows.  The path in the .ep file for each image ends up being something like 
'../../../../C:/images/image.png'.  For the time being, it may be useful to 
know that 
you can manually edit the .ep file xml and replace the image paths with the 
correct 
relative path and everything will load fine.

Original comment by [email protected] on 15 Oct 2008 at 2:32

from evoluspencil.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
Here was my original error text.  The only way I've been able to make it work 
is to
delete all the relative paths and have them all at the same level.

Hello,
   I'm using Pencil 1.0 build 4 on a WinXp box as a standalone installation.  I've
been doing some mock ups that use a lot of external .png files.  It was working 
great
for awhile.  I had saved and reopened several times with no problems.  Now, all 
of a
sudden, it can't seem to find/load the external images.  But there are no error
messages thrown.  Here is an example href from the .ep file.

xlink:href="../../../../C:/Program Files/pencil/pictures/solarwhirlud6.jpg"

   The strange thing is that if I change the path in the .ep file, now error messages
start appearing, but I can't seem to get the external files to appear on the 
pages. 
However, there was one way I got things working again and that was to put the 
.ep
file and the external pics in the same directory and trim everything from the
reference path:

xlink:href="BLACKBKG.JPG"

   Any thoughts?  It would be a big pain right now to localize all the references
into one directory?

      -Dan


Original comment by [email protected] on 27 Oct 2009 at 11:30

from evoluspencil.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
A quick fix - replace all paths beginning with 
"../../../../C:/path/to/file.jpg" to "file://C:/path/to/file.jpg".  That way 
you avoid having to localise all references to one directory.

-Gavin

Original comment by [email protected] on 26 Aug 2010 at 2:11

from evoluspencil.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.