How to Display an Image Uploaded through a Meta Box in a Template?

Why don’t you read the answers you get? In this answer I said to you to use get_post_meta instead of get_post_custom. The reason is quiet simple: get_post_meta( post_id, metakey, single ) returns a single value if single is set to true (RTFM!!)

If you would use get_post_meta(), than you will get your answer. If not, try unserialize()

Leave a Comment