Title: Query strings break custom images
Last modified: August 30, 2016

---

# Query strings break custom images

 *  Resolved [meerkatdash](https://wordpress.org/support/users/meerkatdash/)
 * (@meerkatdash)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/query-strings-break-custom-images/)
 * Hi there,
 * My client has a multilingual site using WPML. When a user switches to a different
   language version of a page, this adds a query string to the end of the address(
   e.g. [http://urantia-association.org/?lang=fr](http://urantia-association.org/?lang=fr)).
   This causes the path to the custom images we’re using to break- in the image 
   tag, the src goes from `src="http://urantia-association.org/wp-content/themes/
   urantia/social_icons/medium/facebook.png"` to `src="http://urantia-association.
   org?lang=fr/wp-content/themes/urantia/social_icons/medium/facebook.png"` and 
   the image stops appearing.
 * [https://wordpress.org/plugins/social-media-icons-widget/](https://wordpress.org/plugins/social-media-icons-widget/)

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

 *  Plugin Author [Daniel](https://wordpress.org/support/users/dannisbet/)
 * (@dannisbet)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/query-strings-break-custom-images/#post-6294376)
 * That’s an interesting bug! I’ll download a copy of WPML and see what’s causing
   the issue. Thanks for the heads up!
 *  Plugin Author [Daniel](https://wordpress.org/support/users/dannisbet/)
 * (@dannisbet)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/query-strings-break-custom-images/#post-6294419)
 * I just released an update that should take care of this. I wasn’t able to use
   your specific plugin, but noted that it worked with others now. Let me know if
   the issue persists.

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

The topic ‘Query strings break custom images’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/social-media-icons-widget_ff5d00.
   svg)
 * [Social Icons Widget](https://wordpress.org/plugins/social-media-icons-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/social-media-icons-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/social-media-icons-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/social-media-icons-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/social-media-icons-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/social-media-icons-widget/reviews/)

## Tags

 * [broken image](https://wordpress.org/support/topic-tag/broken-image/)
 * [Query String](https://wordpress.org/support/topic-tag/query-string/)

 * 2 replies
 * 2 participants
 * Last reply from: [Daniel](https://wordpress.org/support/users/dannisbet/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/query-strings-break-custom-images/#post-6294419)
 * Status: resolved