New answers tagged

0

It should work out of the box, but I found a bug when trying to run the import. Normally, you just need to specify the URL of the image for the specific product in the CSV file. You can check status of the bug here: https://github.com/magento/magento2/issues/24941


0

Please double check owner and group of pub/media directory, You may run this command from magento root directory: sudo chown www-data:www-data -R pub/media find ./pub/media -type d -exec chmod 777 {} \; Assuming www-data is used as Apache user. Apache user should have permissions to a pub/media/catalog/product directory to create resized product image ...


0

You have to override view.xml file from if you use parent theme luma (theme-frontend-luma) vendor/magento/theme-frontend-luma/etc/view.xml if you use parent theme blank (theme-frontend-blank) vendor/magento/heme-frontend-blank/etc/view.xml to your theme app/design/frontend/Package/theme/etc/view.xml just find <var name="magnifier"> and You ...


2

app/design/frontend/Custom/mytheme/Magento_Catalog/templates/product/view/gallery.phtml add "maxheight": "550", // Add your value here <script type="text/x-magento-init"> { "[data-gallery-role=gallery-placeholder]": { "mage/gallery/gallery": { "mixins":["magnifier/magnify"], "magnifierOpts": <...


0

You have two options as: 1. Remove by Css Easily add this CSS in your Existing CSS File. #productThumbnails { display: none; } 2. Remove by Code if you want code, kindly specify in comments so that i will provide you.


0

Please try with below code to create directory in root : <?php ini_set('display_errors', 1); error_reporting(E_ALL); use \Magento\Framework\App\Bootstrap; include('app/bootstrap.php'); $bootstraps = Bootstrap::create(BP, $_SERVER); $object_Manager = $bootstraps->getObjectManager(); //$fileSystem = $object_Manager->create('\Magento\Framework\...


0

In terms of magento configuration something like this https://magento.stackexchange.com/a/68908/70343 To keep media folder in sync something like this https://serverfault.com/a/665968 Good luck!


0

> [ media.vps2.server ] > user ----> -----> [ nfs disk ] > [ www.vps1.server ] > you can use some sort of proxy/cache server config with shared NFS disk. dynamic will be served from one server, statics will be served from another server, https://www.google.com/search?q=nginx+proxy+images+to+another+...


1

I've created a script for the same. You can achieve this by executing the script on your website. For Magento 2 <?php ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL); use Magento\Framework\App\Bootstrap; require __DIR__ . '/app/bootstrap.php'; $bootstrap = Bootstrap::create(BP, $_SERVER); $objectManager =...


0

Please see your config in the theme you are using and make sure that config in your source store is the same with that in your target. You can refer to this: https://devdocs.magento.com/guides/v2.3/frontend-dev-guide/themes/theme-images.html Then run: php bin/magento catalog:images:resize Let me know if this helps!


0

have you managed to fix the error yet? Please see your config in the theme you are using and make sure your source store's config is the same with your target's. You can refer to this: https://devdocs.magento.com/guides/v2.3/frontend-dev-guide/themes/theme-images.html Then run: php bin/magento catalog:images:resize Let me know if this helps!


Top 50 recent answers are included