New answers tagged

0

Please follow all the steps to show image in cms pages. Here i have taken custom collumn name "banner" which is created in "cms_page" table. Please change your code according to your column name. Step 1:- Please create one block file named Image.php under path PackageName/Banner/Block/Banner/ Below code is for get image from custom ...


0

Can you please try below css? .catalog-product-view .fotorama__spinner.fotorama__spinner--show { display: none; } .catalog-product-view .loading-mask .loader img { display: block; position: fixed; margin: auto; top: 0; left: 0; bottom: 0; right: 0; visibility: hidden; }


0

If you check the code around the line specified in the error you will see why it doesn't work :) $allowImageTypes = ['gif', 'jpg', 'jpeg', 'png']; So basically, you can't upload a PDF and expect it to be treated as an image since this is not allowed file extension.


Top 50 recent answers are included