$reader = \PhpOffice\PhpSpreadsheet\IOFactory::createReader('Xlsx');
$reader->setLoadSheetsOnly(["List1", "List7"]); //Названия листов
$spreadsheet = $reader->load("test.xlsx");
$dataArray = [];
$columns = ['M', 'AE'];
foreach ($spreadsheet as $key => $list) {
$rows = $list->getRowIterator();
$start = $rows[0]; $end = $rows[1];
foreach ($columns as $column) {
$dataArray[$key[$column]] = $list->rangeToArray($column.$start.':'.$column.$end, NULL, TRUE, TRUE, TRUE);
}
}
<div class="small-img {{ product.product_id}}" style="..."></div>
onmouseover="show_small_img('{{ product.thumb }}, {{ product.product_id}}');"
function show_small_img(image, product_id){
var smal_img = $('.small-img.' + product_id);
$(smal_img).html('<img src="'+image+'" style="height:100px;width: 100px;">');
$(smal_img).css({"width": "120px", "text-align":"center"});
$(smal_img).show();
}