Title: Rollover Image Code getting stripped
Last modified: August 21, 2016

---

# Rollover Image Code getting stripped

 *  [Jeff F.](https://wordpress.org/support/users/jefferytodd/)
 * (@jefferytodd)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/rollover-image-code-getting-stripped/)
 * I found this code in the forums for rollover images. It works, but when the page
   gets refreshed WordPress is stripping the code like it strips  
 * _[ Moderator note: code fixed. Please wrap code in the backtick character or 
   [use the code button](http://codex.wordpress.org/Forum_Welcome#Posting_Code).]_
 *     ```
       <a href="http://test.lustreadvisors.com/gold-american-eagle/"><img src="http://test.lustreadvisors.com/wp-content/uploads/2014/07/1oz-gold-american-eagle-obverse.png"
       onmouseover="this.src='http://test.lustreadvisors.com/wp-content/uploads/2014/07/1oz-gold-american-eagle-reverse.png'"
       onmouseout="this.src='http://test.lustreadvisors.com/wp-content/uploads/2014/07/1oz-gold-american-eagle-obverse.png'" /></a>
       ```
   
 * I have a child theme of twentytwelve with nothing unusual, any suggestions? I’ve
   done the plugin deactivation thing.
 * dev.lustreadvisors.com

The topic ‘Rollover Image Code getting stripped’ is closed to new replies.

## Tags

 * [page](https://wordpress.org/support/topic-tag/page/)
 * [rollover](https://wordpress.org/support/topic-tag/rollover/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [Jeff F.](https://wordpress.org/support/users/jefferytodd/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/rollover-image-code-getting-stripped/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
