Hi,
First as all Thanks for developing great plugin.
Plugin is working well and i have a quesion about optimization.
I am back-up all of my images in local Hdd, so i want to optimize original image.
Please let me know how do i that.
Thank you.
]]>Hi, sorry for spaming, but I like plugin very much! ??
in filter attachment_fields_to_edit you checking attachment, if is image. But we have also PDF thumbnails, which is not. I think, there it can be like below
1) wp_get_attachment_metadata
2) check if meta[sizes] is set
3) get relative path of full image
4) check extension over wp_check_filetype, if is jpg,png…
Like this, it would be bulletproof. I have thumbnails of PDF, MP4 videos…
Thank you
]]>[12-Nov-2020 17:20:32 UTC] PHP Notice: Undefined index: sizes in /home/refreshpixel/domains/-/wp-content/plugins/slimage/includes/Compressor.class.php on line 31
please it should be
if ( isset( $metadata[‘sizes’] ) ) {
$sizes = $metadata[‘sizes’];
We can generate metadata also for videos / audio for id3 tags.
Thanks
]]>Hi, I had some css issue with ACF. Plugin add display:block to TH and TD. So I added display: table-cell like below.
tr.compat-field-slimage_quality th, tr.compat-field-slimage_extras th {
border-left: 1px solid #ccc;
padding-left: 1rem;
display: table-cell !important;
}
Hello there, nice plugin for those who’s using Bitnami Stack.
There’s a way to not backup original files?
Thank you man, nice work!
]]>