NSFW Cannot Submit Post Images




Wordpress LScache Plugin: NSFW Cannot Submit Post Images


Hi guys, Im having problems submitting website posts to a website called sex(dot)com who say that my images are in the wrong format. They can only accept .jpg .gif .png etc, but the image being picked up is of svg+xml base64,phn2zyb4bwxucz0iahr0cdovl3d3dy53my5vcmcvmjawmc9zdmciihdpzhropsixotuiighlawdodd0imzawiib2awv3qm94psiwidagmtk1idmwmci+phjly3qgd2lkdgg9ijewmcuiighlawdodd0imtawjsigc3r5bgu9imzpbgw6i2nmzdrkyjtmawxslw9wywnpdhk6idaumtsilz48l3n2zz4=) and Im guessing that this format is either of svg or base64 format. Im using Litespeed Cache with the usual Quic Cloud optimizations and .webp images. How would I be able to submit the odd post with images to sex(dot)com? did you enable lazyload ? please try turn it off Hi @CacheCrawler No, I never use LazyLoad as it negatively affects LCP. but thats only thing , on my knowledge , that our plugin will add base64 image Hi @CacheCrawler Ok then, what about this: What if I disabled LSC whilst I created a new post, then submitted the post to sex(dot)com so that the base64 images wont have kicked in yet? Then re-enable LSC and run as normal. Would Quic Cloud still be enabling base64 images even though LSC would be disabled? thats weird, you need to figure out where did that base64 come from try reset to default setting first ,maybe I missed something , but default will certainly not create any base64 Hi @CacheCrawler Apparently (according to Chemicloud): For Basic Image Placeholder, you can specify the base64 of an image to be used as a placeholder until your actual images load. Following on from that, I went into Page Optimisation and disabled the image placeholder, and also disabled Quick Cloud images. Still unable to post Im afraid. Right then, though the issue is still not resolved, I did a workaround by disabling LSC and installing and activating Nitro Pack. I was able then to post images with ease, before disabling Nitro Pack and re-enabling LSC. Images were able to be posted whilst I was using WP Rocket, and now using Nitro Pack, so this svg/base64 format used in LSC really needs looking at! did you enable gues mode? Hi @CacheCrawler Yes, guest mode is activated. please try turn it off , purge all and check again Hi @CacheCrawler Yes, disabling Guest Mode seems to work! Ill re-enable it now, but Ive left a note on my PC to disable it when posting to social networks. Thanks @CacheCrawler Just confirming (on a new post) that disabling Guest Mode for a few minutes makes posting to social networks works flawlessly. this is so weird , but if that works for you , add below code to your wp-config.php if (strops($_SERVER[REQUEST_URI], edit.php ) !== false) define( LSCWP_V, 1 ) this will disable LSCWP on editot page and keep working on any other page. Hi @CacheCrawler Its not the post editor page thats having the problem, its after the post has been published and is live where the issue lies. When the post is live, for some reason LSC is pulling svg/base64 placeholders to use before the image loads, but the weird thing is that temporarily disabling guest mode corrects it. This svg/base64 was also affecting Linkedin, but with guest mode disabled, the images went up straight away. Ill paste your code into wp-config, but Ill comment it out until I post another item.
Do you need help?
We are online almost any time and ready to answer any question. The answer to your question will come faster than it takes you to release the mouse button.

Ask A Question