Title: PHP pointer to media library image plus caption?
Last modified: August 20, 2016

---

# PHP pointer to media library image plus caption?

 *  [hansmair](https://wordpress.org/support/users/hansmair/)
 * (@hansmair)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/php-pointer-to-media-library-image-plus-caption/)
 * I’m new to WordPress. Is there a way in the WordPress page editor to create captioned
   images (resident in the media library) without importing the path and caption
   into the php? I’d like to harness the advantages of the media library by using
   the editor to simply add a pointer to a library image within the php; the php
   would automatically import the image and its caption from the media library, 
   then format them as I specify. The current editor imports the image link and 
   the image caption into the php. Sorry if I’m misusing terminology, or misunderstanding
   some inherent capabilities.

The topic ‘PHP pointer to media library image plus caption?’ is closed to new replies.

## Tags

 * [caption](https://wordpress.org/support/topic-tag/caption/)
 * [image](https://wordpress.org/support/topic-tag/image/)
 * [media library](https://wordpress.org/support/topic-tag/media-library/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [hansmair](https://wordpress.org/support/users/hansmair/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/php-pointer-to-media-library-image-plus-caption/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
