Font Awesome Image Icon (Gallery, Photo, Picture)

In this tutorial, you will learn how to use the Font Awesome 'Image' icon, which is used to indicate galleries, photos, and pictures. This icon is available in all three versions: 'fa fa-image' for version 4, 'fas fa-image' for version 5, and 'fa-solid fa-image' for version 6. You can also modify its color, font size, style, and animation in the 'Try It' editor.

Fontawesome Version 4.X

image

<i class='fa fa-image'></i>

image

<i class='fa fa-image' style='color: white'></i>

image

<i class='fa fa-image' style='color: red'></i>

image

<i class='fa fa-image' style='color: blue'></i>

image

<i class='fa fa-image' style='color: #f3da35'></i>
Try it Yourself


Fontawesome Version 5.X

image

<i class='fas fa-image'></i>

image

<i class='fas fa-image' style='color: white'></i>

image

<i class='fas fa-image' style='color: red'></i>

image

<i class='fas fa-image' style='color: blue'></i>

image

<i class='fas fa-image' style='color: #f3da35'></i>
Try it Yourself

Fontawesome Version 6.X

image

Web

<i class='fa-solid fa-image'></i>

React

<FontAwesomeIcon icon="fa-solid fa-image" />

Vue

<font-awesome-icon icon="fa-solid fa-image" />

image

Web

<i class='fa-solid fa-image' style='color: white'></i>

React

<FontAwesomeIcon icon="fa-solid fa-image" style={{color: 'white'}} />

Vue

<font-awesome-icon icon="fa-solid fa-image" :style="{color: 'white'}" />

image

Web

<i class='fa-solid fa-image' style='color: red'></i>

React

<FontAwesomeIcon icon="fa-solid fa-image" style={{color: 'red'}} />

Vue

<font-awesome-icon icon="fa-solid fa-image" :style="{color: 'red'}" />

image

Web

<i class='fa-solid fa-image' style='color: blue'></i>

React

<FontAwesomeIcon icon="fa-solid fa-image" style={{color: 'blue'}} />

Vue

<font-awesome-icon icon="fa-solid fa-image" :style="{color: 'blue'}" />

image

Web

<i class='fa-solid fa-image' style='color: #f3da35'></i>

React

<FontAwesomeIcon icon="fa-solid fa-image" style={{color: '#f3da35'}} />

Vue

<font-awesome-icon icon="fa-solid fa-image" :style="{color: '#f3da35'}" />
Try it Yourself

FA Regular image Version 6.X

px Enter Size
Color Code
HTML
 <i class="fa-regular fa-image"></i> 

How to add Font Awesome image Icon ?

Font Awesome Icon fa fa image Icon can be added to any web page simply as below. You can integrate Icon in web pages by just adding following below syntax & icon code.

Icon -
<i class='fa fa-image'></i>
Icon Code -
fa fa-image

HTML Code

Get complete html code for icon image

                    
                    <!DOCTYPE html>
                    <html>
                        <head>
                        <title>Page Title</title>
                        <link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css'>
                       </head>
                        <body>
                        <i class='fa fa-image'></i>
                        </body>
                    </html>                    

Tags

gallery, photo, picture,img ,banner,note,card,notecard,Files ,folders

Change Font Awesome Icon Image Color

Sometimes we need icons in different color, as we suggested by adding css style we can change color. Here we have created one example to change color of icons with css classes.


    <style>
    .blue-color {
        color:blue;
    }
     
    .green-color {
        color:green;
    }
     
    .teal-color {
        color:teal;
    }
     
    .yellow-color {
    color:yellow;
    }
    
    .red-color {
        color:red;
    }
   </style>
    
     <i class='fa fa-image blue-color'></i>
      <i class='fa fa-image green-color'></i>
      <i class='fa fa-image teal-color'></i>
      <i class='fa fa-image yellow-color'></i>
      <i class='fa fa-image red-color'></i>
      

Output of the above example will be as below-


Note- Make Sure You have included the below Font Awesome file in header-
            
<link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css'>            
            
Related Icons

Advertisements



Advertisements



Looking For More Icons?