Handle images under subdirectories