mirror of
https://github.com/processwire/processwire.git
synced 2025-08-09 08:17:12 +02:00
Fix issue #40 with ImageInspector having issues with some GIF files
This commit is contained in:
@@ -228,9 +228,9 @@ class ImageInspector extends WireData {
|
|||||||
$i['height'] = $gfh->m_nHeight;
|
$i['height'] = $gfh->m_nHeight;
|
||||||
$i['gifversion'] = $gfh->m_lpVer;
|
$i['gifversion'] = $gfh->m_lpVer;
|
||||||
$i['animated'] = $gfh->m_bAnimated;
|
$i['animated'] = $gfh->m_bAnimated;
|
||||||
$i['delay'] = $gi->m_nDelay;
|
$i['delay'] = isset($gi->m_nDelay) ? $gi->m_nDelay : '';
|
||||||
$i['trans'] = $gi->m_bTrans;
|
$i['trans'] = isset($gi->m_bTrans) ? $gi->m_bTrans : '';
|
||||||
$i['transcolor'] = $gi->m_nTrans;
|
$i['transcolor'] = isset($gi->m_nTrans) ? $gi->m_nTrans : '';
|
||||||
$i['bgcolor'] = $gfh->m_nBgColor;
|
$i['bgcolor'] = $gfh->m_nBgColor;
|
||||||
$i['numcolors'] = $gfh->m_colorTable->m_nColors;
|
$i['numcolors'] = $gfh->m_colorTable->m_nColors;
|
||||||
$i['interlace'] = $gih->m_bInterlace;
|
$i['interlace'] = $gih->m_bInterlace;
|
||||||
|
Reference in New Issue
Block a user