![]() |
|
Some cached images are not generated -1.5.2 and 1.5.3b - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Some cached images are not generated -1.5.2 and 1.5.3b (/thread-13284.html) Pages:
1
2
|
Some cached images are not generated -1.5.2 and 1.5.3b - ctdlg - 04-06-2019 Hello, I've got a problem with the cached images : All pictures added before 1.5.3 upgrade are ok (_800 cached images were generated) Under 1.5.1, for example, I get a 926e0d51d543b9c976d9c3540bf8d19226302f33.I-IMG_6226_800_filigrane.jpg file, and this picture is used when I click the thumb named I-IMG_6226 From 1.5.3b, I downgraded my localhost machine to 1.5.2 -> same problem. When I edit the image, and try to crop my image under 1.5.2 or 1.5.3b, I get a blank large frame with a very small black square. My themeoption.php does contain this line : Of course, I know I can downgrade my online site to 1.5.1, but I'd like to keep 1.5.3b ! Some cached images are not generated -1.5.2 and 1.5.3b - acrylian - 04-06-2019 The 800px files generally will only be generated if the size of the original is larger than this, If hte same already or smaller it is not (unless you enable upscaling on the backend which is really not recommend for quality). But I guess that you do know already ;-) Actually we did not change anything from 1.5.1 to 1.5.2/3 in this regard. We did from 1.5 to 1.5.1 as we accidentally broke cache file naming respectively changed them. Do you have original image file names with numbers at the end like Besides can you point me to an image in question, especially a full image so we can try to reproduce this? Some cached images are not generated -1.5.2 and 1.5.3b - ctdlg - 04-06-2019 Yes, I do use image names from my cameras, so, they are numbered. Example I do get errors in debug log file : {19928:Tue, 04 Jun 2019 17:37:57 GMT}
Some cached images are not generated -1.5.2 and 1.5.3b - acrylian - 04-06-2019 This might indicate the issue I have mentioned
Please try the same image but with a different filename not ending with a number. Some cached images are not generated -1.5.2 and 1.5.3b - ctdlg - 05-06-2019 I renamed my new pictures without numbers. Some cached images are not generated -1.5.2 and 1.5.3b - ctdlg - 05-06-2019 Erased logs and album cache. I clicked a new picture thumb, after some seconds, the frame of the picture disappears. Logs show : {20860:Wed, 05 Jun 2019 05:37:15 GMT} Zenphoto v1.5.3b I tried unhiding cached file names in the security option page, pictures showed ( cache was created for 800px new pictures. ) Eureka ? No : Setting the security of cached images On/off does not solve the problem anymore. But one thing was strange : after changing the security for the 1st time, I had to proceed to a new installation check, the operation we have to do after upgrading/downgrading. Some cached images are not generated -1.5.2 and 1.5.3b - acrylian - 05-06-2019 I did review the issue discussion and this can indeed not be the issue here. The issue arises when a cache file name is requested outside image/album context which also triggers cache generation. This happens within articles and not on image pages. I will try to reproduce this with files.
That's is really weird and should not happen. We have not change anything related to this… Some cached images are not generated -1.5.2 and 1.5.3b - ctdlg - 05-06-2019 I have downgraded my online site to 1.5.1 : 800 px are generated (and displayed with image.php) like before.
I will try upgrading my localhost machine, step by step, folder by folder. I will keep you updated. Some cached images are not generated -1.5.2 and 1.5.3b - acrylian - 05-06-2019 I am not aware we changed anything here from 1.5.1, although I have a suspicion right now where the issue could be. I will run some test very soon. Some cached images are not generated -1.5.2 and 1.5.3b - acrylian - 05-06-2019 Sadly I am not able to reproduce any issue neither locally nor on our own server. 800px images are created as always with obsucred cache names or without. I tried the same name as your image even with the uppercase suffix as that was my suspicion something here broke with some transparency additions. But all works as expected for me. I found another small issue with the "cache as" option listing file types if may not support at all (like webp) if using GD. But regardless of that it worked for me… Is it really all images or only certain ones? If the latter I need one of the original images to try. Some cached images are not generated -1.5.2 and 1.5.3b - fretzl - 05-06-2019 So far I have not been able to reproduce this either. Some cached images are not generated -1.5.2 and 1.5.3b - ctdlg - 05-06-2019 I did a fresh install (1.5.3b) on my localhost machine, copied 2 albums. There is a conflict between cache manager and my config ! Is there a way to reset all parameters to it's original values ? I will try erasing all database values from my fresh install, start again installation... and check setting by setting ... Some cached images are not generated -1.5.2 and 1.5.3b - acrylian - 05-06-2019 This is weird. Could you please tell me exactly what settings you did? Perhaps you could send me screenshots of that via mail (English backend please ;-)) Some cached images are not generated -1.5.2 and 1.5.3b - ctdlg - 05-06-2019 Edit : yes, erasing database entries resets everything.
I have set all the plugins I use on my gallery, to the new one : it is still working, so plugins are not involved. I have to clear album image cache before each attempt. Of course, I could do screenshots of all my settings, but it is not necessary : now, I know I will find what is wrong. I have a working and a non working zenphoto installations on my localhost, I split my screen in 2 : the good one on the left, the defective one on the right. End of today's testing : I will keep you informed tomorrow. I do hope to explain you what conflicts with cachemanager ! Some cached images are not generated -1.5.2 and 1.5.3b - acrylian - 05-06-2019 Okay, looking forward to more info and appreciate the help. If we can reproduce this then we need to fix it before we can release 1.5.3 which is actually ready otherwise. Some cached images are not generated -1.5.2 and 1.5.3b - ctdlg - 06-06-2019 Problem finally found : watermark is the problem. This setting is OK : 800 px cache images are created This setting does not work : 800 px cache images are not created My watermark is a png picture, 33x18 pixels inside plugins/watermarks folder. You should be able to reproduce my problem. Some cached images are not generated -1.5.2 and 1.5.3b - acrylian - 06-06-2019 Thanks for investigation. We will try to reproduce this. Some cached images are not generated -1.5.2 and 1.5.3b - acrylian - 06-06-2019 Seems we can reproduce issues with this. It seems to be related to fixing the PNG and gif alpha transparency on scaled images in 1.5.2. We did test all this exensively but there seem to be special conditions where it doesn't work. Sadly we need to release 1.5.3 without a fix as the fresh install bug fix is currently more important. This fix is going to take longer and will therefore not happen before 1.5.4 sadly. Some cached images are not generated -1.5.2 and 1.5.3b - ctdlg - 07-06-2019 It seems size of the watermark we use is the problem : If I replace your watermark.png file (zp-core/watermarks), same problem depending of picture size. 100x75px does work, 50x30 does not work. Tested with filigrane and watermark options. So, simply mention the fact that your picture must be at least 100x75px large. It's not sad you are about to release 1.5.3 ! Some cached images are not generated -1.5.2 and 1.5.3b - acrylian - 07-06-2019 Thanks, that is a good hint. But actually there should be no such size requirement but if a minimum size is the simplest and best fix we might do that. We will will investigate this further and fix whatever we manage to fix here as soon as we can ;-) |