linking images to their own page
-
Hi all,
I’m trying to link not post_thumbnials, but images that I’m actually inserting in the post. When I put a url in to a link using the “text” view in adding a post, the image disappears when I view the post. I’m pasting in
<?php echo wp_get_attachment_image( $post->ID, 'full' ); ?>
It, doesn’t work. My goal is that the link will take you to a larger version of the image. I don’t want the image to stand alone outside the layout or loop. I was hoping to use the page image.php to accomplish this. I’ve pasted all my page.php code and saved it as image.php but no image shows. In fact, nothing does.
How would I go about doing something like this? Anyone know what I might try?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘linking images to their own page’ is closed to new replies.