Use absolute path for image subdir checks