Making changes to reload images back into mysql