Why am I getting these warnings?

My main.lua file is in the base folder along with an image named “TOT-Game2.png”.

I can load this image with no problem with this statement:

local playfield = display.newImage(“TOT-Game2.png”)
Then, within the base folder I created a subfolder named “Images” and moved “TOT-Game2.png” into the “Images” subfolder.

Then I change the previous statement to:

local playfield = display.newImage(“Images/TOT-Game2.png”)

The image is successfully displayed but I get this warning: Why?

WARNING: File names are case sensitive. You requested (Images/TOT-Game2.png). We assume you meant (TOT-Game2.png). However, on the device, this file may not load properly.
[import]uid: 295 topic_id: 1342 reply_id: 301342[/import]

Case sensivity is no problem in the simulator, but on the device. Also it seems that the check for the file name doesn’t take into account the subfolder. MAybe you should post this in the bug forum. [import]uid: 5712 topic_id: 1342 reply_id: 3631[/import]

Subfolders are not supported for the resource directory. Their contents is not even added to the build. [import]uid: 6928 topic_id: 1342 reply_id: 3634[/import]

That error message is wrong. I’ve added it to the tracker. #287 [import]uid: 3 topic_id: 1342 reply_id: 3765[/import]