seemed to have fixed the front-end thumbnail function for JPG extensions