Magento 2.2.5 - Unsupported image format on product detail page Planned maintenance scheduled...
`FindRoot [ ]`::jsing: Encountered a singular Jacobian at a point...WHY
Determinant of a matrix with 2 equal rows
Calculating the expected value of truncated normal
Is there a possibility to generate a list dynamically in Latex?
What does こした mean?
Co-worker works way more than he should
What is the purpose of the side handle on a hand ("eggbeater") drill?
What was Apollo 13's "Little Jolt" after MECO?
Is it OK if I do not take the receipt in Germany?
When does Bran Stark remember Jamie pushing him?
Preserving file and folder permissions with rsync
When speaking, how do you change your mind mid-sentence?
TV series episode where humans nuke aliens before decrypting their message that states they come in peace
Show two Lagrangians are equivalent
What's the difference between using dependency injection with a container and using a service locator?
My admission is revoked after accepting the admission offer
How to begin with a paragraph in latex
Eigenvalues of the Laplacian of the directed De Bruijn graph
Why do owned slices take 16 bytes in rust? (on x64 machine)
The 'gros' functor from schemes into (strictly) locally ringed topoi
What is /etc/mtab in Linux?
Is a self contained air-bullet cartridge feasible?
How can I wire a 9-position switch so that each position turns on one more LED than the one before?
Why is water being consumed when my shutoff valve is closed?
Magento 2.2.5 - Unsupported image format on product detail page
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?How to gracefully handle image exceptions?Not able to add/update magento2 category post upgrade from 1.9 to 2.1.0Magento2.2.4 : Uninstall a theme throw exceptions?Magento 2.2.6 exceptionMagento2 REST API get all customers detailsDeleted ShipperHQ module causing error in “All Customers” section of Magento 2Unable to Serialize Value Magento 2.2.6“Area code is not set” in var/logGetting Errors after MySQL database importUnable to serialize value problem with Magento 2.2.6Magento 2: product image upload error
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I am using Magento v2.2.5 and I am getting error on product detail page.
1 exception(s):
Exception #0 (Exception): Unsupported image format.
Exception #0 (Exception): Unsupported image format.
#0 /html/vendor/magento/framework/Image/Adapter/Gd2.php(68): MagentoFrameworkImageAdapterGd2->_getCallback('create')
#1 /html/vendor/magento/framework/Image.php(55): MagentoFrameworkImageAdapterGd2->open('/home/ma...')
#2 /html/vendor/magento/framework/Image.php(36): MagentoFrameworkImage->open()
#3 /html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(111): MagentoFrameworkImage->__construct(Object(MagentoFrameworkImageAdapterGd2), '/home/ma...')
#4 /html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): MagentoFrameworkObjectManagerFactoryAbstractFactory->createObject('Magento\Framewo...', Array)
#5 /html/vendor/magento/framework/ObjectManager/ObjectManager.php(56): MagentoFrameworkObjectManagerFactoryCompiled->create('Magento\Framewo...', Array)
#6 /html/vendor/magento/framework/Image/Factory.php(47): MagentoFrameworkObjectManagerObjectManager->create('Magento\Framewo...', Array)
#7 /html/vendor/magento/module-catalog/Model/Product/Image.php(467): MagentoFrameworkImageFactory->create('/home/ma...')
#8 /html/vendor/magento/module-catalog/Model/Product/Image.php(487): MagentoCatalogModelProductImage->getImageProcessor()
#9 /html/vendor/magento/module-catalog/Helper/Image.php(477): MagentoCatalogModelProductImage->resize()
#10 /html/vendor/magento/module-catalog/Helper/Image.php(551): MagentoCatalogHelperImage->applyScheduledActions()
#11 /html/vendor/magento/module-catalog/Block/Product/ImageBuilder.php(141): MagentoCatalogHelperImage->getResizedImageInfo()
#12 /html/vendor/magento/module-catalog/Block/Product/AbstractProduct.php(516): MagentoCatalogBlockProductImageBuilder->create()
#13 /html/vendor/magento/framework/Interception/Interceptor.php(58): MagentoCatalogBlockProductAbstractProduct->getImage(Object(MagentoCatalogModelProductInterceptor), 'upsell_products...', Array)
#14 /html/vendor/magento/framework/Interception/Interceptor.php(138): MagentoCatalogBlockProductProductListUpsellInterceptor->___callParent('getImage', Array)
#15 /html/vendor/magento/framework/Interception/Interceptor.php(153): MagentoCatalogBlockProductProductListUpsellInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoCatalogModelProductInterceptor), 'upsell_products...')
#16 /html/generated/code/Magento/Catalog/Block/Product/ProductList/Upsell/Interceptor.php(26): MagentoCatalogBlockProductProductListUpsellInterceptor->___callPlugins('getImage', Array, Array)
#17 /html/vendor/magento/module-catalog/view/frontend/templates/product/list/items.phtml(193): MagentoCatalogBlockProductProductListUpsellInterceptor->getImage(Object(MagentoCatalogModelProductInterceptor), 'upsell_products...')
#18 /html/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/home/ma...')
#19 /html/vendor/magento/framework/View/Element/Template.php(270): MagentoFrameworkViewTemplateEnginePhp->render(Object(MagentoCatalogBlockProductProductListUpsellInterceptor), '/home/ma...', Array)
#20 /html/vendor/magento/framework/View/Element/Template.php(300): MagentoFrameworkViewElementTemplate->fetchView('/home/ma...')
#21 /html/vendor/magento/framework/View/Element/AbstractBlock.php(667): MagentoFrameworkViewElementTemplate->_toHtml()
#22 /html/vendor/magento/framework/View/Layout.php(558): MagentoFrameworkViewElementAbstractBlock->toHtml()
#23 /html/vendor/magento/framework/View/Layout.php(534): MagentoFrameworkViewLayout->_renderBlock('product.info.up...')
#24 /html/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayout->renderNonCachedElement('product.info.up...')
#25 /html/vendor/magento/framework/View/Layout.php(586): MagentoFrameworkViewLayout->renderElement('product.info.up...', false)
#26 /html/vendor/magento/framework/View/Layout.php(536): MagentoFrameworkViewLayout->_renderContainer('content.aside', false)
#27 /html/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayout->renderNonCachedElement('content.aside')
#28 /html/vendor/magento/framework/View/Layout.php(586): MagentoFrameworkViewLayout->renderElement('content.aside', false)
#29 /html/vendor/magento/framework/View/Layout.php(536): MagentoFrameworkViewLayout->_renderContainer('main', false)
#30 /html/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayout->renderNonCachedElement('main')
#31 /html/vendor/magento/framework/View/Layout.php(586): MagentoFrameworkViewLayout->renderElement('main', false)
#32 /html/vendor/magento/framework/View/Layout.php(536): MagentoFrameworkViewLayout->_renderContainer('columns', false)
#33 /html/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayout->renderNonCachedElement('columns')
#34 /html/vendor/magento/framework/View/Layout.php(586): MagentoFrameworkViewLayout->renderElement('columns', false)
#35 /html/vendor/magento/framework/View/Layout.php(536): MagentoFrameworkViewLayout->_renderContainer('main.content', false)
#36 /html/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayout->renderNonCachedElement('main.content')
#37 /html/vendor/magento/framework/View/Layout.php(586): MagentoFrameworkViewLayout->renderElement('main.content', false)
#38 /html/vendor/magento/framework/View/Layout.php(536): MagentoFrameworkViewLayout->_renderContainer('page.wrapper', false)
#39 /html/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayout->renderNonCachedElement('page.wrapper')
#40 /html/vendor/magento/framework/View/Layout.php(586): MagentoFrameworkViewLayout->renderElement('page.wrapper', false)
#41 /html/vendor/magento/framework/View/Layout.php(536): MagentoFrameworkViewLayout->_renderContainer('root', false)
#42 /html/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayout->renderNonCachedElement('root')
#43 /html/vendor/magento/framework/View/Layout.php(955): MagentoFrameworkViewLayout->renderElement('root')
#44 /html/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewLayout->getOutput()
#45 /html/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewLayoutInterceptor->___callParent('getOutput', Array)
#46 /html/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}()
#47 /html/generated/code/Magento/Framework/View/Layout/Interceptor.php(39): MagentoFrameworkViewLayoutInterceptor->___callPlugins('getOutput', Array, Array)
#48 /html/vendor/magento/framework/View/Result/Page.php(257): MagentoFrameworkViewLayoutInterceptor->getOutput()
#49 /html/vendor/magento/framework/View/Result/Layout.php(170): MagentoFrameworkViewResultPage->render(Object(MagentoFrameworkAppResponseHttpInterceptor))
#50 /html/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewResultLayout->renderResult(Object(MagentoFrameworkAppResponseHttpInterceptor))
#51 /html/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewResultPageInterceptor->___callParent('renderResult', Array)
#52 /html/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewResultPageInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkAppResponseHttpInterceptor))
#53 /html/generated/code/Magento/Framework/View/Result/Page/Interceptor.php(26): MagentoFrameworkViewResultPageInterceptor->___callPlugins('renderResult', Array, Array)
#54 /html/vendor/magento/framework/App/Http.php(139): MagentoFrameworkViewResultPageInterceptor->renderResult(Object(MagentoFrameworkAppResponseHttpInterceptor))
#55 /html/vendor/magento/framework/App/Bootstrap.php(256): MagentoFrameworkAppHttp->launch()
#56 /html/index.php(39): MagentoFrameworkAppBootstrap->run(Object(MagentoFrameworkAppHttpInterceptor))
#57 {main}
magento2 product-images product-view
bumped to the homepage by Community♦ 1 hour ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I am using Magento v2.2.5 and I am getting error on product detail page.
1 exception(s):
Exception #0 (Exception): Unsupported image format.
Exception #0 (Exception): Unsupported image format.
#0 /html/vendor/magento/framework/Image/Adapter/Gd2.php(68): MagentoFrameworkImageAdapterGd2->_getCallback('create')
#1 /html/vendor/magento/framework/Image.php(55): MagentoFrameworkImageAdapterGd2->open('/home/ma...')
#2 /html/vendor/magento/framework/Image.php(36): MagentoFrameworkImage->open()
#3 /html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(111): MagentoFrameworkImage->__construct(Object(MagentoFrameworkImageAdapterGd2), '/home/ma...')
#4 /html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): MagentoFrameworkObjectManagerFactoryAbstractFactory->createObject('Magento\Framewo...', Array)
#5 /html/vendor/magento/framework/ObjectManager/ObjectManager.php(56): MagentoFrameworkObjectManagerFactoryCompiled->create('Magento\Framewo...', Array)
#6 /html/vendor/magento/framework/Image/Factory.php(47): MagentoFrameworkObjectManagerObjectManager->create('Magento\Framewo...', Array)
#7 /html/vendor/magento/module-catalog/Model/Product/Image.php(467): MagentoFrameworkImageFactory->create('/home/ma...')
#8 /html/vendor/magento/module-catalog/Model/Product/Image.php(487): MagentoCatalogModelProductImage->getImageProcessor()
#9 /html/vendor/magento/module-catalog/Helper/Image.php(477): MagentoCatalogModelProductImage->resize()
#10 /html/vendor/magento/module-catalog/Helper/Image.php(551): MagentoCatalogHelperImage->applyScheduledActions()
#11 /html/vendor/magento/module-catalog/Block/Product/ImageBuilder.php(141): MagentoCatalogHelperImage->getResizedImageInfo()
#12 /html/vendor/magento/module-catalog/Block/Product/AbstractProduct.php(516): MagentoCatalogBlockProductImageBuilder->create()
#13 /html/vendor/magento/framework/Interception/Interceptor.php(58): MagentoCatalogBlockProductAbstractProduct->getImage(Object(MagentoCatalogModelProductInterceptor), 'upsell_products...', Array)
#14 /html/vendor/magento/framework/Interception/Interceptor.php(138): MagentoCatalogBlockProductProductListUpsellInterceptor->___callParent('getImage', Array)
#15 /html/vendor/magento/framework/Interception/Interceptor.php(153): MagentoCatalogBlockProductProductListUpsellInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoCatalogModelProductInterceptor), 'upsell_products...')
#16 /html/generated/code/Magento/Catalog/Block/Product/ProductList/Upsell/Interceptor.php(26): MagentoCatalogBlockProductProductListUpsellInterceptor->___callPlugins('getImage', Array, Array)
#17 /html/vendor/magento/module-catalog/view/frontend/templates/product/list/items.phtml(193): MagentoCatalogBlockProductProductListUpsellInterceptor->getImage(Object(MagentoCatalogModelProductInterceptor), 'upsell_products...')
#18 /html/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/home/ma...')
#19 /html/vendor/magento/framework/View/Element/Template.php(270): MagentoFrameworkViewTemplateEnginePhp->render(Object(MagentoCatalogBlockProductProductListUpsellInterceptor), '/home/ma...', Array)
#20 /html/vendor/magento/framework/View/Element/Template.php(300): MagentoFrameworkViewElementTemplate->fetchView('/home/ma...')
#21 /html/vendor/magento/framework/View/Element/AbstractBlock.php(667): MagentoFrameworkViewElementTemplate->_toHtml()
#22 /html/vendor/magento/framework/View/Layout.php(558): MagentoFrameworkViewElementAbstractBlock->toHtml()
#23 /html/vendor/magento/framework/View/Layout.php(534): MagentoFrameworkViewLayout->_renderBlock('product.info.up...')
#24 /html/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayout->renderNonCachedElement('product.info.up...')
#25 /html/vendor/magento/framework/View/Layout.php(586): MagentoFrameworkViewLayout->renderElement('product.info.up...', false)
#26 /html/vendor/magento/framework/View/Layout.php(536): MagentoFrameworkViewLayout->_renderContainer('content.aside', false)
#27 /html/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayout->renderNonCachedElement('content.aside')
#28 /html/vendor/magento/framework/View/Layout.php(586): MagentoFrameworkViewLayout->renderElement('content.aside', false)
#29 /html/vendor/magento/framework/View/Layout.php(536): MagentoFrameworkViewLayout->_renderContainer('main', false)
#30 /html/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayout->renderNonCachedElement('main')
#31 /html/vendor/magento/framework/View/Layout.php(586): MagentoFrameworkViewLayout->renderElement('main', false)
#32 /html/vendor/magento/framework/View/Layout.php(536): MagentoFrameworkViewLayout->_renderContainer('columns', false)
#33 /html/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayout->renderNonCachedElement('columns')
#34 /html/vendor/magento/framework/View/Layout.php(586): MagentoFrameworkViewLayout->renderElement('columns', false)
#35 /html/vendor/magento/framework/View/Layout.php(536): MagentoFrameworkViewLayout->_renderContainer('main.content', false)
#36 /html/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayout->renderNonCachedElement('main.content')
#37 /html/vendor/magento/framework/View/Layout.php(586): MagentoFrameworkViewLayout->renderElement('main.content', false)
#38 /html/vendor/magento/framework/View/Layout.php(536): MagentoFrameworkViewLayout->_renderContainer('page.wrapper', false)
#39 /html/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayout->renderNonCachedElement('page.wrapper')
#40 /html/vendor/magento/framework/View/Layout.php(586): MagentoFrameworkViewLayout->renderElement('page.wrapper', false)
#41 /html/vendor/magento/framework/View/Layout.php(536): MagentoFrameworkViewLayout->_renderContainer('root', false)
#42 /html/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayout->renderNonCachedElement('root')
#43 /html/vendor/magento/framework/View/Layout.php(955): MagentoFrameworkViewLayout->renderElement('root')
#44 /html/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewLayout->getOutput()
#45 /html/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewLayoutInterceptor->___callParent('getOutput', Array)
#46 /html/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}()
#47 /html/generated/code/Magento/Framework/View/Layout/Interceptor.php(39): MagentoFrameworkViewLayoutInterceptor->___callPlugins('getOutput', Array, Array)
#48 /html/vendor/magento/framework/View/Result/Page.php(257): MagentoFrameworkViewLayoutInterceptor->getOutput()
#49 /html/vendor/magento/framework/View/Result/Layout.php(170): MagentoFrameworkViewResultPage->render(Object(MagentoFrameworkAppResponseHttpInterceptor))
#50 /html/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewResultLayout->renderResult(Object(MagentoFrameworkAppResponseHttpInterceptor))
#51 /html/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewResultPageInterceptor->___callParent('renderResult', Array)
#52 /html/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewResultPageInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkAppResponseHttpInterceptor))
#53 /html/generated/code/Magento/Framework/View/Result/Page/Interceptor.php(26): MagentoFrameworkViewResultPageInterceptor->___callPlugins('renderResult', Array, Array)
#54 /html/vendor/magento/framework/App/Http.php(139): MagentoFrameworkViewResultPageInterceptor->renderResult(Object(MagentoFrameworkAppResponseHttpInterceptor))
#55 /html/vendor/magento/framework/App/Bootstrap.php(256): MagentoFrameworkAppHttp->launch()
#56 /html/index.php(39): MagentoFrameworkAppBootstrap->run(Object(MagentoFrameworkAppHttpInterceptor))
#57 {main}
magento2 product-images product-view
bumped to the homepage by Community♦ 1 hour ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Can you load the raw image in question in your browser?
– Borche Glafche
Sep 27 '18 at 8:57
Try to compress your image and check the size of it .
– Ylgen Guxholli
Sep 27 '18 at 11:28
@YlgenGuxholli my image size is 19.2KB
– Pradeep Sanku
Sep 27 '18 at 11:54
@BorcheGlafche yes i can load that image in the broweser
– Pradeep Sanku
Sep 27 '18 at 11:55
Can you try to use ImageMagick instead. And can you share us the broken image
– Franck Garnier
Sep 27 '18 at 13:39
add a comment |
I am using Magento v2.2.5 and I am getting error on product detail page.
1 exception(s):
Exception #0 (Exception): Unsupported image format.
Exception #0 (Exception): Unsupported image format.
#0 /html/vendor/magento/framework/Image/Adapter/Gd2.php(68): MagentoFrameworkImageAdapterGd2->_getCallback('create')
#1 /html/vendor/magento/framework/Image.php(55): MagentoFrameworkImageAdapterGd2->open('/home/ma...')
#2 /html/vendor/magento/framework/Image.php(36): MagentoFrameworkImage->open()
#3 /html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(111): MagentoFrameworkImage->__construct(Object(MagentoFrameworkImageAdapterGd2), '/home/ma...')
#4 /html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): MagentoFrameworkObjectManagerFactoryAbstractFactory->createObject('Magento\Framewo...', Array)
#5 /html/vendor/magento/framework/ObjectManager/ObjectManager.php(56): MagentoFrameworkObjectManagerFactoryCompiled->create('Magento\Framewo...', Array)
#6 /html/vendor/magento/framework/Image/Factory.php(47): MagentoFrameworkObjectManagerObjectManager->create('Magento\Framewo...', Array)
#7 /html/vendor/magento/module-catalog/Model/Product/Image.php(467): MagentoFrameworkImageFactory->create('/home/ma...')
#8 /html/vendor/magento/module-catalog/Model/Product/Image.php(487): MagentoCatalogModelProductImage->getImageProcessor()
#9 /html/vendor/magento/module-catalog/Helper/Image.php(477): MagentoCatalogModelProductImage->resize()
#10 /html/vendor/magento/module-catalog/Helper/Image.php(551): MagentoCatalogHelperImage->applyScheduledActions()
#11 /html/vendor/magento/module-catalog/Block/Product/ImageBuilder.php(141): MagentoCatalogHelperImage->getResizedImageInfo()
#12 /html/vendor/magento/module-catalog/Block/Product/AbstractProduct.php(516): MagentoCatalogBlockProductImageBuilder->create()
#13 /html/vendor/magento/framework/Interception/Interceptor.php(58): MagentoCatalogBlockProductAbstractProduct->getImage(Object(MagentoCatalogModelProductInterceptor), 'upsell_products...', Array)
#14 /html/vendor/magento/framework/Interception/Interceptor.php(138): MagentoCatalogBlockProductProductListUpsellInterceptor->___callParent('getImage', Array)
#15 /html/vendor/magento/framework/Interception/Interceptor.php(153): MagentoCatalogBlockProductProductListUpsellInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoCatalogModelProductInterceptor), 'upsell_products...')
#16 /html/generated/code/Magento/Catalog/Block/Product/ProductList/Upsell/Interceptor.php(26): MagentoCatalogBlockProductProductListUpsellInterceptor->___callPlugins('getImage', Array, Array)
#17 /html/vendor/magento/module-catalog/view/frontend/templates/product/list/items.phtml(193): MagentoCatalogBlockProductProductListUpsellInterceptor->getImage(Object(MagentoCatalogModelProductInterceptor), 'upsell_products...')
#18 /html/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/home/ma...')
#19 /html/vendor/magento/framework/View/Element/Template.php(270): MagentoFrameworkViewTemplateEnginePhp->render(Object(MagentoCatalogBlockProductProductListUpsellInterceptor), '/home/ma...', Array)
#20 /html/vendor/magento/framework/View/Element/Template.php(300): MagentoFrameworkViewElementTemplate->fetchView('/home/ma...')
#21 /html/vendor/magento/framework/View/Element/AbstractBlock.php(667): MagentoFrameworkViewElementTemplate->_toHtml()
#22 /html/vendor/magento/framework/View/Layout.php(558): MagentoFrameworkViewElementAbstractBlock->toHtml()
#23 /html/vendor/magento/framework/View/Layout.php(534): MagentoFrameworkViewLayout->_renderBlock('product.info.up...')
#24 /html/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayout->renderNonCachedElement('product.info.up...')
#25 /html/vendor/magento/framework/View/Layout.php(586): MagentoFrameworkViewLayout->renderElement('product.info.up...', false)
#26 /html/vendor/magento/framework/View/Layout.php(536): MagentoFrameworkViewLayout->_renderContainer('content.aside', false)
#27 /html/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayout->renderNonCachedElement('content.aside')
#28 /html/vendor/magento/framework/View/Layout.php(586): MagentoFrameworkViewLayout->renderElement('content.aside', false)
#29 /html/vendor/magento/framework/View/Layout.php(536): MagentoFrameworkViewLayout->_renderContainer('main', false)
#30 /html/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayout->renderNonCachedElement('main')
#31 /html/vendor/magento/framework/View/Layout.php(586): MagentoFrameworkViewLayout->renderElement('main', false)
#32 /html/vendor/magento/framework/View/Layout.php(536): MagentoFrameworkViewLayout->_renderContainer('columns', false)
#33 /html/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayout->renderNonCachedElement('columns')
#34 /html/vendor/magento/framework/View/Layout.php(586): MagentoFrameworkViewLayout->renderElement('columns', false)
#35 /html/vendor/magento/framework/View/Layout.php(536): MagentoFrameworkViewLayout->_renderContainer('main.content', false)
#36 /html/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayout->renderNonCachedElement('main.content')
#37 /html/vendor/magento/framework/View/Layout.php(586): MagentoFrameworkViewLayout->renderElement('main.content', false)
#38 /html/vendor/magento/framework/View/Layout.php(536): MagentoFrameworkViewLayout->_renderContainer('page.wrapper', false)
#39 /html/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayout->renderNonCachedElement('page.wrapper')
#40 /html/vendor/magento/framework/View/Layout.php(586): MagentoFrameworkViewLayout->renderElement('page.wrapper', false)
#41 /html/vendor/magento/framework/View/Layout.php(536): MagentoFrameworkViewLayout->_renderContainer('root', false)
#42 /html/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayout->renderNonCachedElement('root')
#43 /html/vendor/magento/framework/View/Layout.php(955): MagentoFrameworkViewLayout->renderElement('root')
#44 /html/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewLayout->getOutput()
#45 /html/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewLayoutInterceptor->___callParent('getOutput', Array)
#46 /html/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}()
#47 /html/generated/code/Magento/Framework/View/Layout/Interceptor.php(39): MagentoFrameworkViewLayoutInterceptor->___callPlugins('getOutput', Array, Array)
#48 /html/vendor/magento/framework/View/Result/Page.php(257): MagentoFrameworkViewLayoutInterceptor->getOutput()
#49 /html/vendor/magento/framework/View/Result/Layout.php(170): MagentoFrameworkViewResultPage->render(Object(MagentoFrameworkAppResponseHttpInterceptor))
#50 /html/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewResultLayout->renderResult(Object(MagentoFrameworkAppResponseHttpInterceptor))
#51 /html/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewResultPageInterceptor->___callParent('renderResult', Array)
#52 /html/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewResultPageInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkAppResponseHttpInterceptor))
#53 /html/generated/code/Magento/Framework/View/Result/Page/Interceptor.php(26): MagentoFrameworkViewResultPageInterceptor->___callPlugins('renderResult', Array, Array)
#54 /html/vendor/magento/framework/App/Http.php(139): MagentoFrameworkViewResultPageInterceptor->renderResult(Object(MagentoFrameworkAppResponseHttpInterceptor))
#55 /html/vendor/magento/framework/App/Bootstrap.php(256): MagentoFrameworkAppHttp->launch()
#56 /html/index.php(39): MagentoFrameworkAppBootstrap->run(Object(MagentoFrameworkAppHttpInterceptor))
#57 {main}
magento2 product-images product-view
I am using Magento v2.2.5 and I am getting error on product detail page.
1 exception(s):
Exception #0 (Exception): Unsupported image format.
Exception #0 (Exception): Unsupported image format.
#0 /html/vendor/magento/framework/Image/Adapter/Gd2.php(68): MagentoFrameworkImageAdapterGd2->_getCallback('create')
#1 /html/vendor/magento/framework/Image.php(55): MagentoFrameworkImageAdapterGd2->open('/home/ma...')
#2 /html/vendor/magento/framework/Image.php(36): MagentoFrameworkImage->open()
#3 /html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(111): MagentoFrameworkImage->__construct(Object(MagentoFrameworkImageAdapterGd2), '/home/ma...')
#4 /html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): MagentoFrameworkObjectManagerFactoryAbstractFactory->createObject('Magento\Framewo...', Array)
#5 /html/vendor/magento/framework/ObjectManager/ObjectManager.php(56): MagentoFrameworkObjectManagerFactoryCompiled->create('Magento\Framewo...', Array)
#6 /html/vendor/magento/framework/Image/Factory.php(47): MagentoFrameworkObjectManagerObjectManager->create('Magento\Framewo...', Array)
#7 /html/vendor/magento/module-catalog/Model/Product/Image.php(467): MagentoFrameworkImageFactory->create('/home/ma...')
#8 /html/vendor/magento/module-catalog/Model/Product/Image.php(487): MagentoCatalogModelProductImage->getImageProcessor()
#9 /html/vendor/magento/module-catalog/Helper/Image.php(477): MagentoCatalogModelProductImage->resize()
#10 /html/vendor/magento/module-catalog/Helper/Image.php(551): MagentoCatalogHelperImage->applyScheduledActions()
#11 /html/vendor/magento/module-catalog/Block/Product/ImageBuilder.php(141): MagentoCatalogHelperImage->getResizedImageInfo()
#12 /html/vendor/magento/module-catalog/Block/Product/AbstractProduct.php(516): MagentoCatalogBlockProductImageBuilder->create()
#13 /html/vendor/magento/framework/Interception/Interceptor.php(58): MagentoCatalogBlockProductAbstractProduct->getImage(Object(MagentoCatalogModelProductInterceptor), 'upsell_products...', Array)
#14 /html/vendor/magento/framework/Interception/Interceptor.php(138): MagentoCatalogBlockProductProductListUpsellInterceptor->___callParent('getImage', Array)
#15 /html/vendor/magento/framework/Interception/Interceptor.php(153): MagentoCatalogBlockProductProductListUpsellInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoCatalogModelProductInterceptor), 'upsell_products...')
#16 /html/generated/code/Magento/Catalog/Block/Product/ProductList/Upsell/Interceptor.php(26): MagentoCatalogBlockProductProductListUpsellInterceptor->___callPlugins('getImage', Array, Array)
#17 /html/vendor/magento/module-catalog/view/frontend/templates/product/list/items.phtml(193): MagentoCatalogBlockProductProductListUpsellInterceptor->getImage(Object(MagentoCatalogModelProductInterceptor), 'upsell_products...')
#18 /html/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/home/ma...')
#19 /html/vendor/magento/framework/View/Element/Template.php(270): MagentoFrameworkViewTemplateEnginePhp->render(Object(MagentoCatalogBlockProductProductListUpsellInterceptor), '/home/ma...', Array)
#20 /html/vendor/magento/framework/View/Element/Template.php(300): MagentoFrameworkViewElementTemplate->fetchView('/home/ma...')
#21 /html/vendor/magento/framework/View/Element/AbstractBlock.php(667): MagentoFrameworkViewElementTemplate->_toHtml()
#22 /html/vendor/magento/framework/View/Layout.php(558): MagentoFrameworkViewElementAbstractBlock->toHtml()
#23 /html/vendor/magento/framework/View/Layout.php(534): MagentoFrameworkViewLayout->_renderBlock('product.info.up...')
#24 /html/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayout->renderNonCachedElement('product.info.up...')
#25 /html/vendor/magento/framework/View/Layout.php(586): MagentoFrameworkViewLayout->renderElement('product.info.up...', false)
#26 /html/vendor/magento/framework/View/Layout.php(536): MagentoFrameworkViewLayout->_renderContainer('content.aside', false)
#27 /html/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayout->renderNonCachedElement('content.aside')
#28 /html/vendor/magento/framework/View/Layout.php(586): MagentoFrameworkViewLayout->renderElement('content.aside', false)
#29 /html/vendor/magento/framework/View/Layout.php(536): MagentoFrameworkViewLayout->_renderContainer('main', false)
#30 /html/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayout->renderNonCachedElement('main')
#31 /html/vendor/magento/framework/View/Layout.php(586): MagentoFrameworkViewLayout->renderElement('main', false)
#32 /html/vendor/magento/framework/View/Layout.php(536): MagentoFrameworkViewLayout->_renderContainer('columns', false)
#33 /html/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayout->renderNonCachedElement('columns')
#34 /html/vendor/magento/framework/View/Layout.php(586): MagentoFrameworkViewLayout->renderElement('columns', false)
#35 /html/vendor/magento/framework/View/Layout.php(536): MagentoFrameworkViewLayout->_renderContainer('main.content', false)
#36 /html/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayout->renderNonCachedElement('main.content')
#37 /html/vendor/magento/framework/View/Layout.php(586): MagentoFrameworkViewLayout->renderElement('main.content', false)
#38 /html/vendor/magento/framework/View/Layout.php(536): MagentoFrameworkViewLayout->_renderContainer('page.wrapper', false)
#39 /html/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayout->renderNonCachedElement('page.wrapper')
#40 /html/vendor/magento/framework/View/Layout.php(586): MagentoFrameworkViewLayout->renderElement('page.wrapper', false)
#41 /html/vendor/magento/framework/View/Layout.php(536): MagentoFrameworkViewLayout->_renderContainer('root', false)
#42 /html/vendor/magento/framework/View/Layout.php(489): MagentoFrameworkViewLayout->renderNonCachedElement('root')
#43 /html/vendor/magento/framework/View/Layout.php(955): MagentoFrameworkViewLayout->renderElement('root')
#44 /html/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewLayout->getOutput()
#45 /html/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewLayoutInterceptor->___callParent('getOutput', Array)
#46 /html/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}()
#47 /html/generated/code/Magento/Framework/View/Layout/Interceptor.php(39): MagentoFrameworkViewLayoutInterceptor->___callPlugins('getOutput', Array, Array)
#48 /html/vendor/magento/framework/View/Result/Page.php(257): MagentoFrameworkViewLayoutInterceptor->getOutput()
#49 /html/vendor/magento/framework/View/Result/Layout.php(170): MagentoFrameworkViewResultPage->render(Object(MagentoFrameworkAppResponseHttpInterceptor))
#50 /html/vendor/magento/framework/Interception/Interceptor.php(58): MagentoFrameworkViewResultLayout->renderResult(Object(MagentoFrameworkAppResponseHttpInterceptor))
#51 /html/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkViewResultPageInterceptor->___callParent('renderResult', Array)
#52 /html/vendor/magento/framework/Interception/Interceptor.php(153): MagentoFrameworkViewResultPageInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkAppResponseHttpInterceptor))
#53 /html/generated/code/Magento/Framework/View/Result/Page/Interceptor.php(26): MagentoFrameworkViewResultPageInterceptor->___callPlugins('renderResult', Array, Array)
#54 /html/vendor/magento/framework/App/Http.php(139): MagentoFrameworkViewResultPageInterceptor->renderResult(Object(MagentoFrameworkAppResponseHttpInterceptor))
#55 /html/vendor/magento/framework/App/Bootstrap.php(256): MagentoFrameworkAppHttp->launch()
#56 /html/index.php(39): MagentoFrameworkAppBootstrap->run(Object(MagentoFrameworkAppHttpInterceptor))
#57 {main}
magento2 product-images product-view
magento2 product-images product-view
edited Sep 27 '18 at 11:51
Abi Sharma
589
589
asked Sep 27 '18 at 8:44
Pradeep SankuPradeep Sanku
7,93913158
7,93913158
bumped to the homepage by Community♦ 1 hour ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 1 hour ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Can you load the raw image in question in your browser?
– Borche Glafche
Sep 27 '18 at 8:57
Try to compress your image and check the size of it .
– Ylgen Guxholli
Sep 27 '18 at 11:28
@YlgenGuxholli my image size is 19.2KB
– Pradeep Sanku
Sep 27 '18 at 11:54
@BorcheGlafche yes i can load that image in the broweser
– Pradeep Sanku
Sep 27 '18 at 11:55
Can you try to use ImageMagick instead. And can you share us the broken image
– Franck Garnier
Sep 27 '18 at 13:39
add a comment |
Can you load the raw image in question in your browser?
– Borche Glafche
Sep 27 '18 at 8:57
Try to compress your image and check the size of it .
– Ylgen Guxholli
Sep 27 '18 at 11:28
@YlgenGuxholli my image size is 19.2KB
– Pradeep Sanku
Sep 27 '18 at 11:54
@BorcheGlafche yes i can load that image in the broweser
– Pradeep Sanku
Sep 27 '18 at 11:55
Can you try to use ImageMagick instead. And can you share us the broken image
– Franck Garnier
Sep 27 '18 at 13:39
Can you load the raw image in question in your browser?
– Borche Glafche
Sep 27 '18 at 8:57
Can you load the raw image in question in your browser?
– Borche Glafche
Sep 27 '18 at 8:57
Try to compress your image and check the size of it .
– Ylgen Guxholli
Sep 27 '18 at 11:28
Try to compress your image and check the size of it .
– Ylgen Guxholli
Sep 27 '18 at 11:28
@YlgenGuxholli my image size is 19.2KB
– Pradeep Sanku
Sep 27 '18 at 11:54
@YlgenGuxholli my image size is 19.2KB
– Pradeep Sanku
Sep 27 '18 at 11:54
@BorcheGlafche yes i can load that image in the broweser
– Pradeep Sanku
Sep 27 '18 at 11:55
@BorcheGlafche yes i can load that image in the broweser
– Pradeep Sanku
Sep 27 '18 at 11:55
Can you try to use ImageMagick instead. And can you share us the broken image
– Franck Garnier
Sep 27 '18 at 13:39
Can you try to use ImageMagick instead. And can you share us the broken image
– Franck Garnier
Sep 27 '18 at 13:39
add a comment |
1 Answer
1
active
oldest
votes
The file types supported by Magento 2 GD2 :
/**
* Image output callbacks by type
*
* @var array
*/
private static $_callbacks = [
IMAGETYPE_GIF => ['output' => 'imagegif', 'create' => 'imagecreatefromgif'],
IMAGETYPE_JPEG => ['output' => 'imagejpeg', 'create' => 'imagecreatefromjpeg'],
IMAGETYPE_PNG => ['output' => 'imagepng', 'create' => 'imagecreatefrompng'],
IMAGETYPE_XBM => ['output' => 'imagexbm', 'create' => 'imagecreatefromxbm'],
IMAGETYPE_WBMP => ['output' => 'imagewbmp', 'create' => 'imagecreatefromxbm'],
];
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "479"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f244069%2fmagento-2-2-5-unsupported-image-format-on-product-detail-page%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The file types supported by Magento 2 GD2 :
/**
* Image output callbacks by type
*
* @var array
*/
private static $_callbacks = [
IMAGETYPE_GIF => ['output' => 'imagegif', 'create' => 'imagecreatefromgif'],
IMAGETYPE_JPEG => ['output' => 'imagejpeg', 'create' => 'imagecreatefromjpeg'],
IMAGETYPE_PNG => ['output' => 'imagepng', 'create' => 'imagecreatefrompng'],
IMAGETYPE_XBM => ['output' => 'imagexbm', 'create' => 'imagecreatefromxbm'],
IMAGETYPE_WBMP => ['output' => 'imagewbmp', 'create' => 'imagecreatefromxbm'],
];
add a comment |
The file types supported by Magento 2 GD2 :
/**
* Image output callbacks by type
*
* @var array
*/
private static $_callbacks = [
IMAGETYPE_GIF => ['output' => 'imagegif', 'create' => 'imagecreatefromgif'],
IMAGETYPE_JPEG => ['output' => 'imagejpeg', 'create' => 'imagecreatefromjpeg'],
IMAGETYPE_PNG => ['output' => 'imagepng', 'create' => 'imagecreatefrompng'],
IMAGETYPE_XBM => ['output' => 'imagexbm', 'create' => 'imagecreatefromxbm'],
IMAGETYPE_WBMP => ['output' => 'imagewbmp', 'create' => 'imagecreatefromxbm'],
];
add a comment |
The file types supported by Magento 2 GD2 :
/**
* Image output callbacks by type
*
* @var array
*/
private static $_callbacks = [
IMAGETYPE_GIF => ['output' => 'imagegif', 'create' => 'imagecreatefromgif'],
IMAGETYPE_JPEG => ['output' => 'imagejpeg', 'create' => 'imagecreatefromjpeg'],
IMAGETYPE_PNG => ['output' => 'imagepng', 'create' => 'imagecreatefrompng'],
IMAGETYPE_XBM => ['output' => 'imagexbm', 'create' => 'imagecreatefromxbm'],
IMAGETYPE_WBMP => ['output' => 'imagewbmp', 'create' => 'imagecreatefromxbm'],
];
The file types supported by Magento 2 GD2 :
/**
* Image output callbacks by type
*
* @var array
*/
private static $_callbacks = [
IMAGETYPE_GIF => ['output' => 'imagegif', 'create' => 'imagecreatefromgif'],
IMAGETYPE_JPEG => ['output' => 'imagejpeg', 'create' => 'imagecreatefromjpeg'],
IMAGETYPE_PNG => ['output' => 'imagepng', 'create' => 'imagecreatefrompng'],
IMAGETYPE_XBM => ['output' => 'imagexbm', 'create' => 'imagecreatefromxbm'],
IMAGETYPE_WBMP => ['output' => 'imagewbmp', 'create' => 'imagecreatefromxbm'],
];
answered Sep 27 '18 at 13:49
Franck GarnierFranck Garnier
2,096926
2,096926
add a comment |
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f244069%2fmagento-2-2-5-unsupported-image-format-on-product-detail-page%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Can you load the raw image in question in your browser?
– Borche Glafche
Sep 27 '18 at 8:57
Try to compress your image and check the size of it .
– Ylgen Guxholli
Sep 27 '18 at 11:28
@YlgenGuxholli my image size is 19.2KB
– Pradeep Sanku
Sep 27 '18 at 11:54
@BorcheGlafche yes i can load that image in the broweser
– Pradeep Sanku
Sep 27 '18 at 11:55
Can you try to use ImageMagick instead. And can you share us the broken image
– Franck Garnier
Sep 27 '18 at 13:39