commented out auto thumbnail function