Changing images source structure