Web based family history software

Question Images changing orientation

  • ksajdak
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 months 3 days ago #1 by ksajdak
Images changing orientation was created by ksajdak
A few images uploaded to my site have switched orientation.

The user uploaded a landscape picture, and you can see the image displayed properly when clicking on the thumbnail. But in the record, the thumbnail displays as portrait.

Any ideas?
 

Please Log in or Create an account to join the conversation.

More
6 months 3 days ago #2 by fisharebest
Replied by fisharebest on topic Images changing orientation
This is a bug in the graphics library that creates thumbnail images.

The bug is fixed in the latest version of the library - but this only works on recent versions of PHP, so we can't use it in webtrees 2.1 as this needs to run on PHP 7.4

So, the fix will not be available until webtrees 2.2 - which will require PHP 8.2 or higher. I hope to release this just after PHP 8.4 is released in November.

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

  • ksajdak
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 months 3 days ago #3 by ksajdak
Replied by ksajdak on topic Images changing orientation
Forgot to add that . . .

Running version 2.1.20
PHP is 7.4

I’m going to get the host to up PHP to 8.2 or better later today.

I’ll let you know.

Please Log in or Create an account to join the conversation.

  • ksajdak
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 months 3 days ago #4 by ksajdak
Replied by ksajdak on topic Images changing orientation
Updated to 8.2 PHP.

I’ll bet the program needs a chance to regenerate the thumbnails.

Or is there another fix?

Please Log in or Create an account to join the conversation.

More
6 months 3 days ago #5 by Marky
Replied by Marky on topic Images changing orientation
As Greg (fisharebest) said: "the fix will not be available until webtrees 2.2".

So, even though the graphics library bug has been fixed, webtrees can't use it in version 2.1.x - you'll have to wait for 2.2.

webtrees v2.1.21
PHP v8.3.12

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum