If you want to have dynamic images on your website, the server where you host it should have the proper software for this. Instead of using static images with a fixed size, you could have thumbnails and automatically resized images based on the device a visitor uses or you may even flip and invert images through a script app. All of these things are possible through ImageMagick and GD library - two pieces of software which could be set up on a server and that work with a wide range of widespread scripting languages including: Perl, Python and PHP. That way, you can use images with any web-based application you want, no matter what language it was developed with - a custom-made Perl script or a PHP one. The two libraries will allow you to work with over one hundred different image formats like GIF, PNG, TIFF, JPEG, etc.