Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In my mulitlanguage setup english is the first language and has the pattern domain.tld/sites....image.jpg
When I switch language to German for example image assist will use the pattern domain.tld/de/sites...image.jpg. Obviously the image won't be found as it does not reside in .../de/sites... This only happens with the filter tag active. using absolute urls there is no problem. Hwever, I cant just manually revert all images from filter tag to url. This is a new bug and I don't know when exactly it entered my site.
Comments
Comment #1
TwoD#1004386: Current user language not set with Image assist in multilang website looks like a duplicate of this issue.
Comment #2
heyyo CreditAttribution: heyyo commented@TwoD: It's not the same issue, but gives me the opportunity to found another user which uses image assist in multilang environment :-)
@btt: I'm using the last 3.x-dev version of image assist, and I don't have the problem you're describing. I'm using Image assist with Wysiwyg API 6.2.2 + tiny MCE
I recommend you to set your content type Image multilingual, like this when you will upload a new image in image assit it will create you a new node image and you could choose the language desired.
And when you will click on the insert button, the image node id which will be used, will be language dependant; so the correct url with the correct language prefix will be generated by the image assist input filter.