change thumbnail plugin to output jpg instead of png