Thanks for reaching out.
What you are trying to do, is not possible through the Classic Image or Image element. But can be achieved by using the custom CSS code and the following thread can be helpful on this.
Please remember that code in the above threads is sample code, and it varies from case to case, and we can’t guarantee it works for you.
Alternatively, you can try using the bundled grid plugins. Both have the features you need. Please visit the links below for more details and plugin usage instructions.