|
@@ 471-475 (lines=5) @@
|
| 468 |
|
|
| 469 |
|
$locallyStoredImage = $this->getLocallyStoredImage($mainImage->getImageSrc()); |
| 470 |
|
|
| 471 |
|
if (!empty($locallyStoredImage)) { |
| 472 |
|
$mainImage->setBytes($locallyStoredImage->getBytes()); |
| 473 |
|
$mainImage->setHeight($locallyStoredImage->getHeight()); |
| 474 |
|
$mainImage->setWidth($locallyStoredImage->getWidth()); |
| 475 |
|
} |
| 476 |
|
|
| 477 |
|
return $this->ensureMinimumImageSize($mainImage); |
| 478 |
|
} |
|
@@ 579-583 (lines=5) @@
|
| 576 |
|
|
| 577 |
|
$locallyStoredImage = $this->getLocallyStoredImage($mainImage->getImageSrc()); |
| 578 |
|
|
| 579 |
|
if (!empty($locallyStoredImage)) { |
| 580 |
|
$mainImage->setBytes($locallyStoredImage->getBytes()); |
| 581 |
|
$mainImage->setHeight($locallyStoredImage->getHeight()); |
| 582 |
|
$mainImage->setWidth($locallyStoredImage->getWidth()); |
| 583 |
|
} |
| 584 |
|
|
| 585 |
|
return $this->ensureMinimumImageSize($mainImage); |
| 586 |
|
} |