Fix type
Use jpeg for images