Envira Gallery Blog

Digital Photography Tips, Tutorials and Resources


How to Sell Your Photos in WordPress

by Waseem Abbas on Sep 15, 2016

Do you want to sell your photos on your own WordPress site? As a photographer, you may want to sell images from your greatest photography adventures online. In this article, we will share how to sell your photos in WordPress.

When you run a photography business, there comes a time when you have amassed a large collection of amazing photos. To bring in some additional revenue, you can sell some of those photos on your WordPress website.

Here’s what you need to do to sell your photos in WordPress:

  • Step 1. Install and activate Envira Gallery plugin
  • Step 2. Create an image gallery with Envira
  • Step 3. Install and activate WooCommerce Addon
  • Step 4. Enable WooCommerce in your image gallery config and lightbox settings
  • Step 5. Add your image gallery to a post/page to start selling your photos

By the end of this tutorial, you will have a WordPress image gallery with an “Add to Cart” button for selling your photos online:

Add to Cart

Ready to get started? Let’s go!

Step 1: Install and Activate Envira Gallery Plugin

First thing you need to do is install and activate the Envira Gallery plugin. Check out this guide to learn more about how to install Envira Gallery.

Envira Gallery

Step 2: Create an Image Gallery with Envira

To create an image gallery with Envira, you need to go to Envira Gallery ยป Add New in the WordPress backend.

Give a title to your image gallery and add the photos in the Native Envira Gallery section.

Add Image Gallery

After adding the photos, simply click on the Publish button.

Publish Gallery

Then, you need to copy the shortcode from Envira Gallery Code widget (you’ll need this for Step 5 below).

For more help with this step, you should check out our guide on how to create an image gallery with thumbnails in WordPress.

Step 3: Install and Activate WooCommerce Addon

Now that you have an image gallery, you’ll need Envira’s WooCommerce Addon to start selling your photos online.

To access this addon, you need Envira Pro or Ultimate license. You can learn more about how to upgrade your license in Envira here.

Go ahead to Envira Gallery ยป Addons. Then install and activate the WooCommerce Addon.

WooCommerce Addon

Step 4: Enable WooCommerce in Your Image Gallery Config and Lightbox Settings

Upon activating the WooCommerce addon, simply edit your image gallery, and you will see a new WooCommerce tab.

Check the box to Enable WooCommerce for Gallery and Lightbox options.

Enable WooCommerce

Now go back to the Images tab and click on the pencil icon to modify the meta information of the photos.

Modify Meta Data

In the WooCommerce Product dropdown, you need to select the product that corresponds to your image.

Select WooCommerce Product

Once you are done, click on the Save Metadata button. Repeat this process for all the photos you want to sell.

Step 5: Add Your Image Gallery to a Post/Page to Sell Your Photos

To add your image gallery to your site, go ahead and edit the desired post or add a new post from Post ยป Add New. Simply paste the shortcode (that you copied in the step 2) in the visual editor.

Paste Shortcode

Update your post to publish your changes, and go to your website. You’ll see an Add to Cart button on your images in the gallery and lightbox.

Add to Cart

That’s all. We hope this article has helped you to learn how to sell your photos in WordPress. You may also want to check out our guide on 15 places to sell nature photography online.

If you like this article, then please follow us on Facebook and Twitter for more free WordPress tutorials.

Using WordPress and want to get Envira Gallery free?

