Title: adding onload to image within posts?
Last modified: August 20, 2016

---

# adding onload to image within posts?

 *  [wearecolt](https://wordpress.org/support/users/wearecolt/)
 * (@wearecolt)
 * [14 years ago](https://wordpress.org/support/topic/adding-onload-to-image-within-posts/)
 * Hello.
    I am pretty new to wordpress and indeed webdesign in general…. i am wanting
   to add an ‘onload’ to images within posts in order then make them link to a script
   that will make the image full width of a div but keep the aspect ratio correct.
   Any help with this would be greatly appreciated as i am pulling my hair out 🙂.
   thanks adam

The topic ‘adding onload to image within posts?’ is closed to new replies.

## Tags

 * [full-width](https://wordpress.org/support/topic-tag/full-width/)
 * [onload](https://wordpress.org/support/topic-tag/onload/)
 * [scale image](https://wordpress.org/support/topic-tag/scale-image/)

 * 0 replies
 * 1 participant
 * Last reply from: [wearecolt](https://wordpress.org/support/users/wearecolt/)
 * Last activity: [14 years ago](https://wordpress.org/support/topic/adding-onload-to-image-within-posts/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
