KevinDeus
KevinDeus

Reputation: 12178

Images showing up in IE and Chrome, but not Firefox

This one has me stumped. I'm not sure where to start on this one.

Images show up fine in IE, Chrome, and even my Android phone! What am I doing wrong?

This is all HTML & JQuery. JQuery is dynamically populating the pieces on page load. (via an array in defaultRules.js)

Later, I will have fixed and redeployed this, images looked like this:

<img id="WhiteQueen" class="ui-widget-content ui-draggable" src="..\images\chessPieces\Chess.Merida\wq.png" style="z-index: 0; position: relative; ">

http://www.chessmangler.com/

Upvotes: 0

Views: 1422

Answers (2)

Ryan Kempt
Ryan Kempt

Reputation: 4209

Remove the double dots prior to the folder name the images are stored in, also, take a look at the way your slashes are leaning!

Upvotes: 1

Erik  Reppen
Erik Reppen

Reputation: 4635

Try setting those '\' in the url paths to '/'

'\' is a windows thing. '/' is a www and all other OSes thing.

Upvotes: 2

Related Questions