meteoric / meteor-ionic

Ionic components for Meteor. No Angular!
http://meteoric.github.io
MIT License
1.51k stars 219 forks source link

Images no longer showing #324

Closed elie222 closed 8 years ago

elie222 commented 8 years ago

I've got no idea why, but images in my ionic app have stopped showing. If I go to the browser, I see the html is correct and if I go to the url of the app, the image loads up.

What's really strange is that it just suddenly stopped working. I went back a few commits on git and the images still don't load even though I'm positive that they did in the past. Any ideas why this could be happening or how to fix it?

pors commented 8 years ago

I don't know how you load the images but maybe this is the cause? https://github.com/meteor/meteor/issues/4560

On Sunday, October 4, 2015, Eliezer notifications@github.com wrote:

I've got no idea why, but images in my ionic app have stopped showing. If I go to the browser, I see the html is correct and if I go to the url of the app, the image loads up.

What's really strange is that it just suddenly stopped working. I went back a few commits on git and the images still don't load even though I'm positive that they did in the past. Any ideas why this could be happening or how to fix it?

— Reply to this email directly or view it on GitHub https://github.com/meteoric/meteor-ionic/issues/324.

elie222 commented 8 years ago

I'm running the app in a browser

elie222 commented 8 years ago

My code looks something like this:

   <div class="item item-avatar">
        <img src="/some-image.png">
        <h2>John Smith</h2>
        <p>Some text</p>
    </div>

Going to the image url in the browser loads the correct image.

elie222 commented 8 years ago

No idea what happened. Images are now showing. After restarting my computer things are magically working again.