Title: WPML + Image Optimization don&#8217;t work&#8230;
Last modified: November 2, 2022

---

# WPML + Image Optimization don’t work…

 *  Resolved [Armsportstore.com](https://wordpress.org/support/users/armbreakersweden/)
 * (@armbreakersweden)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/wpml-image-optimization-dont-work/)
 * Hi.
 * I am using Litespeed cache and just started using Image Optimization again (used
   it a long time ago) and realized the same problem with this still exist when 
   using this feature in combination with WPML, which was the reason I stopped using
   it the last time. The issue is that the Litespeed plugin ignore most of the images
   and sees them as duplicates, which is not the case. I use the feature in WPML
   where I have one domain per language. And currently are using three different
   languages. So I have armsportbutiken.se, armsportstore.eu and armsportstore.com.
   They are all the same install and the same shop, but with different languages
   and urls.
    Is there a way to force Litespeed to optimize and use WebP Replacement
   for all images?
 * As of now if I check the “Media”-setting I have 177 different images. Only about
   10 of them is actually optimized and have WebP-replacement. The rest is ignored,
   which I notice if I browse the Swedish page Armsportbutiken.se och check this
   through the web tools inspector in Chrome.
 * Any possibility you can fix this?
 * Report number: RHJHSOKJ
    Report date: 11/02/2022 13:23:53
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwpml-image-optimization-dont-work%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/wpml-image-optimization-dont-work/#post-16158859)
 * please do me a screenshot on your image optm summary page
 *  Thread Starter [Armsportstore.com](https://wordpress.org/support/users/armbreakersweden/)
 * (@armbreakersweden)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/wpml-image-optimization-dont-work/#post-16159600)
 * Hi.
 * When I check the Media library for Swedish and English, there are only maybe 
   10-15 images that is optimized and have WebP-replacement images. For the language
   English-EU (the third language on site) all images are optimized and have WebP-
   replacement images.
 * So to summarize, most of the images are the same regardless of language. Only
   a few is added by WPML Media translation, which is a way of having different 
   images for different languages. In my case I only have that on a few images that
   contains text explanation of a product. So all other images are exactly the same
   regardless of language.
    My guess is that WPML somehow separates the images per
   language and when Litespeed is gathering the images it sees the same images several
   times due to WPML’s way of handling images and hence removes all duplicates, 
   when there is in fact no duplicates at all. All images present (177 files) plus
   thumbnail sizes are unique.
 * Here you can see Image Optimization Summary and the Media Library for each language(
   SV, EN, EN-EU):
    (All images) [https://postimg.cc/gallery/Q3Mn0kS](https://postimg.cc/gallery/Q3Mn0kS)
 * [⌊Litespeed-Image-Optimization-01⌉⌊Litespeed-Image-Optimization-01⌉[
 * [⌊Litespeed-Media-Library-SV⌉⌊Litespeed-Media-Library-SV⌉[
 * [⌊Litespeed-Media-Library-EN⌉⌊Litespeed-Media-Library-EN⌉[
 * [⌊Litespeed-Media-Library-EN-EU⌉⌊Litespeed-Media-Library-EN-EU⌉[
 *  Thread Starter [Armsportstore.com](https://wordpress.org/support/users/armbreakersweden/)
 * (@armbreakersweden)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/wpml-image-optimization-dont-work/#post-16159702)
 * Don’t know if you were notified about my previous post as it was held for moderation,
   probably due to the links and images.
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/wpml-image-optimization-dont-work/#post-16163293)
 * if you check via FTP , do you see these images have optm’ed and webp’ed files?
   the ones in this screenshot [https://postlmg.cc/xJ64T6mt](https://postlmg.cc/xJ64T6mt)
 *  Thread Starter [Armsportstore.com](https://wordpress.org/support/users/armbreakersweden/)
 * (@armbreakersweden)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/wpml-image-optimization-dont-work/#post-16165885)
 * Yes, all images are both optimized and have WebP-versions created.
    The images
   are exactly the same for all languages with the only exception for 4 images were
   I use the Media Translation feature in WPML as the text on the images are in 
   different languages. So I think the issue comes down to that WPML somehow links
   to the images depending on language(domain), that is why Litespeed sees the images
   for ALL languages = All images x 3. Which sums up why the total groups specified
   in Image optimization summary is 535 groups, when it’s in fact only 177 groups(
   = 177 total images). 177 x 3 = 531 groups + 4 Media Translation images = 535 
   groups
 * I don’t know anything about coding. But as I view it, Litespeed should only optimize
   and create WebP-images for the Media Library in the main language plus do it 
   for images created by Media Translation feature BUT include the images in all
   languages so the optimized versions and WebP-versions are used in all languages/
   domains.
    As English isn’t my main language, I am sorry if this is hard to understand…
   Trying to explain as good as I possibly can. Hope it makes some kind of sense
   for you.
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/wpml-image-optimization-dont-work/#post-16171179)
 * Please create a ticket by mail to `support at litespeedtech.com`
 * we will investigate further

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘WPML + Image Optimization don’t work…’ is closed to new replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

## Tags

 * [image](https://wordpress.org/support/topic-tag/image/)
 * [optimization](https://wordpress.org/support/topic-tag/optimization/)

 * 6 replies
 * 2 participants
 * Last reply from: [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/wpml-image-optimization-dont-work/#post-16171179)
 * Status: resolved