Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Error while trying to view/download JPG file

$
0
0

Replies: 0

Hi,
I am using the Webp Express plugin to change the weight of image files, everything works perfectly if I display the files added in the standard way on the page.

But I need an exception for files generated by a function called by ajax.

When I want to download such graphic as JPG file I get the message:
“Sanity check failed for WebP Express content dir: Directory does not exist or is outside restricted basedir”.

How can I create such exception for files from specific directory in uploads folder?


Viewing all articles
Browse latest Browse all 59525

Trending Articles