Server IP : 15.235.198.142 / Your IP : 216.73.216.0 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/rhodeworks/wp-content/plugins/nextgen-gallery/templates/Widget/Display/ |
Upload File : |
<?php $controller = new \Imagely\NGG\DisplayType\Controller(); $storage = \Imagely\NGG\DataStorage\Manager::get_instance(); $effect_code = $controller->get_effect_code( $gallery->displayed_gallery ); $settings = $gallery->displayed_gallery->get_entity()->display_settings; echo $settings['widget_setting_before_widget'] . $settings['widget_setting_before_title'] . $settings['widget_setting_title'] . $settings['widget_setting_after_title']; ?> <?php // keep the following a/img on the same line ?> <div class="ngg-widget entry-content"> <?php foreach ( $images as $image ) { ?> <a href="<?php echo esc_attr( $storage->get_image_url( $image, 'full', true ) ); ?>" title="<?php echo esc_attr( $image->description ); ?>" data-image-id='<?php echo esc_attr( $image->pid ); ?>' <?php echo $effect_code; ?> ><img title="<?php echo esc_attr( \Imagely\NGG\Display\I18N::ngg_plain_text_alt_title_attributes( $image->alttext ) ); ?>" alt="<?php echo esc_attr( \Imagely\NGG\Display\I18N::ngg_plain_text_alt_title_attributes( $image->alttext ) ); ?>" src="<?php echo esc_attr( $storage->get_image_url( $image, $settings['image_type'], true ) ); ?>" width="<?php echo esc_attr( $settings['image_width'] ); ?>" height="<?php echo esc_attr( $settings['image_height'] ); ?>" /></a> <?php } ?> </div> <?php echo $settings['widget_setting_after_widget']; ?>