Title: Image coding hack? gallery? How to?
Last modified: August 19, 2016

---

# Image coding hack? gallery? How to?

 *  [carldesigns](https://wordpress.org/support/users/carldesigns/)
 * (@carldesigns)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/image-coding-hack-gallery-how-to/)
 * I am looking to do this…
 * first take a look at [http://carldesigns.net/stylist/category/jane-doe/](http://carldesigns.net/stylist/category/jane-doe/)
 * you will notice that you see a large image that is listed in its category..
 * Below I would like all the Images to be from other post in the same category 
   only.
 * So if the big picture and that current page is category jane doe, I want all 
   the images below be images from category jane doe posts and to link to those 
   post..
 * Do i need a child category? How do I accomplish this..
 * This is the current code
 *     ```
       <?php $recent = new WP_Query("showposts=10"); while($recent->have_posts()) : $recent->the_post();?>
       		<a href="<?php the_permalink() ?>"><img style="float:left; margin:0px 10px 20px 0px; width:75px;height:50px;" src="<?php echo get_post_meta($post->ID, "image", true); ?>" alt="<?php the_title(); ?>" /></a>
       ```
   
 * Hope this makes sense and hope some one can help out this this?
 * Thanks in advance.

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

 *  Thread Starter [carldesigns](https://wordpress.org/support/users/carldesigns/)
 * (@carldesigns)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/image-coding-hack-gallery-how-to/#post-1152982)
 * bump
 *  Thread Starter [carldesigns](https://wordpress.org/support/users/carldesigns/)
 * (@carldesigns)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/image-coding-hack-gallery-how-to/#post-1152999)
 * ?
 *  Thread Starter [carldesigns](https://wordpress.org/support/users/carldesigns/)
 * (@carldesigns)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/image-coding-hack-gallery-how-to/#post-1153027)
 * back to the top….
 *  Thread Starter [carldesigns](https://wordpress.org/support/users/carldesigns/)
 * (@carldesigns)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/image-coding-hack-gallery-how-to/#post-1153037)
 * bump again? Any one?

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

The topic ‘Image coding hack? gallery? How to?’ is closed to new replies.

## Tags

 * [gallery](https://wordpress.org/support/topic-tag/gallery/)
 * [images](https://wordpress.org/support/topic-tag/images/)

 * 4 replies
 * 1 participant
 * Last reply from: [carldesigns](https://wordpress.org/support/users/carldesigns/)
 * Last activity: [16 years, 10 months ago](https://wordpress.org/support/topic/image-coding-hack-gallery-how-to/#post-1153037)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
