https://wordpress.org/plugins/easy-watermark/
The above plugin creates a new folder in wp-content for the backups with the same structure as the uploads folder.
This way it is really easy to create htaccess redirects.
Please respond to this. Your plugin does the image handling way better so I’d like to keep using this plugin but the backup feature is mandatory in my case.
Hoop you can look into this! Please let me know.
Thx for the feedback @jory
For now we focused on implementation of Image Magic, if supported by yout server (which is much better method than GD Library)
After we do that, we’ll definitely get back to the backup idea.
Regards,
Bartosz / dfactory team
Hi Bartosz,
I’ve noticed the update on ImageMagic!
Let me know if/when we could look at the backup posibilities!
Regards, Jory
Hey Jory,
We will introduce it buy hard to say when. Probably this will be a major update, that will combine image regeneration functionality too, so it will take while.
Understandable, let me know if I can help (Github?)
Created a fork:
https://github.com/JoryHogeveen/image-watermark
DONE:
- Create image backup in folder wp-content/iw-backup/**imagepath**
- Create htaccess security in the iw-backup folder
- Delete backup image when an image is deleted
TODO:
- (regenerate thumbnails feature)
- Recreate watermark images with help of the backup image
- Recreate images without watermark with help of the backup image
Current status:
- Bulk actions with Ajax done
- Ajax also shows various notices and update feedback when doing bulk actions
TODO:
Test it on various installations!
Some screenshots:
Settings page
Bulk action running
Bulk action success/finished
Code:
Repository:
https://github.com/JoryHogeveen/image-watermark
Filechanges:
https://github.com/dfactoryplugins/image-watermark/compare/master…JoryHogeveen:master
Fantastic work Jory,
We’ll download that and do some testing,
Just did a minor update on the javascript bulk update.
Rotation of the icon is now looping and stopping correctly.
Another idea. What about apply/remove watermark in the modal windows and edit-attachment screens?
Screenshots (not functional):
Edit attachment
Media modal
Github repository now also has the buttons in the edit and modal screens enabled :).
I’ve changed and renamed the bulk-action script to be able to do updates on more locations than just the upload.php page. It is now enabled on the upload.php page, the post.php (attachment edit) page and all the media-modal windows/popups.
I currently load this script on every page because the image modal could be loaded on various locations. Also, because of the modal, all images and edit fields are loaded with javascript so I doubt we can’t know on what page we are for checks.
Again, let me know what you think about it so far. (Idea to get in touch on Slack?)
We’ll need some time with testing I would say!
Another fix applied for multisites.
I’ve copied the default wordpress folder structure for multisite installations.
(sites/*siteid*/etc.)
We don’t need to check for a possible customized folder structure since the backup structure has it’s own management from this plugin.
Even if the default folder structure is customised, our own backup structure will still work.
https://github.com/JoryHogeveen/image-watermark/commit/ca8a5a5dba2ba92060860bcbe8672fa25a5baa2e
Hi Bartosz,
Did you manage to test the changes?
Also, any feedback or todo’s?
Let me know!
Regards, Jory