sn1k
Forum Replies Created
-
The error message is the same.
There are some other open tickets about this problem, but i still found no solution.https://github.com/WordPress/gutenberg/issues/41825
The are all set links across other topics and issues, but not really a solution.
Ironically, they also link to this topic here i started as solution.So i still have the same problem.
Also tried a different server, same problem.Tried to increase buffer sizes etc.
Also same error. Found some other threads in the internet with people having the same issue.
Any other ideas?Dear threadi,
thank you for your ideas.
I have tried to set max_input_vars to 9999, but still the same problem.
In the nginx-error log there is following line after every refresh of the editing page:upstream sent too big header while reading response header from upstream
Forum: Plugins
In reply to: [Lightbox with PhotoSwipe] Download Image in Full-Size, not scaledDear Arno,
thank you for the info, i do fully agree with you, for the mass you need to add some checkings, so there are no errors.
In my case, i use this “feature” for a site i personally manage, so if there are any problems, i know of the struggle.I got it running by adding the following code to assets/scripts.js:
After
t=v.getImageURLForShare(e),
i added:
t=t.replace("-scaled",""),
But as you said, an additional parameter with checking of the image-set would be the clean way.
Forum: Plugins
In reply to: [Lightbox with PhotoSwipe] Download Image in Full-Size, not scaledThank you very much for the infos.
Normally wordpress creates a -scaled version only if the image is above i think 2048px.I just tried some things to test it out, i found the code in https://github.com/arnowelzel/lightbox-photoswipe/blob/main/src/lib/photoswipe-ui-default.js:
.replace('{{raw_image_url}}', image_url)
So i simply tried to strip this var, but i’m not very good at js.
I tried something like this:var image_url = str.replace("-scaled", "");
but it didn’t work. Also if i set image_url = test there is still the same download image url in the lightbox.
I have no idea how the script creates the download url.Probably thats something you can help me within a few miniutes.
Forum: Plugins
In reply to: [WP Lightbox 2] Title / Descriptionthe same problem here.
is there a shortcode to add the description?THANKS!