New answers tagged

0

I don't know if the question is still valid, but the way I know to import products and from CLI is by running this command php bin/magento setup:static-content:deploy this Deploys static view files, which includes images. Then you can run your performance command and run your tests.


0

You can enable/disable Zoom for fullscreen in view.xml Copy view.xml file from vendor/magento/theme-frontend-luma/etc/view.xml add view.xml to app/design/frontend/Vendor/YourTheme/etc/view.xml You can find out magnifier and change as per requirements.


2

You need to pass it to your component via the PHTML file, add this to your PHTML file: <script type="text/x-magento-init"> { ".yourSelector": { "yourComponentAliasORPath": { "galleryImagesJson": <?= /* @noEscape */ $block->getGalleryImagesJson() ?>, } } } </script> Then in ...


0

The problem is caused due to the permission issue on the static files. To fix this issue, 1) Go to file path pub/static/ 2) Check whether .htaccess file is available (hidden file - Press cntrl+H to view it). 3) If not available, based on the Magento version get .htaccess file in the file path pub/static/ and move into your server. 4) Finally, clear ...


0

Use this extension. It is a good one. https://store.ibnab.com/magento-2-extensions/magento-2-quick-cloud-zoom.html


1

If product images are large size, You can resize image by running below command. php <magento install dir>/bin/magento catalog:images:resize Source: http://devdocs.magento.com/guides/v2.0/frontend-dev-guide/themes/theme-images.html#resize-catalog-images


0

You can follow the steps describe below . I assume your are using a theme name "Company/mytheme". step 1) Edit app/design/frontend/Company/mytheme/etc/view.xml and add/update followings section of the xml. <?xml version="1.0"?> <!-- /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ --> <view ...


Top 50 recent answers are included