Couldn't upload image in admin panel

Created by Nicole Le, Modified on Fri, 20 Oct 2017 at 05:54 PM by Nicole Le

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.

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 atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article