I have locked some images with Patreon. But my patrons are unable to view them. Even I can’t view them in “preview”.
An example is this image file:
The above image is in the page: https://thebankinganalyst.com/usbanks/bac-bank-of-america/
I have this trouble with all the Patreon-locked images on the website.
I have only one tier ($3) and the image is locked for $3. All the images are in my Wordpress library.
Kindly resolve. Thanks in advance!
Now, to start with, the locked image placeholder quality is very low. This may point to issues with GD and other image libraries’ installation at your host.
As for not being able to unlock - try doing a ctrl+f5 to see if the image will be loaded properly. Some caching plugins (and browsers themselves) cache the images’ old versions.
I checked with my hosting service (BlueHost) and they said that GD has been installed now.
I tried Ctrl+F5 and nothing has changed.
Do you have any caching plugin in your site? Does your host have a caching feature?
Also, you can try unlocking an image from a different device and ISP. Some isps’ proxies cache images and other content for a while.
I use W3 Total Cache plugin.
My patrons also report the image unlocking issue. So, it is from different devices/ ISP.
Also, in the picture, the button “unlock it now” doesn’t work.
If unlock button doesnt work, that would point to a JS issue in your site. You can check if there is any code that breaks JS at your site by hitting F12 key (chrome, firefox) and going to ‘Console’ tab.
If there are an errors there, they will be listed. Any JS error may break the code that allows you to unlock the image.
Additionally, if you use any JS minification/caching through W3 Total Cache or other plugin (Autoptimize etc) then those also may prevent the image unlocker script from working.
The image unlocking code works when an image is embedded inside a post and that post/page is being viewed. If the image is directly viewed, unlock button does not work.
Hitting F12 shows a lot of errors. Sample page is given below. Please have a look.
I also deactivated W3 Total Cache and Autoptimize plugins, and then refreshed using Ctrl+F5, but nothing changed.
Those are generally missing image errors. They should be addressed, but they shouldnt affect the JS.
You can try disabling W3 Total Cache and see if this effects any change.
As I already said, I have disabled W3 Total Cache and Autoptimize plugins. This hasn’t changed anything.
Can you lock a post for $1 and post it in a test post and then link me the url of the test post?
Can you post that image inside an unlocked post and then link the post. This image is inside an already locked post.
Hi, please let me know whether anything else needs to be done. Thanks!
Do you have Jetpack installed at your site? Do you have image functions in Performance section of Jetpack active?
Yes, Jetpack is installed, and lazy loading is active.
Ok, i identified this to be related to Jetpack and fixed it. The next version (1.6.2) will tell Jetpack not to cache gated images and it will serve them from your site. This will allow unlocking of images.
Its the regular release time so this will go out soon today. You can just update to 1.6.2 when you see the update in your plugin admin and that should solve your issue.
You can update to 1.6.2 from your plugin admin now.
Thanks for resolving the issue!