Better images management for subdirectory installations