mirror of
https://github.com/HaschekSolutions/pictshare.git
synced 2026-04-25 23:15:51 +03:00
[GH-ISSUE #64] base64 upload issue #43
Labels
No labels
Feature request
Feature request
bug
cant reproduce
enhancement
help wanted
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/pictshare#43
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @evgenyh on GitHub (Jun 27, 2018).
Original GitHub issue: https://github.com/HaschekSolutions/pictshare/issues/64
not sure what causes it, but same file with regular binary upload works fine.
base64 mode returns with following :
<br /> <b>Notice</b>: ########## FILETYPE: image/png in <b>/usr/share/nginx/html/pictshare/models/pictsharemodel.php</b> on line <b>761</b><br /> <br /> <b>Warning</b>: imagepng(): gd-png: fatal libpng error: Wrote palette index exceeding num_palette in <b>/usr/share/nginx/html/pictshare/models/pictsharemodel.php</b> on line <b>790</b><br /> <br /> <b>Warning</b>: imagepng(): gd-png error: setjmp returns error condition in <b>/usr/share/nginx/html/pictshare/models/pictsharemodel.php</b> on line <b>790</b><br /> <br /> <b>Notice</b>: ========= SAVING AS png TO /usr/share/nginx/html/pictshare/tmp/d710q79fd5.png in <b>/usr/share/nginx/html/pictshare/models/pictsharemodel.php</b> on line <b>791</b><br />after this, file is saved but when accessing it via web, it always return zero sized image
@evgenyh commented on GitHub (Jun 27, 2018):
so far the problem only with png images with transparent background