Update htaccess to support jpg generation