changed picture extension based on filename