Title: Javascript file loading Images in wordpress
Last modified: August 20, 2016

---

# Javascript file loading Images in wordpress

 *  [riak](https://wordpress.org/support/users/riak/)
 * (@riak)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/javascript-file-loading-images-in-wordpress/)
 * Hi all I have a problem with a jquery plugin that I cannot solve.
 * The code below is what finds the images to load
 * `.attr('src', 'images/' + button + '.png')`
 * In wordpress this doesn’t work and i have tried:
    /images/ /wp-content/themese/
   yada/yada [http://sitename.com/images](http://sitename.com/images)
 * And none of them are working. I am really stuck on this.
 * you can find the plugin [here](http://www.egrappler.com/YjdlN/jquery-social-media-share-plugin-jsshare/)
 * As anyone else had issues with javascript loading images in WP?
 * Thanks

Viewing 1 replies (of 1 total)

 *  Thread Starter [riak](https://wordpress.org/support/users/riak/)
 * (@riak)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/javascript-file-loading-images-in-wordpress/#post-2108182)
 * Before we get any smart asses I know there is a typo in “/themese” 😉

Viewing 1 replies (of 1 total)

The topic ‘Javascript file loading Images in wordpress’ is closed to new replies.

## Tags

 * [images](https://wordpress.org/support/topic-tag/images/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [riak](https://wordpress.org/support/users/riak/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/javascript-file-loading-images-in-wordpress/#post-2108182)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
