[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] Failed to get the image contents
Benoit Grégoire (@benoitg) via TikiWiki-cvs <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.cvs |
|---|---|
| Message-ID | <6893b9f79e7af_2cd58a48233c@gitlab-sidekiq-low-urgency-cpu-bound-v2-f895bbb8c-nnlpb.mail> |
Benoit Grégoire pushed to branch master at Tiki Wiki CMS Groupware / Tiki
Commits:
1aeb915f by Yves Ngalamulume at 2025-08-06T20:16:26+00:00
[FIX] Failed to get the image contents
---
* [FIX] Failed to get the image contents
See merge request tikiwiki/tiki!8198
- - - - -
1 changed file:
- lib/Image/Gd.php
Changes:
=====================================
lib/Image/Gd.php
=====================================
@@ -90,6 +90,7 @@ class Gd extends ImageAbstract
$imageData = ob_get_clean();
imagedestroy($rasterImage);
$this->data = imagecreatefromstring($imageData);
+ $this->format = 'png';
$this->loaded = true;
} else {
ob_end_clean();
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/1aeb915fe8389ba378add8d3c720f211044fce78
--
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/1aeb915fe8389ba378add8d3c720f211044fce78
You're receiving this email because of your account on gitlab.com.
_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs