GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Strip/image.php at master · YJPL/Strip

This repository was archived by the owner on Sep 17, 2026. It is now read-only.

Expand file tree

/

image.php

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
69 lines (53 loc) · 1.82 KB
/

image.php

Copy path

File metadata and controls

69 lines (53 loc) · 1.82 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<?php
/**
* The template for displaying image attachments
*
* @package WordPress
* @subpackage Strip
*/
get_header( 'lite' );
?>
<div id="primary" class="content-area image-attachment">
<div id="content" class="site-content" role="main">
<?php
// Start the loop.
while ( have_posts() ) :
the_post(); ?>
<article id="post-<?php the_ID(); ?>">
<div class="wrap">
<div class="entry-attachment">
<?php
/**
* Filter the default strip image attachment size.
*
* @since strip 2.5.0
*
* @param string $image_size Image size. Default 'full'.
*/
$image_size = apply_filters( 'strip_attachment_size', 'full' );
echo wp_get_attachment_image( get_the_ID(), $image_size );
?>
</div><!-- .entry-attachment -->
<?php // image navigation. ?>
<nav role="navigation" id="image-navigation" class="image-navigation">
<div class="previous"><?php previous_image_link( false, __( '<span class="meta-nav">&larr;</span> <span class="text-nav">Previous panel</span>', 'strip' ) ); ?></div>
<div class="next"><?php next_image_link( false, __( '<span class="meta-nav">&rarr;</span> <span class="text-nav">Next panel</span>', 'strip' ) ); ?></div>
<nav class="post-parent-title">
<?php printf( '<a href="%s" class="post-parent-title">%s</a>',
esc_url( get_permalink( $post->post_parent ) ),
esc_html( get_the_title( $post->post_parent ) )
); ?>
</nav>
</nav><!-- #image-navigation -->
<?php if ( has_excerpt() ) : ?>
<div class="entry-caption">
<?php the_excerpt(); ?>
</div><!-- .entry-caption -->
<?php endif; ?>
</div><!-- .entry-content -->
</div><!-- .entry-wrap -->
</article><!-- #post-## -->
<?php endwhile; // end of the loop. ?>
</div><!-- #content -->
</div><!-- #primary -->
<?php get_footer( 'lite' ); ?>
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.