Documentation, Reference Materials and Tutorials for Envira Gallery
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.
- Importing Images
- What kind of permissions does Envira require when connecting with my Dropbox account?
- Can I auto-populate a gallery from a folder in my Dropbox account instead of manually adding images?
- Why are my Dropbox directories taking so long to load or not loading at all?
- Why can’t I see some of the image thumbnails?
- Can I download large image files?
- Will I be able to import mp4 files?
- Any Envira license
- WordPress 4.9+
- Envira Gallery 220.127.116.11+
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.
Step 1 – Get the authentication code
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.
Step 2 – Give Envira permission on Dropbox
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.
Step 3 – Save the code to Envira Settings
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 can also enable to show your image thumbnails or just the file icons by checking the box for Show Thumbnails.
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.
Create or edit your gallery
To begin, create a new gallery or edit an existing one. You can follow along with our documentation for creating your first gallery.
Step 2 – Import your images from Dropbox
Next, click the Select Files from Other Image Sources button.
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.
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.
Step 3 – Publish or Update your gallery
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.
Q: What kind of permissions does Envira require when connecting with my Dropbox account?
A: Envira Dropbox Importer requires that you grant Envira read only access to all images in your Dropbox account.
Q: Can I auto-populate a gallery from a folder in my Dropbox account instead of manually adding images?
A: No, Envira Dropbox Importer only allows you to import images from Dropbox into WordPress Media Library.
Q: Why are my Dropbox directories taking so long to load or not loading at all?
A: There are several ways to improve the successful and quick browsing of your directories.
- 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.
- 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.
- 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.
Q: Why can’t I see some of the image thumbnails?
A: This is most likely a large image file. Dropbox doesn’t allow thumbnails of images over 20MB in size.
Q: Can I download large image files?
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.
Q: Will I be able to import mp4 files?
A: No. The Dropbox Importer Addon can only import image files (png, jpg, jpeg, gif) at this time.
- Fix: Removed HTML in text description and resolved thumbnail preview issue.
- Fix: Code clean up, minor bug fixes, enhanced security.
- Added: Fancybox3 support.
- Fix: Minor bug fixes.
- Fix: Minor bug fixes.
- Updated: Uses new Dropbox v2 API. Note: must re-connect with Dropbox API.
- Added: Option to turn on/off thumbnails.
- Fix: Cases where image titles with apostrophes break image
- Fix: Various minor bug fixes
- Fix: Prevent success / error notices on Settings screen from jumping
- Refactored code for "Insert from Other Image Sources” for better performance
- Added: Better error reporting on import routine
- Fix: HTML characters on authorisation notices wrongly encoded
- Updated: Spanish Translations
- Fix: Display error message if search fails
- Updated: Spanish translations
- Updated: Spanish Translation
- Fix: Display errors when inserting instead of throwing JS error
- Added: Compat with Envira Gallery 1.4.0+ new media view / selection tool
- Added: Spanish translation
- Fix: Compat with BackupBuddy backups
- Fix: Set URL as image when importing image from Dropbox, so that it works in Lightbox mode
- Initial release of the addon.