{"title":"Adding Image to the Content","id":37098,"link":"https:\/\/env.averta.net\/en\/step\/adding-image-to-the-content\/","parent":[37142,35056],"content":"<p>Use <strong>Image<\/strong> shortcode to display an image to the content. You can add the Image shortcode, choose between lightbox and none,  then fill in its attributes. Available options will be explained below.<\/p>\n<p>You can also add a second image?to display while mouse is over the first image.<\/p>\n<h4>Normal<\/h4>\n<p>This shows your image normally and it does not allow you to click the image.<\/p>\n<pre class=\"\">[aux_image target=\"_blank\" title=\"Title\" attach_id=\"Insert your image id here\" lightbox=\"no\" attach_id_hover=\"Insert your image id here\" width=\"\" height=\"\" link=\"\" icon=\"plus\" extra_classes=\"\"]<\/pre>\n<h4>Lightbox<\/h4>\n<p>In the lightbox mode, a plus icon appears on the image when the mouse hovers over it. By clicking on the image, it will be shown in a lightbox.<\/p>\n<pre class=\"\">[aux_image target=\"_blank\" title=\"Title\" attach_id=\"Insert your image id here\" lightbox=\"yes\" attach_id_hover=\"Insert your image id here\" width=\"\" height=\"\" link=\"\" icon=\"plus\" extra_classes=\"\"]<\/pre>\n<p>&nbsp;<\/p>\n<p style=\"text-align: center;\"><p class=\"aswi-text-box box-recommend\"><strong>Recommended: <\/strong>To see the demos of <strong>Image<\/strong>, check out <a target=\"_blanck\" href=\"http:\/\/averta.net\/phlox\/wordpress-theme\/demo\/default\/image\/\" >this link<\/a>.<\/p>\n<table>\n<tbody>\n<tr>\n<th style=\"text-align: center;\">Option<\/th>\n<th style=\"text-align: center;\">Default Value<\/th>\n<th style=\"text-align: center;\">Values and Description<\/th>\n<\/tr>\n<tr>\n<td>title<\/td>\n<td>&#8220;Title&#8221;<\/td>\n<td>Inserts title above the image.<\/td>\n<\/tr>\n<tr>\n<td>attach_id<\/td>\n<td>&#8221; &#8220;<\/td>\n<td>Here you can add an attachment id of your image.<\/td>\n<\/tr>\n<tr>\n<td>attach_id_hover<\/td>\n<td>&#8221; &#8220;<\/td>\n<td>Adds an attachment id of image that you want to appear when the mouse hovers over the main image.<\/td>\n<\/tr>\n<tr>\n<td>link<\/td>\n<td>&#8221; &#8220;<\/td>\n<td>Links the image to another web page.<\/td>\n<\/tr>\n<tr>\n<td>target<\/td>\n<td>&#8220;_self&#8221;<\/td>\n<td>&#8220;_self&#8221;: Opens link in current page.<\/p>\n<p>&#8220;_blank&#8221;: Opens link in a new page.<\/td>\n<\/tr>\n<tr>\n<td>alt<\/td>\n<td>&#8221; &#8220;<\/td>\n<td>Adds an alternative text to your image.<\/td>\n<\/tr>\n<tr>\n<td>width<\/td>\n<td>&#8221; &#8220;<\/td>\n<td>Specifies the width of your image.<\/td>\n<\/tr>\n<tr>\n<td>height<\/td>\n<td>&#8221; &#8220;<\/td>\n<td>Specifies the height of your image.<\/td>\n<\/tr>\n<tr>\n<td>align<\/td>\n<td>&#8220;alignnone&#8221;<\/td>\n<td>Aligns the image to:<\/p>\n<p>&#8220;alignleft&#8221;: Left<\/p>\n<p>&#8220;alignright&#8221;: Right<\/p>\n<p>&#8220;alignnone&#8221;: No alignment<\/td>\n<\/tr>\n<tr>\n<td>icon<\/td>\n<td>&#8220;plus&#8221;<\/td>\n<td>Changes the icon that appears on the image when the mouse hovers over it.<\/p>\n<p>&#8221; &#8220;: None<\/p>\n<p>&#8220;plus&#8221;<\/td>\n<\/tr>\n<tr>\n<td>lightbox<\/td>\n<td>&#8220;0&#8221;<\/td>\n<td>Whether it opens a lightbox by clicking the image or not.<\/p>\n<p>&#8220;0&#8221;: Do not open a lightbox.<\/p>\n<p>&#8220;1&#8221;: Opens a lightbox.<\/td>\n<\/tr>\n<tr>\n<td>extra_classes<\/td>\n<td>&#8221; &#8220;<\/td>\n<td>Add your custom CSS class names here, to style particular content element differently.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","type":"solution"}