Closed mibesoft closed 6 months ago
Thanks for your suggestion. There is a refactoring underway, so that this will need to be applied in a different way. Also, I'm a bit worried about the performance of looping through StoreViews - what if there is a large number of those StoreViews? This therefore also needs to be applied optionally (through a system setting) somehow. Anyway, let me get back to you, once the mentioned refactoring is done for.
I'll merge your idea anyway. The performance impact is actually very very very little, so that's totally fine. And your scenario and fix are quite easy to follow and implement. The next release - with this fix - will be available in a few hours.
I'm closing this ticket due to inactivity.
I found module not convert some image in same magento source but different domain. I added some code to convert image for multistores
`public function isLocal(string $url): bool { if (!preg_match('/^https?:\/\//', $url)) { return true; } $stores = $this->storeManager->getStores(); foreach($stores as $store) {