Announcement

#16 2023-03-22 10:46:41

BigIsland270972
Member
Norway
2022-03-15
374

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

konde wrote:

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?

how can you tell they are not generated? From admin.php?page=batch_manager you can generate multiple image sizes.


Piwigo 14.0 | https://fotoarkiv.no | https://foto.arki.vet | http://Bergen.gallery  | http://Ålesund.gallery | http://geiranger.gallery | http://fjord.photos | http://foto.oslo.no
Apache | PHP 8.1 | MariaDB

Offline

 

#17 2023-03-22 11:12:55

BigIsland270972
Member
Norway
2022-03-15
374

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

https://www.fotoarkiv.no/priv/generate.png


Piwigo 14.0 | https://fotoarkiv.no | https://foto.arki.vet | http://Bergen.gallery  | http://Ålesund.gallery | http://geiranger.gallery | http://fjord.photos | http://foto.oslo.no
Apache | PHP 8.1 | MariaDB

Offline

 

#18 2023-03-22 11:21:50

konde
Member
2023-03-20
23

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

Unfortunately, this does not work either, it says "Image not created"

Offline

 

#19 2023-03-22 18:56:27

konde
Member
2023-03-20
23

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

On this occasion, I created a separate post, since this is probably a different problem) The first one is still in i.php

Offline

 

#20 2023-03-23 00:18:19

erAck
Only trying to help
2015-09-06
2026

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

Likely you have some rewrite rules in a .htaccess file that mess things up.
I doubt there is any such problem in your i.php (unless you managed to mess that up).


Running Piwigo at https://erack.net/gallery/

Offline

 

#21 2023-03-23 04:30:40

konde
Member
2023-03-20
23

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

erAck wrote:

Likely you have some rewrite rules in a .htaccess file that mess things up.
I doubt there is any such problem in your i.php (unless you managed to mess that up).

Thanks, I didn't find .htaccess in the root. It looks like it doesn't exist at all, maybe somewhere else it should lie?

Offline

 

#22 2023-03-23 10:53:40

erAck
Only trying to help
2015-09-06
2026

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

You never gave a link to such non-working page of your gallery one could take a look at. It's fruitless to speculate what might happen on your site if there isn't even one concrete example. Your descriptions are hard to understand because you are talking about what you think would be happening, which might be something completely different. The only real fragment of information you gave in between I just discovered now is that there is some

javascript:changeImgSrc('i.php?/upload/........)

call in the page. Let me tell you that Piwigo core does not have one single occurrence of changeImgSrc in its code. So either you have some extension installed that does this or your hosting does.


Running Piwigo at https://erack.net/gallery/

Offline

 

#23 2023-03-23 12:43:33

konde
Member
2023-03-20
23

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

erAck wrote:

You never gave a link to such non-working page of your gallery one could take a look at. It's fruitless to speculate what might happen on your site if there isn't even one concrete example. Your descriptions are hard to understand because you are talking about what you think would be happening, which might be something completely different. The only real fragment of information you gave in between I just discovered now is that there is some

javascript:changeImgSrc('i.php?/upload/........)

call in the page. Let me tell you that Piwigo core does not have one single occurrence of changeImgSrc in its code. So either you have some extension installed that does this or your hosting does.

Thanks for your answer, most likely it's part of the template.  But the problem is not the link, because even if we directly access: https://mywebsite.com/i.php?/upload/image.jpg - each time updating (ctrl+f5) this link is a different image.  I am not kidding!  Yes, you update this one link and you have a different image, but i.php makes this image

Offline

 

#24 2023-03-23 13:16:20

konde
Member
2023-03-20
23

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

erAck wrote:

You never gave a link to such non-working page of your gallery one could take a look at. It's fruitless to speculate what might happen on your site if there isn't even one concrete example. Your descriptions are hard to understand because you are talking about what you think would be happening, which might be something completely different. The only real fragment of information you gave in between I just discovered now is that there is some

javascript:changeImgSrc('i.php?/upload/........)

call in the page. Let me tell you that Piwigo core does not have one single occurrence of changeImgSrc in its code. So either you have some extension installed that does this or your hosting does.

You were most likely right and it's about access, but which ones to put where ....?

Offline

 

#25 2023-03-23 14:08:09

konde
Member
2023-03-20
23

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

erAck wrote:

You never gave a link to such non-working page of your gallery one could take a look at. It's fruitless to speculate what might happen on your site if there isn't even one concrete example. Your descriptions are hard to understand because you are talking about what you think would be happening, which might be something completely different. The only real fragment of information you gave in between I just discovered now is that there is some

javascript:changeImgSrc('i.php?/upload/........)

call in the page. Let me tell you that Piwigo core does not have one single occurrence of changeImgSrc in its code. So either you have some extension installed that does this or your hosting does.

https://piwigo.org/forum/viewtopic.php?id=32726

Offline

 

Board footer

Powered by FluxBB

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