You can purge the cache for a single image using curl or PHP. I have a PHP script that will purge the image, so all I need to do now is hook into the Enable Media Replace plugin.
My function is imgix_purge($filename), and I have it in my own custom plugin. I want my plugin to ‘listen’ for a media replacement where the user chooses to keep the existing filename. Then, I need to get the filename (and relative path) and pass it as an argument to my function.
]]>I want to delete “fix = scale”.
Is this possible?
]]>I am having an issue after image cropping and cropped images do not uploads to imgix server again.
I am using a custom media upload tool to upload media to custom post type , all things are working fine and media is being uploaded to imgix server too.
But when i tries to crop an image that is already in default WP media directory then this cropped image does not get uploads to imgix server again and custom post type posts does not get these cropped images to front end display. However cropping feature is also working fine but cropped image resides in WP media directory only.
Can I stop the default media upload to imgix server and can self upload media to imgix using my script ? Is it possible ?
Can you please help me to sort out this issue ?
Regards
]]>what should i enter here?
Most of my images when enlarged now are a bit pixelated through imgix, is there an option at their end I’m missing?
]]>