Pedro
Forum Replies Created
-
Hello @hackrepair,
This has been addressed in version 6.4.1 of our plugin, recently released. Please note that it does not clean previous temporary files, but from now on it should not leave traces anymore (unless permissions or other issues prevent the deletion of temporary files).
Thanks for reporting this!
Forum: Plugins
In reply to: [Enable Media Replace] A PHP WarningHello @serloo, this could happen for a number of reasons, depending on how the image information is stored in your DB, as well as how the paths are defined in WordPress.
Can you please:
- Tell us when you get this warning? Is it when you replace an image with our plugin, or does it just show up in the logs?
- Tell us if the image replacement is done correctly?
- Send us your WordPress system health data related to the paths defined in WordPress?
If you consider that’s too sensitive data to post here, please contact us and mention this thread, and we’ll continue the discussion in private, posting the solution here.
Thanks!
Forum: Plugins
In reply to: [Enable Media Replace] Version 4.1.7 breaks the backofficehello @bvedgie, can you please tell us if you are still having issues with the version 4.1.7 of this plugin?
We’ve tested it with WordPress 6.9 as well and everything looks good in our tests.
ThanksForum: Plugins
In reply to: [Enable Media Replace] Great plugin – maybe an easy missing featureHello Jonathan,
Thanks for providing these details; they are very useful to understand the use cases you want to cover. Indeed, none of these features is currently available in our plugin, and I can’t tell for sure if or when we’ll be able to implement them. I’ll surely add them to our development backlog, and if they are implemented, please watch the plugin change log for more details, because this thread will get closed after a while.
Meanwhile, if you are a developer and have some spare time, we always welcome pull requests to our public GitHub repository:
https://github.com/short-pixel-optimizer/enable-media-replace
All the best!
Hello @vutruso,
From what I can see, all the images on the given page are working now. For your information, we have mechanisms to prevent such situations where corrupt/incomplete images would reach your website (if they come from our optimization API). However, if something happens at your server level (such as timeouts, php processes being killed, hosting limitations around file operations, etc.), this kind of situations may appear. This is very rare and is usually solved by re-optimizing the image in discussion (or restoring it from the backup and optimizing it again at a later time).
Please tell me if you still need our assistance with this.
Forum: Plugins
In reply to: [Enable Media Replace] Great plugin – maybe an easy missing featureHey @jonathanretines,
How would this feature work in your case? When such a replacement would take place, you’d like to duplicate the same image in the Media Library, or the image you select from the Media Library should really be used instead of the one you’re replacing, everywhere in the content across the website? And that means the replaced image is completely removed from the Media Library?
A clear example (with some image names) would probably clarify this feature request. Thanks!Forum: Plugins
In reply to: [Enable Media Replace] bulk replaceAh, ok, then it makes total sense, I fully understand your use case now.
We’ll add this to our (rather long) development backlog and hopefully we’ll manage to have it implemented one day. Thanks for all the details!
Forum: Plugins
In reply to: [Enable Media Replace] bulk replaceI just realized I haven’t answered your last question, sorry about that.
The way I see it is this:
- You have 40 different images, and you want to replace each of them with the same (new) image
- You replace one of them with the new image
- The other 39 images are probably used somewhere on your website inside a post/page/product, etc. From the Media Library list you can see the post/page where each image was uploaded to, you just click on it and replace the (old) image from the content with the new one (that you used to replace the first image from the 40). In this way, it will point to the newly replaced image and you can probably remove the other one
- You repeat the process for the 38 remaining items.
I am aware this may probably take more of your time, and a choice needs to be made: more images to take more space and clutter up on your website, or a quicker solution to replace all of them with the same image.
I hope this answer was useful!Forum: Plugins
In reply to: [Enable Media Replace] bulk replaceHi @mmatei, ok I understand now. However, having such a bulk feature would result in having 40 items in your Media Library with exactly the same image, which is not necessarily the best way in my opinion. I consider the best choice in this case would be to replace just one image and point all the rest to it (from the products/content) and remove the other 39 from your Media Library.
I’ll go ahead and mark this ticket as resolved, feel free to start a new thread if needed.
Forum: Plugins
In reply to: [Enable Media Replace] Replacing in bulkHello @gercal and @gunas1867,
Can you please describe in more detail your use case? How would a bulk replace feature work in your cases? Usually, when replacing is needed, you swap each image with a different one, therefore you would still need to select and upload the new images one by one, for each image to be replaced.
Forum: Plugins
In reply to: [Enable Media Replace] bulk replaceHello Matei,
Can you please explain how would a bulk feature work? We’d like to understand your use case, to see if we can implement something like this.
All the best,
Forum: Plugins
In reply to: [Enable Media Replace] Run Code after a replacementHello @madtownlems,
I believe the hook you are looking for is this one:
do_action("enable-media-replace-upload-done", $target_url, $source_url, $this->post_id);I would say it’s quite self explenatory and feel free to let us know if you still need more details about it. It fires after everything is done, including flushing the cache plugins we’ve integrated with.
Thanks
If there are people still having issues with Yoast, please download the version below, upload it on top of version 6.3.1 and tell me if it fixes the issue:
https://shortpixel.com/downloads/shortpixel-image-optimiser-6.3.2-DEV01.zip
Thanks, I look forward to getting your feedback!
Forum: Plugins
In reply to: