Title: Advice on catch_that_image function?
Last modified: August 20, 2016

---

# Advice on catch_that_image function?

 *  [speedyp](https://wordpress.org/support/users/speedyp/)
 * (@speedyp)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/advice-on-catch_that_image-function/)
 * I would like to include some code in my header.php that will display an image
   from an existing page in the header of my site.
 * I’m using catch that image to extract the image url correctly, but not sure how
   to add the page address to the code – this is what I tried…
 * `<img src="http://mysite.co.uk/sample-blog1/logo/" <?php echo catch_that_image()?
   > alt="<?php the_title(); ?>"/>`
 * Any advice most welcome – thanks

Viewing 1 replies (of 1 total)

 *  [Flash Buddy](https://wordpress.org/support/users/flashbuddy/)
 * (@flashbuddy)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/advice-on-catch_that_image-function/#post-2929550)
 * I’m not familiar with Catch that Image but can see your code should be:
    `<img
   src="http://mysite.co.uk/sample-blog1/logo/<?php echo catch_that_image() ?>" 
   alt="<?php the_title(); ?>" />`

Viewing 1 replies (of 1 total)

The topic ‘Advice on catch_that_image function?’ is closed to new replies.

 * 1 reply
 * 2 participants
 * Last reply from: [Flash Buddy](https://wordpress.org/support/users/flashbuddy/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/advice-on-catch_that_image-function/#post-2929550)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
