Restructuring images directories