Want to skyrocket the popularity of your plugin and reach millions of eager users? Look no further than WP Hive. Gain credibility through in-depth reviews, drive conversions with targeted email marketing, and boost visibility with strategic social promotion and exposure
Sorry, pal! The plugin couldn’t pass all our tests. No hard feelings, right?
Tests done by WP Hive test script Results
Minimal impact on memory usage The memory usage of this plugin is less than the average memory usage of other plugins on WordPress.org + 200KB. Check FAQ for more.
Minimal impact on pagespeed The impact of this plugin on PageSpeed is less than the average impact of other plugins on WordPress.org + 1000 milliseconds
No PHP errors, warning, notices WP Hive automated test found no PHP error while activating this plugin on our server
No Javascript issues WP Hive automated test found no JavaScrip error while activating this plugin on our server
Latest PHP 7.2.16 compatible WP Hive automated test found some warnings/errors while testing it with the latest version of PHP. They may/may not cause any issues. You are advised to test yourself
Latest WordPress 5.2.4 compatible WP Hive automated test found that the plugin may not be fully compatible due to PHP warnings, latest version of PHP\'s compatibility. However, this is an automated test and plugin maybe fully compatible. You are advised to test yourself
Optimized database footprint The plugin creates less than 50 database tables
No activation errors WP Hive automated test found no activation error while activating this plugin on our server
No resource errors WP Hive automated test found activation error/s while trying this plugin on our server
Frequently updated The plugin was not updated at least once in the last 90 days
All the plugins are tested on the same server with exactly same configuration via test script that automatically activates and logs the data WP Hive shows.
All the scripts run on a VPS with 8 CPU cores and 8 GB of RAM.
The test sites are hosted on Google Cloud VM instances, one site/plugin per instance. The machine type is n1-standard-1. The server is a 8 core CPU with 8GB of RAM.
The test sites are hosted on Apache/2 server and they are tested on PHP 7.2.16 & WordPress 5.2.4.
The database server is MySQL 8.0.15 and the default PHP memory limit is 256MB.
Disclosure: When you buy through affiliate links on this site, WP Hive may earn a commission which we use to keep the site running. Learn more →
About Flickr Shortcode Importer
Description
Flickr Shortcode Importer imports [flickr], [flickrset], [flickr-gallery] shortcode and Flickr-sourced A/IMG tagged media into the Media Library. Furthermore, it transforms the post content [flickr] shortcodes into links containing the Media Library based image of the proper size and alignment. Import can be run directly from edit page and post screens. The first [flickr] image found in post content is set....
Flickr Shortcode Importer imports [flickr], [flickrset], [flickr-gallery] shortcode and Flickr-sourced A/IMG tagged media into the Media Library. Furthermore, it transforms the post content [flickr] shortcodes into links containing the Media Library based image of the proper size and alignment.
Import can be run directly from edit page and post screens.
The first [flickr] image found in post content is set as the post’s Featured Image and removed from the post content. The remaining [flickr] shortcodes are then transformed as image links to their attachment page.
[flickrset] and [flickr-gallery] shortcodes are converted to [ gallery] after the Flickr set images have been added to the Media Library. If ‘Set Featured Image’ is checked in Options, then the first image of the [flickrset] is used as such.
Flickr-sourced A/IMG tagged media is converted into [flickr] and then imported as normal. Great for finally bringing into your control all of those media items you’ve been using, but now Flickr is giving you ‘Image is unavailable’ for. A/IMG tag is processed before IMG to prevent unexpected results.
Image attribution links can be added if enabled via Settings.
This plugin is handy for transitioning from plugin wordpress-flickr-manager and flickr-gallery to your own Media Library because you have CDN services or want to move off of third party software.
There is no restore functionality. Backup beforehand or be prepared to revert every transformed post by hand via the post revision tool.
Primary Features
API
Automatically adds media ids to newly inserted gallery shortcodes
Flickr-sourced A/IMG tagged media imported into WordPress
Media of [flick] shortcodes are imported and converted to locally hosted A/IMG
Media of [flickrset] and [flickr-gallery] shortcodes are imported and converted to [ gallery]
Skip Importing Videos – Importing videos from Flickr often fails. Shortcode is still converted to object/embed linking to Flickr.
Import Flickr-sourced A/IMG tags – Converts Flickr-sourced A/IMG tags to [flickr] and then proceeds with import.
Set Featured Image – Set the first [flickr] or [flickrset] image found as the Featured Image. Will not replace the current Featured Image of a post.
Force Set Featured Image – Set the Featured Image even if one already exists for a post.
Remove First Flickr Shortcode – Removes the first [flickr] from post content. If you use Featured Images as header or lead images, then this might prevent duplicate images in your post.
Make Nice Image Title? – Try to make a nice title if none is set. For Flickr set images, Flickr set title plus a numeric suffix is applied.
Replace Filename with Image Title? – Mainly for SEO purposes. This setting replaces the imported media filename with the media’s title. For non-images, this is always done.
Image Import Size – Size of image to import into media library from Flickr. If requested size doesn’t exist, then original is imported because it’s the closest to the requested import size.
Default Image Alignment – Default alignment of image displayed in post when no alignment is found.
Default Image Size – Default size of image displayed in post when no size is found.
Default A Tag Class – Inserts a class into links around imported images. Useful for lightbox’ing.
Link Image to Attachment Page? – If set, post single view images are linked to attachment pages. Otherwise the image links to its source file.
Image Wrap Class – If set, a span tag is wrapped around the image with the given class. Also wraps attribution if enabled. e.g. Providing flickr-image results in <span class="flickr-image">|</span>
Set Captions – Uses media title as the caption.
Set Descriptions – Include Flickr descriptions in media information.
Include Flickr Author Attribution? – Appends Flickr username, linked back to Flickr image to the imported Flickr image.
Flickr Author Attribution Text
Flickr Author Attribution Wrap Class – If set, a span tag is wrapped around the attribution with the given class. e.g. Providing flickr-attribution results in <span class="flickr-attribution">|</span>
Add Flickr Link in Description? – Like Include Flickr Author Attribution but appends the image description.
Flickr Link Text
Add Image License to Description? – Append image license and link to image description.
Flickr Image License Text
Posts Selection
Posts to Import – A CSV list of post ids to import, like ‘1,2,3’.
Skip Importing Posts – A CSV list of post ids not to import, like ‘1,2,3’.
Testing Options
Import Limit – Useful for testing import on a limited amount of posts. 0 or blank means unlimited.
Debug Mode – Bypass Ajax controller to handle posts_to_import directly for testing purposes.
Post Options
Post [flickr] Import Widget? – Minimum role to enable for [flickr] Import wi
dget on posts and page edit screens.
Enable for Pages
Enable for Posts
Enable for Media
Enable for custom post types – if any
Flickr API
Flickr API Key – Flickr API Documentation
Flickr API Secret
Flickr User ID – For Flickr Gallery plugin. Example: 90901451@N00
Images Per Page – For Flickr Gallery plugin.
Reset
Reimport Flickr Source Images – Needed when changing the Flickr image import size from prior imports.
Export Settings – These are your current settings in a serialized format. Copy the contents to make a backup of your settings.
Import Settings – Paste new serialized settings here to overwrite your current configuration.
Remove Plugin Data on Deletion? – Delete all Flickr Shortcode Importer data and options from database on plugin deletion
Reset to Defaults? – Check this box to reset options to their defaults
Notes
Backup your database before importing. You can use revision to revert individual posts, but doing so in mass is a major PITA.
During my own imports, a post with one [flickr] entry could take a minute. Then posts with many [flickr] entries, several Flickr-source’d A/IMG tags and [flickset] with 30 or so photos took over 10-minutes to import.
During import, it might look like nothing is happening. The progress bar only moves after each import succeeds or fails.
I recommend setting the limit in options to 1 and then testing your installation. That sure makes for easier recovery in case something goes wrong. If something doesn’t work, report it, https://wordpress.org/extend/plugins/flickr-shortcode-importer/.
It’s strongly recommended to deactivate plugins like WordSocial, WP Smush.it and similar to prevent extended import times. You can always enable them and run them enmasse later.
Make sure you have enough disk space. Figure on about 1 GB per 1,000 photos given your using Scissors-continued and have a maximum image size of 1280 x 1024. If your images can be larger, then you’ll probably need 1 GB per 250 photos imported.
Using your own Flickr API Key might be necessary. Test a single import and see the results before setting your own.
API
Read the Flickr Shortcode Importer API.
Localization
You can translate this plugin into your own language if it’s not done so already. The localization file flickr-shortcode-importer.pot can be found in the languages folder of this plugin. After translation, please send the localized file for plugin inclusion.
How do I localize?
Thank You
Thank you for tobylewis for his file_get_contents_curl and custom post types contributions.
A big thank you to Željko Aščić of http://www.touristplayground.com/ for feedback and ideas.
Initial code is modeled after Viper007Bond’s class based Regenerate Thumbnails plugin. The AJAX status and single auto-submission operations were a big help.
[flickr] shortcode handling code copied from Trent Gardner’s very fine Flickr Manager plugin.
Hat’s off to Alison Barret for her Settings API tutorials and class My_Theme_Options.
We found the following errors while activating the plugin. Read more how WP Hive generates this data.
[21-Oct-2019 10:35:11 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; wsScreenMetaLinks11 has a deprecated constructor in /wp-content/plugins/flickr-shortcode-importer/includes/libraries/screen-meta-links.php on line 25
Show Off Your Plugin
PHP 7.2.16
Powered by WP Hive
WP 5.2.4
Powered by WP Hive
PHP 7.2.16
WP 5.2.4
Love using this plugin?
Why don’t you compare the plugin side by side with another plugin
Want to skyrocket the popularity of your plugin and reach millions of eager users? Look no further than WP Hive. Gain credibility through in-depth reviews, drive conversions with targeted email marketing, and boost visibility with strategic social promotion and exposure
Be Part of the Conversation with WordPress Enthusiasts
Using Flickr Shortcode Importer? Great, join the conversation now!
Let’s talk about overall quality, ease of use, stellar support, unbeatable value, and the amazing experience Flickr Shortcode Importer brings to you.