Commit 06e81d74 authored by Pawel G's avatar Pawel G
Browse files

Issue #2913848 by sbasile: Image Sitemaps <image:loc> Doesn't Use Default Base URL

parent ae04cd85
...@@ -322,7 +322,7 @@ class UrlGeneratorBase { ...@@ -322,7 +322,7 @@ class UrlGeneratorBase {
protected function getImages($entity_type_name, $entity_id) { protected function getImages($entity_type_name, $entity_id) {
$images = []; $images = [];
foreach ($this->entityHelper->getEntityImageUrls($entity_type_name, $entity_id) as $Url) { foreach ($this->entityHelper->getEntityImageUrls($entity_type_name, $entity_id) as $Url) {
$images[]['path'] = $Url; $images[]['path'] = $this->replaceBaseUrlWithCustom($Url);
} }
return $images; return $images;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment