PluginProbe ʕ •ᴥ•ʔ
Photo Gallery by FooGallery : Responsive Image Gallery, Masonry Gallery & Carousel / trunk
Photo Gallery by FooGallery : Responsive Image Gallery, Masonry Gallery & Carousel vtrunk
trunk 1.10.3 2.0.24 2.1.34 2.2.44 2.3.3 2.4.32 3.0.6 3.1.11 3.1.12 3.1.13 3.1.20 3.1.25 3.1.26 3.1.26.1 3.1.26.2
foogallery / includes / admin / view-help-demos.php
foogallery / includes / admin Last commit date
class-admin-notice-custom-css.php 7 months ago class-admin-notices.php 7 months ago class-admin.php 7 months ago class-attachment-fields.php 7 months ago class-columns.php 7 months ago class-demo-content.php 7 months ago class-extensions.php 7 months ago class-gallery-attachment-modal.php 7 months ago class-gallery-datasources.php 7 months ago class-gallery-editor.php 7 months ago class-gallery-metabox-fields.php 7 months ago class-gallery-metabox-items.php 7 months ago class-gallery-metabox-settings-helper.php 7 months ago class-gallery-metabox-settings.php 7 months ago class-gallery-metabox-template.php 7 months ago class-gallery-metaboxes.php 7 months ago class-menu.php 7 months ago class-pro-promotion.php 7 months ago class-settings.php 7 months ago class-silent-installer-skin.php 7 months ago class-trial-mode.php 7 months ago demo-content-galleries.php 7 months ago demo-content-images.php 7 months ago index.php 11 years ago pro-features.php 7 months ago view-features.php 7 months ago view-help-demos.php 7 months ago view-help-getting-started.php 7 months ago view-help-pro.php 7 months ago view-help.php 7 months ago view-system-info.php 7 months ago
view-help-demos.php
205 lines
1 <?php
2
3 function foogallery_admin_help_demo_item( $seed, $width, $height, $title, $desc, $href ) {
4 $placeholder = foogallery_get_svg_placeholder_image( $width, $height );
5 ?><div class="fg-item fg-type-image fg-idle">
6 <figure class="fg-item-inner">
7 <a class="fg-thumb"
8 href="<?php echo esc_url( $href ); ?>"
9 data-type="image"
10 data-title="<?php echo esc_attr( $title ); ?>"
11 data-description="<?php echo esc_attr( $desc ); ?>">
12 <span class="fg-image-wrap">
13 <img class="fg-image"
14 src="<?php echo esc_url( $placeholder ); ?>"
15 data-src-fg="https://picsum.photos/seed/<?php echo esc_attr( $seed ); ?>/<?php echo esc_attr( $width ); ?>/<?php echo esc_attr( $height ); ?>"
16 data-srcset-fg="https://picsum.photos/seed/<?php echo esc_attr( $seed ); ?>/<?php echo absint( $width * 2 ); ?>/<?php echo absint( $height * 2 ); ?> 2x"
17 width="<?php echo esc_attr( $width ); ?>"
18 height="<?php echo esc_attr( $height ); ?>"
19 title="<?php echo esc_attr( $title ); ?>"
20 alt="<?php echo esc_attr( $desc ); ?>">
21 </span>
22 <span class="fg-image-overlay"></span>
23 </a>
24 <figcaption class="fg-caption">
25 <div class="fg-caption-inner">
26 <div class="fg-caption-title"><?php echo esc_html( $title ); ?></div>
27 <?php if ( !empty( $desc ) ) {?>
28 <div class="fg-caption-desc"><?php echo esc_html( $desc ); ?></div>
29 <?php } ?>
30 </div>
31 </figcaption>
32 </figure>
33 <div class="fg-loader"></div>
34 </div>
35 <?php
36 }
37
38 ?>
39
40 <div id="demos_section" class="foogallery-admin-help-section fgah-demo" style="display: none">
41 <header>
42 <h3><?php esc_html_e( 'Gallery Demos 😎', 'foogallery' );?></h3>
43 <p><?php esc_html_e( 'Select a demo below to see it in action!', 'foogallery' ); ?></p>
44 <a href="#foogallery-admin-help-demo-1" class="foogallery-admin-help-demo foogallery-admin-help-button foogallery-admin-help-button-active"><?php esc_html_e( 'Default', 'foogallery' ); ?></a>
45 <a href="#foogallery-admin-help-demo-2" class="foogallery-admin-help-demo foogallery-admin-help-button"><?php esc_html_e( 'Masonry', 'foogallery' ); ?></a>
46 <a href="#foogallery-admin-help-demo-3" class="foogallery-admin-help-demo foogallery-admin-help-button"><?php esc_html_e( 'Image Viewer', 'foogallery' ); ?></a>
47 <a href="#foogallery-admin-help-demo-4" class="foogallery-admin-help-demo foogallery-admin-help-button"><?php esc_html_e( 'Justified', 'foogallery' ); ?></a>
48 <a href="#foogallery-admin-help-demo-5" class="foogallery-admin-help-demo foogallery-admin-help-button"><?php esc_html_e( 'Simple Portfolio', 'foogallery' ); ?></a>
49 <a href="#foogallery-admin-help-demo-6" class="foogallery-admin-help-demo foogallery-admin-help-button"><?php esc_html_e( 'Carousel', 'foogallery' ); ?></a>
50 <a href="<?php echo esc_url( foogallery_admin_url( 'https://fooplugins.com/foogallery-wordpress-gallery-plugin/demos/', 'help' ) ); ?>" target="_blank" class="foogallery-admin-help-button"><?php esc_html_e( 'More Demos', 'foogallery' ); ?><i class="dashicons dashicons-external"></i></a>
51 </header>
52
53 <div id="foogallery-admin-help-demo-1" class="foogallery-admin-help-demo-content">
54 <header class="foogallery-admin-help-header">
55 <h3 id="default_demo"><?php esc_html_e( 'Default Responsive Gallery Demo', 'foogallery' );?></h3>
56 <p><?php esc_html_e( 'Our default responsive gallery template. You have full control over the image border, captions and hover effects. This demo has a thin white border with a small gutter. An icon and the captions are shown on hover. There is also a dark tint and zoom hover effect.', 'foogallery' );?></p>
57 </header>
58
59 <div id="foogallery-gallery-0" class="foogallery fg-default fg-center fg-hover-zoomed-semi fg-gutter-10 fg-m-col2 fg-loading-default fg-loaded-fade-in fg-light fg-shadow-inset-small fg-caption-hover fg-hover-fade fg-hover-zoom4"
60 data-foogallery="{&quot;lazy&quot;:true}">
61
62 <?php foogallery_admin_help_demo_item( '001', 250, 200, 'Lorem Ipsum' , '', '#default_demo' ); ?>
63 <?php foogallery_admin_help_demo_item( '016', 250, 200, 'Dolor Sit Amet' , 'Donec velit neque, auctor sit amet aliquam vel, ullamcorper sit amet ligula.', '#default_demo' ); ?>
64 <?php foogallery_admin_help_demo_item( '003', 250, 200, 'Nulla Quis Lorem' , 'Quisque velit nisi, pretium ut lacinia in, elementum id enim. Quisque velit nisi.', '#default_demo' ); ?>
65 <?php foogallery_admin_help_demo_item( '009', 250, 200, 'Quisque ut Libero' , 'Pellentesque in ipsum id orci porta dapibus. Curabitur arcu erat.', '#default_demo' ); ?>
66 <?php foogallery_admin_help_demo_item( '005', 250, 200, 'Velit Nisi' , 'Vestibulum ac diam sit amet quam vehicula elementum sed sit amet dui.', '#default_demo' ); ?>
67 <?php foogallery_admin_help_demo_item( '006', 250, 200, 'Vivamus Magna' , 'Praesent sapien massa, convallis a pellentesque nec, egestas non nisi.', '#default_demo' ); ?>
68 <?php foogallery_admin_help_demo_item( '014', 250, 200, 'Lacinia Eget' , 'Curabitur arcu erat, accumsan id imperdiet et, porttitor at sem.', '#default_demo' ); ?>
69 <?php foogallery_admin_help_demo_item( '012', 250, 200, 'Consectetur Sed' , 'Donec velit neque, auctor sit amet aliquam vel, ullamcorper sit amet ligula.', '#default_demo' ); ?>
70
71 </div>
72 </div>
73
74 <div id="foogallery-admin-help-demo-2" class="foogallery-admin-help-demo-content" style="display: none">
75 <header class="foogallery-admin-help-header">
76 <h3 id="masonry_demo"><?php esc_html_e( 'Masonry Demo', 'foogallery' );?></h3>
77 <p><?php esc_html_e( 'A masonry-style gallery template, which keeps all images at a constant width while packing them in to best fill the space. This demo has a thin white border and captions are below the image. Images also have hover effects.', 'foogallery' );?></p>
78 </header>
79 <style>
80 #foogallery-gallery-1.fg-masonry .fg-item {
81 width: 200px;
82 margin-right: 10px;
83 margin-bottom: 10px;
84 }
85 </style>
86 <div id="foogallery-gallery-1" class="foogallery fg-center fg-masonry fg-light fg-border-thin fg-shadow-small fg-loading-default fg-loaded-fade-in fg-hover-eye fg-captions-bottom fg-hover-fade fg-hover-plus fg-ready fg-fixed"
87 data-foogallery="{&quot;item&quot;:{&quot;showCaptionTitle&quot;:true,&quot;showCaptionDescription&quot;:true},&quot;lazy&quot;:true,&quot;template&quot;:{&quot;columnWidth&quot;:200,&quot;gutter&quot;:10}}">
88 <div class="fg-column-width"></div>
89 <div class="fg-gutter-width"></div>
90
91 <?php foogallery_admin_help_demo_item( '1', 200, 300, 'Lorem Ipsum' , 'Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae', '#masonry_demo' ); ?>
92 <?php foogallery_admin_help_demo_item( '4', 200, 200, 'Dolor Sit Amet' , 'Donec velit neque, auctor sit amet aliquam vel, ullamcorper sit amet ligula. Donec sollicitudin molestie malesuada.', '#masonry_demo' ); ?>
93 <?php foogallery_admin_help_demo_item( '6', 200, 250, 'Nulla Quis Lorem' , 'Quisque velit nisi, pretium ut lacinia in, elementum id enim. Quisque velit nisi, pretium ut lacinia in, elementum id enim.', '#masonry_demo' ); ?>
94 <?php foogallery_admin_help_demo_item( '9', 200, 220, 'Quisque ut Libero' , 'Pellentesque in ipsum id orci porta dapibus. Curabitur arcu erat, accumsan id imperdiet et, porttitor at sem.', '#masonry_demo' ); ?>
95 <?php foogallery_admin_help_demo_item( '16', 200, 250, 'Velit Nisi' , 'Vestibulum ac diam sit amet quam vehicula elementum sed sit amet dui. Vivamus magna justo, lacinia eget consectetur sed, convallis at tellus.', '#masonry_demo' ); ?>
96 <?php foogallery_admin_help_demo_item( '15', 200, 300, 'Vivamus Magna' , 'Praesent sapien massa, convallis a pellentesque nec, egestas non nisi.', '#masonry_demo' ); ?>
97 <?php foogallery_admin_help_demo_item( '12', 200, 150, 'Lacinia Eget' , 'Curabitur arcu erat, accumsan id imperdiet et, porttitor at sem. Vestibulum ante ipsum primis in faucibus orci luctus.', '#masonry_demo' ); ?>
98 <?php foogallery_admin_help_demo_item( '13', 200, 200, 'Consectetur Sed' , 'Donec velit neque, auctor sit amet aliquam vel, ullamcorper sit amet ligula.', '#masonry_demo' ); ?>
99
100 </div>
101 </div>
102
103 <div id="foogallery-admin-help-demo-3" class="foogallery-admin-help-demo-content" style="display: none">
104 <header class="foogallery-admin-help-header">
105 <h3 id="iv_demo"><?php esc_html_e( 'Image Viewer Demo', 'foogallery' );?></h3>
106 <p><?php esc_html_e( 'Our image viewer gallery template, which showcases a single image at a time. In this demo, captions are always shown, and a white hover effect is also enabled.', 'foogallery' );?></p>
107 </header>
108 <div id="foogallery-gallery-2" class="foogallery foogallery-link-image fg-center fg-image-viewer fg-light fg-border-thin fg-shadow-outline fg-loading-default fg-loaded-fade-in fg-caption-always fg-hover-fade fg-hover-zoom fg-ready fg-light-overlays fg-round-small"
109 data-foogallery="{&quot;item&quot;:{&quot;showCaptionTitle&quot;:true,&quot;showCaptionDescription&quot;:true},&quot;lazy&quot;:true,&quot;template&quot;:{&quot;loop&quot;:true}}">
110 <div class="fiv-inner">
111 <div class="fiv-inner-container">
112 <?php foogallery_admin_help_demo_item( '21', 500, 400, 'Lorem Ipsum' , 'Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae', '#iv_demo' ); ?>
113 <?php foogallery_admin_help_demo_item( '24', 500, 400, 'Dolor Sit Amet' , 'Donec velit neque, auctor sit amet aliquam vel, ullamcorper sit amet ligula. Donec sollicitudin molestie malesuada.', '#iv_demo' ); ?>
114 <?php foogallery_admin_help_demo_item( '26', 500, 400, 'Nulla Quis Lorem' , 'Quisque velit nisi, pretium ut lacinia in, elementum id enim. Quisque velit nisi, pretium ut lacinia in, elementum id enim.', '#iv_demo' ); ?>
115 <?php foogallery_admin_help_demo_item( '29', 500, 400, 'Quisque ut Libero' , 'Pellentesque in ipsum id orci porta dapibus. Curabitur arcu erat, accumsan id imperdiet et, porttitor at sem.', '#iv_demo' ); ?>
116 <?php foogallery_admin_help_demo_item( '216', 500, 400, 'Velit Nisi' , 'Vestibulum ac diam sit amet quam vehicula elementum sed sit amet dui. Vivamus magna justo, lacinia eget consectetur sed, convallis at tellus.', '#iv_demo' ); ?>
117 </div>
118 <div class="fiv-ctrls">
119 <div class="fiv-prev"><span>Prev</span></div>
120 <label class="fiv-count"><span class="fiv-count-current">1</span>of<span class="fiv-count-total">5</span></label>
121 <div class="fiv-next"><span>Next</span></div>
122 </div>
123 </div>
124 </div>
125 </div>
126
127 <div id="foogallery-admin-help-demo-4" class="foogallery-admin-help-demo-content" style="display: none">
128 <header class="foogallery-admin-help-header">
129 <h3 id="justified_demo"><?php esc_html_e( 'Justified Demo', 'foogallery' );?></h3>
130 <p><?php esc_html_e( 'A justified gallery template, where the images have a similar height. This demo has no image borders, the captions are always visible and overlaid on top of the images. There is also a simple hover effect.', 'foogallery' );?></p>
131 </header>
132 <style>
133 #foogallery-gallery-3.fg-justified .fg-item {
134 margin-right: 1px;
135 margin-bottom: 1px;
136 }
137 #foogallery-gallery-3.fg-justified .fg-image {
138 height: 200px;
139 }
140 </style>
141 <div id="foogallery-gallery-3" class="foogallery foogallery-container foogallery-justified foogallery-lightbox-foogallery fg-justified fg-dark fg-loading-default fg-loaded-fade-in fg-caption-always fg-hover-fade fg-hover-zoom2 fg-ready"
142 data-foogallery="{&quot;item&quot;:{&quot;showCaptionTitle&quot;:true,&quot;showCaptionDescription&quot;:false},&quot;lazy&quot;:true,&quot;template&quot;:{&quot;rowHeight&quot;:200,&quot;maxRowHeight&quot;:250,&quot;margins&quot;:1,&quot;align&quot;:&quot;center&quot;}}">
143 <div class="fg-column-width"></div>
144 <div class="fg-gutter-width"></div>
145
146 <?php foogallery_admin_help_demo_item( '31', 300, 250, 'Lorem Ipsum' , '', '#justified_demo' ); ?>
147 <?php foogallery_admin_help_demo_item( '32', 150, 250, 'Dolor Sit Amet' , '', '#justified_demo' ); ?>
148 <?php foogallery_admin_help_demo_item( '34', 200, 250, 'Nulla Quis Lorem' , '', '#justified_demo' ); ?>
149 <?php foogallery_admin_help_demo_item( '37', 220, 250, 'Quisque ut Libero' , '', '#justified_demo' ); ?>
150 <?php foogallery_admin_help_demo_item( '38', 250, 250, 'Velit Nisi' , '', '#justified_demo' ); ?>
151 <?php foogallery_admin_help_demo_item( '39', 180, 250, 'Vivamus Magna' , '', '#justified_demo' ); ?>
152 <?php foogallery_admin_help_demo_item( '310', 350, 250, 'Lacinia Eget' , '', '#justified_demo' ); ?>
153 <?php foogallery_admin_help_demo_item( '313', 250, 250, 'Consectetur Sed' , '', '#justified_demo' ); ?>
154 <?php foogallery_admin_help_demo_item( '314', 320, 250, 'Nisi Magna' , '', '#justified_demo' ); ?>
155 </div>
156 </div>
157
158 <div id="foogallery-admin-help-demo-5" class="foogallery-admin-help-demo-content" style="display: none">
159 <header class="foogallery-admin-help-header">
160 <h3 id="portfolio_demo"><?php esc_html_e( 'Simple Portfolio Gallery Demo', 'foogallery' );?></h3>
161 <p><?php esc_html_e( 'A portfolio gallery template that keeps all items in a row at the same height. Captions are visible below the images and centered.', 'foogallery' );?></p>
162 </header>
163 <style>
164 #foogallery-gallery-4.fg-simple_portfolio {
165 justify-content: center;
166 }
167 #foogallery-gallery-4.fg-simple_portfolio .fg-item {
168 flex-basis: 250px;
169 margin: 5px;
170 }
171 </style>
172 <div id="foogallery-gallery-4" class="foogallery foogallery-container foogallery-simple_portfolio foogallery-lightbox-foogallery fg-simple_portfolio fg-light fg-border-thin fg-shadow-outline fg-loading-default fg-loaded-fade-in fg-caption-always fg-hover-fade fg-hover-zoom fg-c-c fg-ready fg-caption-always"
173 data-foogallery="{&quot;item&quot;:{&quot;showCaptionTitle&quot;:true,&quot;showCaptionDescription&quot;:true},&quot;lazy&quot;:true}">
174 <?php foogallery_admin_help_demo_item( '41', 250, 200, 'Lorem Ipsum' , 'Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae', '#portfolio_demo' ); ?>
175 <?php foogallery_admin_help_demo_item( '42', 250, 200, 'Dolor Sit Amet' , 'Donec velit neque, auctor sit amet aliquam vel, ullamcorper sit amet ligula. Donec sollicitudin molestie malesuada.', '#portfolio_demo' ); ?>
176 <?php foogallery_admin_help_demo_item( '44', 250, 200, 'Nulla Quis Lorem' , 'Quisque velit nisi, pretium ut lacinia in, elementum id enim. Quisque velit nisi, pretium ut lacinia in, elementum id enim.', '#portfolio_demo' ); ?>
177 <?php foogallery_admin_help_demo_item( '45', 250, 200, 'Quisque ut Libero' , 'Pellentesque in ipsum id orci porta dapibus. Curabitur arcu erat, accumsan id imperdiet et, porttitor at sem.', '#portfolio_demo' ); ?>
178 <?php foogallery_admin_help_demo_item( '46', 250, 200, 'Velit Nisi' , 'Vestibulum ac diam sit amet quam vehicula elementum sed sit amet dui. Vivamus magna justo, lacinia eget consectetur sed, convallis at tellus.', '#portfolio_demo' ); ?>
179 <?php foogallery_admin_help_demo_item( '47', 250, 200, 'Quis Dolor' , 'Curabitur arcu erat, accumsan id imperdiet et. Vestibulum ac diam sit amet.', '#portfolio_demo' ); ?>
180 </div>
181 </div>
182
183 <div id="foogallery-admin-help-demo-6" class="foogallery-admin-help-demo-content" style="display: none">
184 <header class="foogallery-admin-help-header">
185 <h3 id="portfolio_demo"><?php esc_html_e( 'Carousel Gallery Demo', 'foogallery' );?></h3>
186 <p><?php esc_html_e( 'A responsive carousel gallery allows you to showcase your images in a single row.', 'foogallery' );?></p>
187 </header>
188 <div id="foogallery-gallery-5" class="foogallery foogallery-container foogallery-carousel foogallery-lightbox-foogallery fg-carousel fg-light fg-border-thin fg-shadow-outline fg-loading-default fg-loaded-fade-in fg-hover-fade fg-hover-zoom fg-c-c fg-ready"
189 data-foogallery="{&quot;item&quot;:{&quot;showCaptionTitle&quot;:true,&quot;showCaptionDescription&quot;:false},&quot;lazy&quot;:true,&quot;template&quot;:{&quot;maxItems&quot;:5,&quot;scale&quot;:0.12,&quot;gutter&quot;:{&quot;min&quot;:-40,&quot;max&quot;:-20,&quot;unit&quot;:&quot;%&quot;},&quot;autoplay&quot;:{&quot;time&quot;:6,&quot;interaction&quot;:&quot;pause&quot;},&quot;centerOnClick&quot;:true}}">
190 <button type="button" class="fg-carousel-prev"></button>
191 <div class="fg-carousel-inner">
192 <div class="fg-carousel-center"></div>
193 <?php foogallery_admin_help_demo_item( '48', 250, 200, 'Lorem Ipsum' , 'Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae', '#portfolio_demo' ); ?>
194 <?php foogallery_admin_help_demo_item( '49', 250, 200, 'Dolor Sit Amet' , 'Donec velit neque, auctor sit amet aliquam vel, ullamcorper sit amet ligula. Donec sollicitudin molestie malesuada.', '#carousel_demo' ); ?>
195 <?php foogallery_admin_help_demo_item( '50', 250, 200, 'Nulla Quis Lorem' , 'Quisque velit nisi, pretium ut lacinia in, elementum id enim. Quisque velit nisi, pretium ut lacinia in, elementum id enim.', '#carousel_demo' ); ?>
196 <?php foogallery_admin_help_demo_item( '51', 250, 200, 'Quisque ut Libero' , 'Pellentesque in ipsum id orci porta dapibus. Curabitur arcu erat, accumsan id imperdiet et, porttitor at sem.', '#carousel_demo' ); ?>
197 <?php foogallery_admin_help_demo_item( '52', 250, 200, 'Velit Nisi' , 'Vestibulum ac diam sit amet quam vehicula elementum sed sit amet dui. Vivamus magna justo, lacinia eget consectetur sed, convallis at tellus.', '#carousel_demo' ); ?>
198 <?php foogallery_admin_help_demo_item( '53', 250, 200, 'Quis Dolor' , 'Curabitur arcu erat, accumsan id imperdiet et. Vestibulum ac diam sit amet.', '#carousel_demo' ); ?>
199 </div>
200 <div class="fg-carousel-bottom"></div>
201 <div class="fg-carousel-progress"></div>
202 <button type="button" class="fg-carousel-next"></button>
203 </div>
204 </div>
205 </div>