magento2-vsbridge-indexer icon indicating copy to clipboard operation
magento2-vsbridge-indexer copied to clipboard

Image links in product description

Open simonmaass opened this issue 5 years ago • 2 comments

Currently in the product description included images are transfered to ES with broken links:

for example: <img src="{{media url="wysiwyg/xxxx.png"}}" alt="" width="797" height="319">

description always should be transformed and those broken URL replaced to proper magento asset paths

simonmaass avatar Feb 11 '20 15:02 simonmaass

I'd like to add to this (rather than opening a new ticket).

  • The same problem happens with {{store url="x"}}, which is not transformed
  • The same problem exists for the category description wysiwyg

Also, on static blocks & cms pages, the {{store}} directive seems to be wrong and always transformed to an admin url rather than a correct store one (also with multistore). The problem there seems to be that even though emulation is used and storeid is passed to the template filter, the filter still needs a frontend url model passed, otherwise it uses the backend one. But even with that it still has issues with multistore as it then always just uses the first store and the url is only correct on one store.

dio5 avatar May 21 '20 12:05 dio5

Just for reference, re my earlier comment on cms & static block directives I've fixed by using a custom url model that bypasses the url caching so it works on multistore and passing the scope id to the urlmodel, which then gets passed to the templatefilter in CmsContentFilter.php

dio5 avatar Sep 09 '20 15:09 dio5