There's no rule about it, if the image is in the right place it should be displayed. Use the tools on your browser to check where is it looking for the image, it looks like a simple problem with the resulting URL that's used to request the actual image. Check the URL of the working image and the the URL of the broken one and you'll found how to fix it.
Consider that "../IMG/logo.png" means that the image path is built relative to the html file location, so, if you have your html file at "<path>/src" folder then the image should be in "<path>/IMG" folder, but it could depend on other stuffs too (like the base tag or some stuffs that frameworks might do).
Edited by DiegoSLTS, 29 July 2014 - 08:52 PM.