- correctly extract artist_id - set extension to "jpg" if it was empty and let filetype checks do the rest