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.
- 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?
- Ultimate, Pro or Plus Envira license. You can read how to upgrade to one of these licenses here.
- WordPress 3.5+
- 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 authenticate Envira Gallery with Dropbox.
Navigate to the WordPress Admin » Envira Gallery » Settings page. Then select the Dropbox tab, followed by the Get Code button.
A Dropbox screen will open for you to login and then select the Allow button.
Next, copy the authorization code provided by Dropbox.
Finally, return to the WordPress Admin » Envira Gallery » Settings » Dropbox tab and paste the code into the provided field, then select the Save button.
If successful, you’ll see on screen confirmation of successful authentication with Dropbox.
Add Dropbox Images to your Gallery
First, create a new or edit an existing Gallery.
Second, click the Select Files from Other Image Sources button.
Third, select the Insert from Dropbox link in the left sidebar to view available files and directories.
Then select the image(s) you would like to include in your Gallery. You can also click on folders to then select images within folders and sub folders.
Finally, once you have selected the image(s) you want to add, select the Insert into Gallery button.
After your images have been successfully added to your gallery you’ll see them in the Images tab while editing your gallery.
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 Dropbox tab at Envira » Settings 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.
|envira_dropbox_importer_tmp_dir_path||apply_filters( 'envira_dropbox_importer_tmp_dir_path', $dir, $destination )|
|envira_dropbox_importer_tmp_dir_url||apply_filters( 'envira_dropbox_importer_tmp_dir_url', $dir, $destination )|
|envira_dropbox_importer_thumbnails_dir_path||apply_filters( 'envira_dropbox_importer_thumbnails_dir_path', $dir, $destination )|
|envira_dropbox_importer_thumbnails_dir_url||apply_filters( 'envira_dropbox_importer_thumbnails_dir_url', $dir, $destination )|
|envira_gallery_settings_dropbox_importer_tab_notice||do_action( 'envira_gallery_settings_dropbox_importer_tab_notice' )|
- 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.