Closed madriver closed 3 years ago
This is probably not an issue of the Fancy Imagebar only. If you look at my website you will notice the FIB loads instantly. So there are probably other factors causing this.
But it is hard to find a cause when I cannot reproduce the issue myself.
Same images - Webtrees 1.7 X no issues. Site loads right off. Webtrees 2.0.11 site takes 10 seconds to load. Without image bar site loads instantly. Is it possible to use imagick instead of GD? At least for testing? I tried to do a conversion and to say the least it did not work. I am no php programmer. I get it - this is freeware so to speak. Your life has more important callings. I disabled the plugin for now. If you make a change and would like me to try it am happy to. Otherwise no worries. Thank you.
This is in fact the same issue as #69. Therefore I will close this one.
Hi, It takes ~ 10 seconds for Webtrees to load with fancy-imagebar enabled. I believe the issue is this line of code: imagecopyresampled($thumb, $source_image, 0, 0, (int)$source_x, (int)$source_y, (int)$thumb_width, (int)$thumb_height, (int)$source_width, (int)$source_height);
From the php-fpm log: 0x00007fd190e24010] imagecopyresampled() /var/www/webtrees2.0/modules_v4/jc-fancy-imagebar/FancyImagebarModule.php:530
I have GD Support | enabled | GD Version | bundled (2.1.0 compatible) imagick module enabled version 3.44 Webtrees 2.0.11 16GB ram, no errors other that the info in the slow log.
If I disable FIB site loads instantly.
Thoughts? Thank you -Nick