Automatically rename images based on user input