Couldn't upload image in admin panel

Created by Support Agent, Modified on Wed, 8 Apr at 11:14 AM by Support Agent

Issue:

We just purchased and installed your gallery extension.  Everything seems to be working well so far however the gallery item image we upload doesn’t show up in the admin panel on the grid view and also doesn’t show up on the storefront.


Solution:


The issue might be due to permission, so it's unable to read image file using getimagesize function. We suggest to modify these files on your site to fix this:


- app/code/Bss/Gallery/Block/ListCategoryGallery.php

public function getImageUrl()

public function getImageResize($image)
- app/code/Bss/Gallery/Block/CategoryView.php
public functiongetImageUrl()
public function getImageResize($image)
- app/code/Bss/Gallery/Block/Widget/Gallery.php
public functiongetImageUrl()
public function getImageResize($image)
- app/code/Bss/Gallery/Ui/Component/Listing/Column/Thumbnail.php
public function prepareDataSource(array $dataSource)



For more information about product, please refer Magento 2 Gallery Extension page.
If you need any further assistance, please feel free to contact us.


Who are we?


BSS Commerce is a trusted Magento 2 extensions provider with 14+ years of experience, serving 75,000+ customers worldwide. We are an Adobe Commerce Solution Bronze Partner and a Select Magento Extensions Builder, reinforcing our expertise in the Magento ecosystem.


We specialize in developing 150+ high-quality Magento 2 extensions that enhance functionality, improve user experience, and support scalable growth. Our reputation is built on long-term partnerships, positive feedback, and proven performance-driven solutions.


Please refer our top tier extensions below:


Please visit our site for more useful Magento 2 Extensions: https://bsscommerce.com/magento-2-extensions.html

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article