question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Images in the runnings are not being shown if not present in the document

See original GitHub issue

I have noticed a strange thing: an image is not being shown in the runnings if it is not present in the body of the document. For example:

runnings.js

exports.header = {
 height: "390px",
 contents: function(pageNum, numPages) {
  return "<img src='F:/1/head-2.png'>"
 }
}

exports.footer = {
 height: "204px",
 contents: function(pageNum, numPages) {
  return "<img src='F:/1/foot-2.png'>"
 }
}

doc.md

![](F:/1/head-2.png)

The head-2.png image is displayed in the header, but the foot-2.png is not. If I add

doc.md

![](F:/1/head-2.png)
![](F:/1/foot-2.png)

both images are shown in the header and the footer. If I remove them, none are shown at all.

Am I doing something wrong?

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Reactions:5
  • Comments:6

github_iconTop GitHub Comments

2reactions
bodroviscommented, Dec 12, 2018

AFAIK, PhantomJS is not maintained anymore.

0reactions
bodroviscommented, Dec 12, 2018

As a bottomline, this issue seems to be related to the one posted above. As long as PhantomJS is not maintained anymore, that problem is unlikely to resolved. Therefore, I’m closing the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

A picture or an object may not appear in a Word 2010 or Word ...
Describes how to troubleshoot an issue in which pictures or objects are not visible in documents. This issue occurs on the screen and...
Read more >
Why images are not appearing on PDF or Image documents?
If images do not appear, check to make sure the path for bitmap files is correct (Settings>Display>Images>Bitmap Files (tab).
Read more >
Why Are Web Page Images Not Showing? - Computer Hope
What to do if a web page doesn't show images, only shows a red x, or broken links.
Read more >
Fix Windows 10 Picture Thumbnails Not Showing
8 different ways to fix photo thumbnails not appearing on Windows 10 PC manually. You can also try a reliable photo repair software...
Read more >
Canvas - Known Issue - Students Can't View Embedded Images
Users are reporting sporadic issues viewing image files that are stored in Canvas and embedded in pages or assignments. Effects. There are ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found