You can manually add these URL parameters to your CodePen hosted images, or use the image editor to get great visual of the available URL parameters. The parameters can always be adjusted later in your code.

KeyValueDescription
widthNumberDesired width of the image
heightNumberDesired height of the image
fitscale-down|cover|padControl how the image fits into the given width/heightscale-down keeps the aspect ratio. cover and pad size at the exact given width & height, with cover filling the whole canvas with the image and pad scaling the image down to fit within the canvas.
rotate0|90|180|270Direction to rotate the image
formatautoAutomatically convert the JPG, GIF and PNG images to WebP if the browser supports it, otherwise the original format is returned.
qualityNumber from 0 to 100Adjust the quality to get a smaller filesize through lossy compression. This setting only applies to JPEG, GIF, and WebP images.