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.

Invalid image type in URL

See original GitHub issue

When given a url witha query string, the IMAGE_TYPE regex fails:

https://github.com/pixijs/pixi.js/blob/dev/src/core/const.js#L299

Imported from this comment:

Error: Invalid image type in URL.
at BaseTexture._updateImageType (http://xxxx/js/pixi.js?4:22379:23)
at HTMLImageElement.source.onload (http://xxxx/js/pixi.js?4:22283:27)

(url: "src/img/../img/npc/xxxx.png?v=0.4.0.R42180")

This bug was caused by #2614.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
Dadibomcommented, Oct 19, 2016

Alright, sorry for the confusion. #3159

0reactions
lock[bot]commented, Feb 25, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix: Invalid image - Google Merchant Center Help
Ensure the image is accessible and uses an accepted image format (JPEG , WebP, PNG, GIF, BMP, and TIFF)The URL provided for either...
Read more >
Solved: Invalid Image URL - Marketing Nation - Marketo
Hi all- Wondering if something recently changed in Marketo. I upload and image file and when I select it in the email to...
Read more >
Invalid Image url - java - Stack Overflow
Invalid Image url · Confirm that the image files are on your hard disk and have appropriate permissions. · The strings you are...
Read more >
Invalid Image - Wish Merchant Help Center
This error occurred because one or more of the image links in your feed file is invalid. Make sure that all image links...
Read more >
Avoiding the dreaded “Invalid Image URL” error with ...
How to fix it. The solution is so, so simple. Upload an image whose name matches the literal URL — with the curly...
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