Title: [Plugin: CataBlog] Image linking
Last modified: August 20, 2016

---

# [Plugin: CataBlog] Image linking

 *  Resolved [charloub](https://wordpress.org/support/users/charloub/)
 * (@charloub)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-catablog-image-linking/)
 * Hi am sorry to post here – and I have tried going through the forum here and 
   on your website but I just don’t seem to be able to make the cateblog work the
   way I had hoped.
 * 1. page of images with title.
    2. each image links to a single page with the 
   sub images of the same product and a more detailed description.
 * Right now – when you click on my gallery image – it just shows the lightbox and
   doesn’t go to the detail page.
 * Sorry to be so stupid but could you tell me what I need to do. website is [http://www.tinviennaartplates.com](http://www.tinviennaartplates.com)
 * Many thanks.
 * [http://wordpress.org/extend/plugins/catablog/](http://wordpress.org/extend/plugins/catablog/)

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

 *  Thread Starter [charloub](https://wordpress.org/support/users/charloub/)
 * (@charloub)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-catablog-image-linking/#post-2135187)
 * I think I have it working now – I was not putting the linking in correctly.
 * Now I just have to figure out – how to lay out the sub images on the detail page
   so they show up better…
 * Yes – I will like you on facebook.
 *  Plugin Author [macguru2000](https://wordpress.org/support/users/macguru2000/)
 * (@macguru2000)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-catablog-image-linking/#post-2135333)
 * charloub,
 * If you are displaying the sub images on a “Public” catablog page, meaning your
   page can be rendered from the `catablog-items-single.php` theme file and you 
   are proficient with PHP I have a little tip for you….
 * You can loop through each sub image and render your own sub image code like so:
 *     ```
       <?php $data = get_post_meta(get_the_ID(), 'catablog-post-meta', true); ?>
       <?php $sub_images = $data['sub-images]; ?>
       <?php $path = $wp_plugin_catablog_class->urls['thumbnails'] . "/"; ?>
   
       <?php foreach ($sub_images as $sub_image): ?>
         <img src="<?php echo $path; ?><?php echo $sub_image; ?>" class="catablog-image catablog-subimage" />
       <?php endforeach ?>
       ```
   
 * I hope that helps and also don’t forget to rate CataBlog 🙂

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

The topic ‘[Plugin: CataBlog] Image linking’ 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/)

 * 2 replies
 * 2 participants
 * Last reply from: [macguru2000](https://wordpress.org/support/users/macguru2000/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-catablog-image-linking/#post-2135333)
 * Status: resolved