Thank for your repporting @leinad4mind !
We will fix that in next release, scheduled for December 11.
If you want fix it now on your website, you can follow this instructions:
Find the function weglot_amp_post_template_css() in file `weglot/src/third/amp/class-amp-enqueue-weglot.php’ and replace it with the new code.
Old code:
`
public function weglot_amp_post_template_css() {
echo file_get_contents( WEGLOT_DIR_DIST . ‘/css/front-amp-css.css’ ); //phpcs:ignore
echo $this->option_services->get_flag_css(); //phpcs:ignore
}
`
New code with fix:
`
public function weglot_amp_post_template_css() {
$css = file_get_contents( WEGLOT_DIR_DIST . ‘/css/front-amp-css.css’ ); //phpcs:ignore
$css = str_replace( ‘../images/’, plugins_url( WEGLOT_NAME ) . ‘/dist/images/’, $css );
echo $css . $this->option_services->get_flag_css(); //phpcs:ignore
}
`
Best regards,