To get a better rank in the search results, optimize your images along with the text on your website. Avoid using large images on your website. Keep the image size from 30 to 100 KB with a resolution of 72 dpi.
Large images make your site load slower. When you are creating an alt image text, make sure that you use keywords in graphics, header images, logo images, and buttons on each page