Web Hosting Line
1.800.828.9231
WordPress hosting
WordPress tutorial
WordPress themes
WordPress plugins
WordPress FAQ
About WordPress
Host Package
Free Domain name
750 GB space
7500 GB Traffic/mo
99.9% Server Uptime
24/7 Top Customer Care
FREE Blog Installation
Immediate activation
The Best Host Package
learn more sign up now
WordPress Hosting Award:
The Best WordPress Host
Display entire tutorial on one page. Print-friendly version.

WordPress Plugins: WordPress Images

If you would like to include images or photos on your posts, you will need a Gallery Plugin added to your WP. Please, find here more details on how to install plugins.

Our example is based on WPG2 gallery plugin.

You can download WPG2 here.

If you plan to install Gallery 2 plugin, please make sure that you also download and install Imageblock and Imageframes modules for Gallery2. Downloads of the modules can be found here.

Once the Gallery addon is installed, you can see its admin section included in WP:

wpg2 dashboard

You can include images in your WP Posts or Sidebar. In order to include images in the Sidebar, you need to add the following code to your WordPress Sidebar Template file:

<li><?php print g2_sidebarimageblock(); ?></li>

In order to do that, please, edit the sidebar.php file through CPanel->File Manager.

It can be found at:

/public_html/wp-content/themes/default/

Now you can set your image preferences from the WP Admin panel. Please, go to WPG2 -> Sidebar Block, where you can set which pics you would like to include in the Sidebar. Please set the Image Size so that your images are included in the Sidebar and not outside of it. Please, make sure you press Save Changes once you make the changes.

sidebard options

Now you can see the Random Image displayed on your WP sidebar.

You can visit First Steps with WordPress for further reference.



WordPress Hosting
(c) Copyright 2008 SiteGround Web Hosting Provider. All rights reserved