Topic: Error uploding picture

Hi, I get this error when uploading photos
unable to cerate thumbnail(implicit conversion from float 338.8 to int loses precision) in thumbnail.php line 133
I have 2 cameras both Nikon one works the older one doesn't work and gets this error
Roffe

Re: Error uploding picture

I'm sorry to hear that you've run into a problem.
The problem is due to the use of PHP 8.1 or above (specifically, a PHP feature which Showkase makes use of but which was deprecated in PHP 8.1).

I've replied to another user who ran into this problem (relating to thumbnail dimensions) in this forum thread: https://showkase.net/forum/viewtopic.php?id=472

I noted a fix for the problem (which requires modifying a Showkase source file) here: https://showkase.net/forum/viewtopic.php?pid=2234#p2234

I've notified the developers and the fix should be incorporated into the next version of Showkase but I don't know when this might be.
In the meantime, I hope that you are able to implement the fix and that it resolves your issue.
Please let me know how you get on and if I can be of any further assistance.
Thank you and apologies for any inconvenience caused.

Re: Error uploding picture

Thanks for the help
Roffe

Post's attachments

IMG_20230531_165804.jpg
IMG_20230531_165804.jpg 173.9 kb, 1 downloads since 2023-05-31 

You don't have the permssions to download the attachments of this post.

Re: Error uploding picture

Have you tried the fix from this post yet (modifying the thumbnail.php file and uploading it to its original location (in admin/classes/) overwriting the original file)?
https://showkase.net/forum/viewtopic.php?pid=2234#p2234

Was your screenshot taken before or after implementing the fix? (It looks like the problem before the fix.)

I've modified the thumbnail.php file and uploaded it for you here: [Link removed.]
Just click the 'Download' button... no need to have a Box account to download the file.

Upload the file to admin/classes/ within your Showkase installation on your web server (overwriting the original thumbnail.php file there) and this should hopefully resolve your problem.