Envira Gallery helps photographers create beautiful photo and video galleries in just a few clicks so that they can showcase and sell their work.


  1. So you have to create a product for each image in your gallery? what if you have thousands of photos, you need thousands of products?

    1. Hi Darie, as you can see in Step 4 that you can choose a WooCommerce product for each image, so you can assign multiple photos to one product. You don’t need to create thousands of products for your photos. This post is particularly for the photographers or any other photo sellers to sell their amazing photos online. They can easily create the product(s) and add photos related to it to take orders from their website. ๐Ÿ™‚

          1. The question is – does each photo need to have its own product? If you have thousands of photos to sell, do you have to create a product for each photo?

          2. Hey Kevin, as mentioned above, you can see Step 4 for your answer. You can assign multiple photos to one product that means you don’t need to create a product for each photo. ๐Ÿ™‚

  2. How would you add multiple product options to a single photo? If I have a portrait, for expamle, and I want to give the client the option of purchasing it in various sizes, how would I set that up?

  3. Hi Meagan ๐Ÿ™‚ You can certainly use the Woocommerce variable product for such a thing. You would create 1 Woocommerce product and then add variables to those products, such as 8×10, 5×7 etc. Woocommerce demo would show those options on one of their demo products as colors, so imagine instead of colors, it would be sizes.

    This is an Envira gallery using the Woocommerce Addon with a variable product: http://cloud.supportally.com/2A0k3J2z3k46

    Does that help? If you have any trouble at all, you can always pop over to support to ask for some assistance! We’re always there and happy to help!

    1. Hello,

      Is it possible to make two different options, for example “matt” and “gloss” and then different sizes linked with these two options?

      1. Hi Tomek ๐Ÿ™‚

        Absolutely, using Woocommerce variation list you can create a different variation which could have different pricing structures as well.

        Can I help answer anything else for you today?

  4. Can you explain with more clarity how can we setup multiple photos for the same product? As far as I’ve explored to be able to download something while buying, I must have a file assigned to each product via the WooCommerce panel. Operating this way I would have to create as many products as there are photos to be sold, which is obviously not interesting at all.

      1. If Iโ€™m not mistaken that it is true for physical photo selling. If you want to do digital selling, meaning that after the purchase, customer can download the images, you need to create one product per image.

        As I am a digital selling, this addon is not of much help for me, as I cannot and do no a easy way to create per session 200 products in woocommerce…

        Can you clarify how the association of products work for digital downloads?

        1. Hey Hugo, it vary from case to case. For example an album has multiple images and it can be sold as one product. Hope that helps. ๐Ÿ™‚

      2. Waseem your explanation of adding multiple images to a product isn’t very clear. if i add multiple images and i buy that one product, am i getting all the images or am i getting the one image that i really want?

  5. Is there a possibility that you send me a few sample pages by e-mail where I can look at the function? So far everything sounds great. I would just like to see it live before I buy it. Thank you and best regards. Hans

  6. We already have our travel photography for sale on Fine Art America. Through them, we sell canvases in various sizes and our photos on different products. We don’t want to set up a WooCommerce site and have to handle orders and shipping ourselves. Plus, we don’t have nearly enough server space with our site host to upload our original size photos, and we would need to do that to sell large print images. Which leads to my question. Is it possible to set up the shopping feature of Envira but link each photo we want to sell via URL back to where it’s listed on Fine Art America?

    1. Absolutely, you just need to edit your gallery and then click on the blue pencil icon to edit the image. That will open up a pop up window called Edit Metadata. There on the right of the image are fields to enter metadata about each image. One of those fields is a URL field. You can enter the URL there and even check the box to open the image in a new window if you wish. You can then use the right/left arrows at the top of the pop up to navigate through all the gallery images to repeat these steps and click the X button in the top right corner when done. Just update the gallery and you’ll be all set! Hope that helps!

      1. When I edit the URL on an image to go to my Fine Art America store, the thumbnail is no longer visible in my gallery on my website.

  7. Can an Album be created and all the photos in the individual galleries be linked to a product and the album inserted on a page?? (Just like a gallery??)

  8. the main problem here is that you have to upload echa photo as a product perhaps a single product or a variable product but if you have thousands of photos per event and weekly events this is not possible for you, if you manage to upload every photo automatically and to create every photo as a product automatically you would sell your plug alot more and i mean alot, because that the main issue with photographers

  9. I am a beginner looking to make some money from selling of my photos.Please let me know how I would get paid if anyone buys my photos. Is it via PayPal. Also are the uploaded photos copyrighted to prevent others downloading them for free and passing them off as their own

  10. Hello! I am photographer and i want to make some money by selling photos. Please anybody could help will much appreciated.

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.