Title: [Plugin: CataBlog] access images directly
Last modified: August 20, 2016

---

# [Plugin: CataBlog] access images directly

 *  [blogatom](https://wordpress.org/support/users/blogatom/)
 * (@blogatom)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-catablog-access-images-directly/)
 * i want to know where is the information about the images that are uploaded through
   this plugin stored (are they stored in a table in the database? if yes where)
   because i want to access some of them directly through a mysql query.
 * [http://wordpress.org/extend/plugins/catablog/](http://wordpress.org/extend/plugins/catablog/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [blogatom](https://wordpress.org/support/users/blogatom/)
 * (@blogatom)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-catablog-access-images-directly/#post-2402498)
 * i found out myself (its stored in wp_postmeta table)
 *  Thread Starter [blogatom](https://wordpress.org/support/users/blogatom/)
 * (@blogatom)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-catablog-access-images-directly/#post-2402506)
 * this is one of the entries from the table
    `a:5:{s:5:"image";s:8:"sample.png";
   s:10:"sub-images";a:0:{}s:4:"link";s:0:"";s:5:"price";s:1:"0";s:12:"product-code";
   s:0:"";}`
 * can anyone please tell me how can i access the name of the image from it (sample.
   png)? like how can i parse this thing using php.
    the ‘s:8’ thing before the 
   image name is unique. Is there a function in php to get it like ‘objectForKey@”
   s:8″‘ ? Please help
 *  Plugin Author [macguru2000](https://wordpress.org/support/users/macguru2000/)
 * (@macguru2000)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-catablog-access-images-directly/#post-2402751)
 * blogatom,
 * The strange format you are unfamiliar with is a serialized PHP array, the notation
   allows PHP to rebuild the object with all it’s variables and data intact. You
   may serialize and un-searlize any data you wish with PHP, look online for more
   information.
 * You may also use the built in WordPress function [get_post_meta](http://codex.wordpress.org/Function_Reference/get_post_meta)
   to get the data array from the database, this will most likely be the most efficient
   method of data retrieval.
 * `<?php get_post_meta(get_the_ID(), 'catablog-post-meta', true); ?>`

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: CataBlog] access images directly’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/catablog_f7f6f7.svg)
 * [CataBlog](https://wordpress.org/plugins/catablog/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/catablog/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/catablog/)
 * [Active Topics](https://wordpress.org/support/plugin/catablog/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/catablog/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/catablog/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [macguru2000](https://wordpress.org/support/users/macguru2000/)
 * Last activity: [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-catablog-access-images-directly/#post-2402751)
 * Status: not a support question