Announcement

#1 2023-03-20 00:18:25

konde
Member
2023-03-20
23

Invalid previews are generated. Images change by themselves.

Hello

I have some weird problem. I've never seen anything like this all over the internet.

Incorrect previews and incorrect incorrect images of other formats are created. I'm previewing from other images, and when I switch between sizes, completely different other images come out. Mostly from the last uploaded.

I noticed one similarity - all incorrect images have a beginning: i.php
If the image has a direct link /_data - all is well.

I found a fix for i.php on the forum - where you need to specify the direct path for the Piwigo directory, but this did not help at all.

Please help what to do?

I updated to the latest version - but that didn't help either. I did not find such a problem on the form and in general on the Internet.

Piwigo 12.3.0
Linux
PHP: 8.0.26
MySQL: 10.10.2-MariaDB
ImageMagick 6.9.12-70
Cache size 5298.07 Mo  

Offline

 

#2 2023-03-20 00:21:34

konde
Member
2023-03-20
23

Re: Invalid previews are generated. Images change by themselves.

I disabled all plugins, did synchronization and all the suggested actions in the admin panel.
Nothing helped.

Offline

 

#3 2023-03-20 02:33:09

konde
Member
2023-03-20
23

Re: Invalid previews are generated. Images change by themselves.

I see solutions like this:
1) Make sure that all links are on _date, remove i.php altogether. But how to do that?
2) Fix the work of i.php so that links to images are created correctly. But how to do that?

Offline

 

#4 2023-03-20 17:07:19

konde
Member
2023-03-20
23

Re: Invalid previews are generated. Images change by themselves.

Can anyone give some advice? Any advice

Offline

 

#5 2023-03-20 21:35:39

konde
Member
2023-03-20
23

Re: Invalid previews are generated. Images change by themselves.

Hi, thanks for the reply.
I disabled the site, so far it is not there, because it does not work :(
The problem is that when I go to any image with a link that starts with i.php, I and other users get a completely random different image from the last uploaded.
Even if you just refresh the browser window (сtrl + F5), different pictures will be loaded. Magic huh?

At the same time, the image sources are correct, the images in the _data folder are correct.

Offline

 

#6 2023-03-20 21:36:57

konde
Member
2023-03-20
23

Re: Invalid previews are generated. Images change by themselves.

BigIsland270972 wrote:

Hello. Can you provide a link to your site? It's kinda hard to understand what you mean. I can maybe help you   :)
Robert

Please advise what should I do?

Offline

 

#7 2023-03-21 00:06:40

konde
Member
2023-03-20
23

Re: Invalid previews are generated. Images change by themselves.

Can you suggest how to make sure i.php is not used?

Offline

 

#8 2023-03-21 14:51:49

konde
Member
2023-03-20
23

Re: Invalid previews are generated. Images change by themselves.

BigIsland270972 wrote:

Hello, Can I ask why do you access the images from i.php?

This link is for images of different sizes. Probably previews of a different size are simply not created.
And the link looks like javascript:changeImgSrc('i.php?/upload/........)

Offline

 

#9 2023-03-21 15:02:21

konde
Member
2023-03-20
23

Re: Invalid previews are generated. Images change by themselves.

BigIsland270972 wrote:

Hello, Can I ask why do you access the images from i.php?

Could it be a write permission issue? But I put 777 on the upload folders, and there is no information in the logs. (/upload), (_data/i/upload)

Offline

 

#10 2023-03-21 18:42:48

konde
Member
2023-03-20
23

Re: Invalid previews are generated. Images change by themselves.

BigIsland270972 wrote:

A quick note:
If  you dont have generated the derivates it will be generated on the fly when you access the image via the normal url like:
https://www.fotoarkiv.no/picture.php?/1 … egory/1528

And depending on the settings in picture sizes it will not generate every size automatically

There seems to be a problem in this on-the-fly generation functionality. Generation produces wrong images. The original is one, but another image is generated on the fly

Offline

 

#11 2023-03-21 21:29:38

konde
Member
2023-03-20
23

Re: Invalid previews are generated. Images change by themselves.

BigIsland270972 wrote:

if you upload your images to the default /galleries folder then syncronize does that also generate the wrong pictures?

I understand that the synchronization functionality works strangely. But those images that are created and placed in the _data folder - they are done correctly.
If through the admin panel to make different sizes of images - writes an error. Images are not created. (all folders are 777)

Offline

 

#12 2023-03-21 22:04:34

BigIsland
Member
2015-02-12
3

Re: Invalid previews are generated. Images change by themselves.

The /_data/ folder is the only folder that stores the generated images.

Offline

 

#13 2023-03-21 22:17:32

konde
Member
2023-03-20
23

Re: Invalid previews are generated. Images change by themselves.

BigIsland wrote:

The /_data/ folder is the only folder that stores the generated images.

Yes, I understand. In this folder, images are saved normally.
The problem is in those images that are generated on the fly and are not saved in _data
Can you advise something?

Offline

 

#14 2023-03-22 01:11:17

konde
Member
2023-03-20
23

Re: Invalid previews are generated. Images change by themselves.

_data

Offline

 

#15 2023-03-22 02:40:11

konde
Member
2023-03-20
23

Re: Invalid previews are generated. Images change by themselves.

BigIsland270972 wrote:

What folder are you talking about?

Tell me please, maybe I can reinstall everything, but with saving the files?

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact