The rokka image converter supports you in storing your digital images – easy and neat. Whether for handling image formats, SEO attributes or the lightning fast delivery, rokka is just the right tool for your digital images.
This WordPress plugin integrates the rokka image service. All images from your image libary will be synchronized to your rokka account and be served directly through rokka.
- WordPress = 4.0
- PHP = 5.6
- Documentation: https://github.com/rokka-io/rokka-wordpress-plugin/wiki
- WordPress Plugin: https://wordpress.org/plugins/rokka-integration/
- Website: https://rokka.io
- GitHub Repository: https://github.com/rokka-io/rokka-wordpress-plugin
- Changelog: https://github.com/rokka-io/rokka-wordpress-plugin/releases
- Issue tracker: https://github.com/rokka-io/rokka-wordpress-plugin/issues
Media management with rokka integration
Rokka stack synchronization
Rokka mass uploader
What will happen to my image sizes?
You can synchronize all defined image sizes as so called stacks to rokka.
An image from rokka can’t be loaded anymore. What should I do?
If an image which was previously uploaded to rokka can’t be loaded anymore try comparing the rokka hash in the WordPress attachment edit screen with the hash of the image on rokka.io (https://rokka.io/dashboard/) itself.
If it doesn’t match anymore just copy paste the hash from rokka.io to the WordPress attachment edit screen and save the image.
What is the stack prefix used for?
When synchronizing image sizes from WordPress to rokka the name of the size will be prefixed with this value to create a new stack on rokka.
By prefixing the rokka stack names we ensure that already existing stacks on rokka won’t be overwritten.
Additionally we are able to identify deleted image sizes on WordPress and delete them on rokka as well.
I created a new / changed an existing size in WordPress. What do I have to do now?
Everytime you change something on your size configuration in WordPress you need to re-synchronize the sizes with the rokka stacks.
You can do this in the rokka settings (
Settings Rokka Settings Sync stacks).
Have you found a bug or do you have a feature request?
Please create a new GitHub issue and let us know: https://github.com/rokka-io/rokka-wordpress-plugin/issues
- Upload the
rokka-integrationdirectory into the
- Activate the plugin through the
Pluginsmenu in WordPress
- Add your rokka credentials in the rokka settings (
Settings Rokka Settings)
- Synchronize your image sizes to rokka (
Settings Rokka Settings Sync stacks)
- Enable rokka support (
Settings Rokka Settings Enable rokka integration)
- Start uploading your images to rokka via mass uploader (
Settings Rokka Settings Mass upload/delete) or image by image in the media management (
Media (list mode))
This release fixes an issue in WordPress where srcsets are generated with images of a ratio that doesn’t match the ratio of the requested image size. This happens when the requested size is larger than the original image. When requesting an image size with a fixed ratio and the original image is smaller than this size you would expect to get all smaller sizes of the same ratio.
To achieve this behavior this release changes the way images are downsized by WordPress. This means that you need to regenerate the thumbnails when you activate and deactivate this plugin. This can be done for example with the following plugin: https://wordpress.org/plugins/regenerate-thumbnails/
Everything works fine if you don’t do it but the fix will then only apply to newly uploaded images.
- [BUGFIX] Fix WordPress bug where srcsets are generated with images of a wrong ratio.
- [BUGFIX] Fix warning in media library if attachment metadata is not yet generated after file upload.
- [UPDATE] Update rokka-client-php to v1.8.0
- [BUGFIX] Fix WordPress bug where
manage_media_columns-filter is not set.
- [BUGFIX] Fetch image meta data if not passed to
- [BUGFIX] Autoformat option was not set when syncing stacks for the first time.
- [BUGFIX] Backport
wp_image_matches_ratiofunction to be compatible with older WordPress versions than 4.6.0
- [BUGFIX] Fix finding of nearest matching size if image is requested with a width/height array instead of a size string
This is a huge rewrite of the plugin but there shouldn’t be any breaking changes.
- [FEATURE] Support attachments which are uploaded through the WordPress REST API (This ensures compatibility to the new Gutenberg editor)
- [FEATURE] Auto disable rokka integration if settings are incomplete
- [UPDATE] Update rokka-client-php to v1.2.0
- [CHANGE] Improve unit test coverage
- [FEATURE] Add unit tests to test url filtering
- [UPDATE] Update rokka-client-php to v1.0.0
- [FIX] Fix URL filtering when creating srcset
- [FIX] Use correct filenames for different sizes
- [FIX] There shouldn’t be an upload error when it’s not needed to upload an attachment to rokka
- [UPDATE] Update rokka-client-php to v0.10.0
- [CHANGE] Improve generation of prefixed stack names
- [FEATURE] Add autoformat option. If autoformat is enabled, rokka will deliver an image in the usually smaller WebP format instead of PNG or JPG, if the client supports it.
- [FIX] Fix usage of
- [FEATURE] Add possibility to define options with constants. Available constants are:
- [FEATURE] Add possibility to overwrite base settings with constants. Available constants are:
- [REMOVE] Remove rokka api secret option since it’s not used anymore
- [FEATURE] Add Cli-Commands to create stacks and noop-stacks on rokka
- [CHANGE] Use overwrite option to update existsing stack
- [FIX] Do not delete rokka image if there are other images with the same hash
- [CHANGE] Save plugin options as booleans
- [FIX] Fix a problem with allowed filenames (slugs) on rokka
- [FEATURE] Add option to define if previous image should be deleted on rokka if metadata changes
- Initial release of this plugin