Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor photocrati

    (@photocrati)

    @davidchuco – I am not certain what you are trying to describe / display, but have you tried using a gallery within an album within another album where the sub-album uses a “large” thumbnail which would act as the preview to the gallery?

    Thanks!

    – Cais.

    Thread Starter davidchuco

    (@davidchuco)

    hi!

    my problem is simple. Look my code:

    <div class="ngg-albumoverview">
    	<!-- List of galleries -->
    	<?php foreach ($galleries as $gallery) : ?>
    
    	<div class="album-romero">
    			<div class="galeria">
    				<a class="Link" href="<?php echo nextgen_esc_url($gallery->pagelink) ?>">
    					<div class="galeria-title"> <?php echo esc_attr($gallery->title) ?> </div>
    
    					<img class="galeria-img img-responsive" alt="<?php echo esc_attr($gallery->title) ?>" src="<?php echo nextgen_esc_url($gallery->previewurl) ?>"/>
    
    				</a>
    			</div>
            <?php if (!empty($image_gen_params)) {
                $max_width = 'style="max-width: ' . ($image_gen_params['width'] + 20) . 'px"';
            } else {
                $max_width = '';
            } ?>
    
    		<?php if (@$gallery->counter > 0) : ?>
    		<p><strong><?php echo $gallery->counter ?></strong>&nbsp;<?php _e('Photos', 'nggallery') ?></p>
    		<?php endif; ?>
    	</div>
    
     	<?php endforeach; ?>
    
    	<!-- Pagination -->
     	<?php echo $pagination ?>
    
    </div>

    Its a album template. When use $gallery->previewurl my image have size thumbail. I need full size image…

    web -> https://es.tinypic.com/view.php?pic=jt1eee&s=8#.Ux4LC-d5M5A

    thanks!!!!

    Plugin Contributor photocrati

    (@photocrati)

    @davidchuco – You can over-ride the thumbnail size under the Customization panel in the ATP when you are inserting the album … you do not need to modify any code to do that.

    – Cais.

    Thread Starter davidchuco

    (@davidchuco)

    Hi!

    First all, thanks reply!

    I try edit thumbnail but i cant edit with flexibility. Look:

    https://es.tinypic.com/r/x2t8hg/8

    I try select all image, but i cant because the selection mark is square… ??

    Plugin Contributor photocrati

    (@photocrati)

    @davidchuco – That function only modifies what part of the image is used for the thumbnail, not its actual size.

    When using the ATP to insert an album … under the Customization panel you will find an option to over-ride the thumbnail (this is for the preview image to the gallery). See this screen snippet for example:

    https://screencast.com/t/85zY5KEn9

    The image was taken from one of my test sites, don’t mind the “Template” in use as that is not related specifically to this issue.

    Thanks!

    – Cais.

    Thread Starter davidchuco

    (@davidchuco)

    Yeah!!!Perfect!

    Thank you!Nice support

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘gallery – previewurl’ is closed to new replies.