forum.coppermine-gallery.net

Support => cpg1.6.x Support => cpg1.6 upload => Topic started by: sjj1805 on September 28, 2017, 07:17:35 pm

Title: No Preview Thumbnails on Batch Add Files Interface.
Post by: sjj1805 on September 28, 2017, 07:17:35 pm
To confirm this is a bug I have installed on my Home Computer (Windows 10) two IIS 7 web servers side by side. One on the normal port 80, the second on port 81.
I have installed CPG 1.6.03 on the main web server (Port 80). This web server has PHP 7.1.7 installed.
Due to various "programs" that do not yet work with PHP 7, I installed a second web server on Port 81 with PHP 5.4.27

My CPG installation is located on my hard drive at C:\inetpub\wwwroot\Photo
Using Windows Symbolic links I fool the computer into thinking I have a second (identical) copy at C:\inetpub\www2\photo
Code: [Select]
mklink /d “C:\inetpub\www2\photo” “C:\inetpub\wwwroot\photo”In other words as far as the two web servers are concerned everything (apart from the version of PHP) is identical.
Using PHP 7.x there are No Preview Thumbnails on Batch Add Files Interface.
Using PHP 5.x the preview thumbnails are displayed as expected.

Whilst this is not "The end of the world" (We can do without the preview thumbnails) I thought I should bring it to the forums attention.
Title: Re: No Preview Thumbnails on Batch Add Files Interface.
Post by: ron4mac on September 28, 2017, 08:39:47 pm
Thank you for providing feedback. That issue was discovered and corrected in the current build (https://github.com/coppermine-gallery/cpg1.6.x/commit/ce5d2c85bd7164342437c5e2cd84d845cbf3f538).
Title: Re: No Preview Thumbnails on Batch Add Files Interface.
Post by: sjj1805 on September 29, 2017, 03:39:41 am
Thanks Ron, I will update my installation.
Thank you
Title: Re: No Preview Thumbnails on Batch Add Files Interface.
Post by: sjj1805 on September 29, 2017, 03:49:55 am
Yes indeed the replacement file showthumb.php works as it should.
Thank you