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 not displayed

See original GitHub issue

NS 8.0.7 Xcode 12.4 Node 14.11.0

Migrate an app to NS 8 and none of my app images are displayed.

Code is

<Page loaded="pageLoaded" class="page" xmlns="http://www.nativescript.org/tns.xsd"> <ActionBar title="Home" class="action-bar"></ActionBar> <ScrollView> <StackLayout class="home-panel" verticalAlignment="top"> <Image src="~/images/wfsl-logo.jpg" width="100" /> <GridLayout rows="70, 70, 70, 70, 70,70" width="100%" horizontalAlignment="center"> <Button text="Monday" tap="onMondayTap" class="button" row="0" /> <Button text="Wednesday" tap="onWednesdayTap" class="button" row="1"/> <Button text="Settings" tap="onSettingsTap" class="button" row="2" /> <Button text="Help" tap="onHelpTap" class="button" row="3"/> <Button text="About" tap="onAboutTap" class="button" row="4"/> <Label id="appVersion" text="" horizontalAlignment="center" marginTop="20" fontSize="12px" row="5" /> </GridLayout> </StackLayout> </ScrollView> </Page>

Path to images Screenshot 2021-06-10 at 16 59 35

I’ve tried ~/app/images/wfsl-logo.jpg and /app/images/wfsl-logo.jpg but cannot get them to display.

XML pages are in the views folder/page name

so the page above is ~/app/views/home/home-page.xml

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mrwrightycommented, Sep 7, 2021

Sorry yes they did. Problem solved.

0reactions
janoshruboscommented, Sep 7, 2021

@mrwrighty glad to hear it!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Resolve the "Images Not Showing on Website" Error [2022]
To resolve the images not showing problem, just close Chrome and open the Run prompt. Now, enter the '%localappdata%' command to go to...
Read more >
How to Fix Images Not Loading in Chrome - Online Tech Tips
How to Fix Images Not Loading in Chrome · Use a Different Browser to Access Your Webpage · Allow Sites to Display Images...
Read more >
Browser Not Showing/Loading Images: 2 Quick Ways to Fix It
If your browser is not showing images, first check out the Internet options, then delete temporary files, and try UR Browser.
Read more >
How to fix image not showing in an HTML page
How to fix image not showing in an HTML page · Check the src path to of the <img> tag · Check the...
Read more >
How to fix images not being displayed on your website?
How to fix images not being displayed on your website? · Image is not uploaded to the server: To ensure the file is...
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