Problem locating offsite images
-
Hi Alex!
Its the old pest again!
I have run across an issue in the method in which your plugin uses to locate/verify images.
I am using a plugin that uploads images to an external storage service and then deletes them on the WordPress origin server.
All is working fine, excepting for the fact that the thumbnail image shows fine on the posts page up and until the image file is deleted from the origin server, and then your plugin shows the dreaded red ‘X’ (not found). The image WILL show briefly until it is deleted.
The plugin that I’m using is the ‘Media Cloud’ plugin (https://ww.wp.xz.cn/plugins/ilab-media-tools/).
From the plugin description:“Media Cloud works by moving your images, media and other files from your WordPress server to online cloud storage such as Amazon S3, Google Cloud Storage, DigitalOcean Spaces and many others. You can then serve that media through a CDN like Amazon Cloud front, Cloudflare, Fastly and others.”
So, I guess my question is: Where (what script) and how are you testing for the presence (or absence) or an image? It appears that you might be just using a php
fopenon the local server or some similar scenario.
As this might be an issue with other plugins (for instance, Remote Images, Image from URL, etc.) this ought to be addressed.
If you give me the location of the relevant code (save me the time to search for it), I’ll have a crack at seeing if this can be easily remedied and let you know.
Thanks, as always,
@brianbrown- This topic was modified 5 years, 11 months ago by . Reason: typo
- This topic was modified 5 years, 11 months ago by . Reason: Another typo. Yikes!
- This topic was modified 5 years, 11 months ago by . Reason: Need coffee!
- This topic was modified 5 years, 11 months ago by .
- This topic was modified 5 years, 11 months ago by . Reason: syntax
The topic ‘Problem locating offsite images’ is closed to new replies.