I am using WP-offload plugin to cache and its working fine everywhere on the site but when the site loads the images of WPML it loads directly from my server instead of a cdn url like all other images
We had a discussion with the cache plugin support, they are saying that their plugin only cache the images which are present in our media library.
So the only solution we can do is to change the images fetch origin from WPML plugin to WP media library,
Currently images are being fetched from "website/wp-content/plugins/sitepress-multilingual-cms/res/flags/en.svg"
We want to pick these images from WP media folder "website/wp-content/uploads/flags/en.svg"
How can we do that in the code?
Could you please navigate to WPML > Languages > Edit language and upload a custom flag for your languages? Let me know if this helps.
The topic ‘[Closed] WP Offload Media plugin not loading WPML images from CDN’ is closed to new replies.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.