Envira Gallery Documentation

Documentation, Reference Materials and Tutorials for Envira Gallery

Dropbox Importer Addon

Are you an avid user of Dropbox and want to connect Envira Gallery with your Dropbox images? The Dropbox Importer Addon for Envira Gallery connects to two perfectly. This doc details how you can import images from your Dropbox account, straight in to your Envira Galleries.

  • Any Envira license
  • WordPress 4.9+
  • Envira Gallery

Please follow our instructions on how to install and activate addons.

In this instance, you’ll be activating the Envira Dropbox Importer Addon.

Once the addon is activated, you’ll need to get a code from Dropbox that give Envira permission to import your Dropbox images.

Navigate to the WordPress Admin » Envira Gallery » Settings page. Then select the Dropbox tab.

On this screen you’ll want to click the Get Code button. A new browser window will open directing you to the next step.

You'll need to get an authenticaion code in order to use the Dropbox Importer addon for Envira

On this screen, Dropbox is asking if you’d like to give Envira permission to use your Dropbox images. Click the Allow button.

When you click Allow, you’ll be given a code. Copy this code as you’ll need it for the next step.

Copy the code for the Dropbox Importer Addon to give Envira the correct permission

Now that you’ve copied your code, head back to WordPress Admin » Envira Gallery » Settings » Dropbox tab and paste the code into the Code field. Then click the Save Code button.

You’ll see a success message letting you know that your Dropbox account is now linked. Should you ever need to unlink it, just click the Unlink Dropbox Account button.

You'll see a success message when the Dropbox authentication code is saved and can always unlink your Dropbox account here too

You can also enable to show your image thumbnails or just the file icons by checking the box for Show Thumbnails.

Enabling to Show Thumbnails may cause slowness when loading larger Dropbox folders.

If you click the Show Thumbnails option, remember to also click the Save Settings button to save the changes.

You can now create your first gallery using your Dropbox images.

To begin, create a new gallery or edit an existing one. You can follow along with our documentation for creating your first gallery.

Next, click the Select Files from Other Image Sources button.

Click the Select Files from Other Source to choose Dropbox as your import source

A pop up window will open and you’ll be able to select the Insert from Dropbox link on the left sidebar to view available files and directories.

Just select the images you want to use in your gallery and click the Insert Into Gallery button.

Select the images from your Dropbox account and insert them into your gallery

Your Dropbox images will be inserted into your gallery but also imported into your Media Library to be used on any post, page or widget area.

Continue the set up for the gallery by running through the other tabs and configuring your gallery options.

Finally, click Publish or Update on your gallery to save the changes.

A Dropbox gallery will look like any other gallery you’ve created with Envira, the only difference is how the images were imported.

Would you like to customize some of the styling on the gallery images you’ve just imported? Take a look at our tutorial on How to use Black & White Filter for Envira Gallery Images.

A: Envira Dropbox Importer requires that you grant Envira read only access to all images in your Dropbox account.

A: No, Envira Dropbox Importer only allows you to import images from Dropbox into WordPress Media Library.

A: There are several ways to improve the successful and quick browsing of your directories.

  1. Navigate to the Envira Gallery » Settings » Dropbox tab and make sure that the option for showing thumbnails is unchecked. While it’s nice to see a preview of the image, in large galleries, this can cause issues in performance.
  2. If a directory has a large number of images, it will also significantly slow the process. You may want to consider reorganizing your images into separate folders in Dropbox. This will allow Envira Dropbox Addon to work more quickly for your convenience.
  3. If the above doesn’t resolve the issue, check to make sure that you do not have a large image file (100MB+) in the directory that you are viewing.

A: This is most likely a large image file. Dropbox doesn’t allow thumbnails of images over 20MB in size.

A: There are some limitations. Files over 20MB may take longer or fail with the [object Object] error. In some cases, it may resolve the issue to add the following to your wp-config.php in the main WordPress installation directory:

define('WP_MEMORY_LIMIT', '500M');
define('WP_MAX_MEMORY_LIMIT', '500M');

Before adding this, check with your host about any memory restrictions that they may have.

A: No. The Dropbox Importer Addon can only import image files (png, jpg, jpeg, gif) at this time.


1.3.3 (02-05-2020)

  • Fix: Plugin updater revised.

1.3.2 (11-12-2019)

  • Fix: Removed HTML in text description and resolved thumbnail preview issue.

1.3.1 (06-05-2019)

  • Fix: Code clean up, minor bug fixes, enhanced security.

1.3.0 (04-10-2018)

  • Added: Fancybox3 support.
  • Fix: Minor bug fixes.

1.2.0 (10-18-2017)

  • Fix: Minor bug fixes.

1.1.8 (2017-06-27)

  • Updated: Uses new Dropbox v2 API. Note: must re-connect with Dropbox API.
  • Added: Option to turn on/off thumbnails. (2016-11-03)

  • Fix: Cases where image titles with apostrophes break image
  • Fix: Various minor bug fixes

1.1.7 (2016-04-16)

  • Fix: Prevent success / error notices on Settings screen from jumping

1.1.6 (2016-03-17)

  • Refactored code for "Insert from Other Image Sources” for better performance
  • Added: Better error reporting on import routine

1.1.5 (2016-03-03)

  • Fix: HTML characters on authorisation notices wrongly encoded

1.1.4 (2016-02-25)

  • Updated: Spanish Translations

1.1.3 (2016-01-14)

  • Fix: Display error message if search fails

1.1.2 (2015-12-23)

  • Updated: Spanish translations

1.1.1 (2015-12-10)

  • Updated: Spanish Translation
  • Fix: Display errors when inserting instead of throwing JS error

1.1.0 (2015-12-03)

  • Added: Compat with Envira Gallery 1.4.0+ new media view / selection tool
  • Added: Spanish translation

1.0.2 (2015-11-19)

  • Fix: Compat with BackupBuddy backups

1.0.1 (2015-10-07)

  • Fix: Set URL as image when importing image from Dropbox, so that it works in Lightbox mode

1.0.0 (2015-10-29)

  • Initial release of the addon.