these two:
– delete originals
– compress ratio
are applied actually only when a resize is done. Is there a way to process ALL images and:
– delete originals (even if the image is not supposed to be resized, because it fits in the limits)
– rewrite the image (to apply the lower set image quality, even if the image is not supposed to be resized, because it fits in the limits). Ideally here the rewrite should be done to a temp file, compare sizes and rewrite only if it is in specific threshold of optimized size (i.e. if the size of the file becomes greater, or lower but w/o a big difference, to ignore the rewrite process).
https://www.ads-software.com/plugins/ml-slider/
]]>https://www.ads-software.com/plugins/wp-media-library-categories/
]]>My boss has asked if we can do this and i cant find anything. We dont want an albums page just all of the pictures in nextgen to display randomly on one page.
https://www.ads-software.com/plugins/nextgen-gallery/
]]>https://www.ads-software.com/plugins/jquery-pin-it-button-for-images/
]]>https://www.ads-software.com/plugins/bp-album/
]]>For example, place a div on top of all your images uploaded during the liveblog ..
Is how to do this?
I am new to php, sorry for the inconvenience ..
https://www.ads-software.com/extend/plugins/liveblog/
]]>In this case I am trying to:
1. query for all posts that have a certain taxonomy ( in this case: projects )
2. then show all of the attached images from ALL these posts in a slideshow
This is what I have so far, which so far is only successful in getting the post_thumbnail:
<!-- featured slides for the projects -->
<ul id="featured_slides" class="rslides">
<?php
$related_project_posts = array(
'posts_per_page' => -1,
'post_type' => 'post',
'nopaging' => true,
'suppress_filters' => false, // this argument is required for CPT-onomies
'tax_query' => array(
array(
'taxonomy'=>'projects',
'terms' => get_the_ID(),
'field' => 'slug'
)),
);
// print_r($related_project_posts);
$postslist = get_posts( $related_project_posts );
foreach ($postslist as $post) : setup_postdata($post); ?>
<li><a href="<?php the_permalink();?>"><?php the_post_thumbnail( 'grid_16_landscape' ); ?></a></li>
<?php endforeach; ?>
</ul><!-- featured_slides grid_16 //-->
]]>I’m really happy with your premium version of the optimiser plugin, it’s fantastic!
One last question to get the site completely up to date – I’m displaying 12 images/page (in gallery matrix view) but I want to be able to click through ALL the images in the gallery without closing, when I preview the larger image in fancybox. Right now, when you reach the 12th photo on a page, you have to click out of fancybox and go to the next gallery page to see the next image.
Is this possible? How would you do this, if so? Sorry to be a pain; have tried googling the question, but to no avail :S
Thanks again for all your help to date
https://www.ads-software.com/extend/plugins/nextgen-gallery-optimizer/
]]>Loading all images in the modal window in NextGEN gallery (in NGG>options) works, except when used in combination with Colorbox and NGG gallery pagination. It makes it very annoying to have to leave the colorbox, go to page 2 and re-open the colorbox.
In order to have gallery pagination enabled but still all the images loaded in the modal window / colorbox, a fix is needed.
The fix proposed in the thread above could be improved in several ways (and work with no change to the display – Mattki wants only ONE thumbnail to show and to link to the whole gallery. Here is what I have done (and it works) :
Diagnosis : checking with firebug shows that the ‘hidden’ images links are loaded, but not the <img/> tags themselves contained within. So I added a quick check (using if) and add ‘display:none’ for the img tags of the hidden images.
Steps : create a copy of /plugins/nextgen-gallery/view/gallery.php into your child-theme in /nggallery/gallery.php (no need to rename it, hence there will be no need to change the shortcode in the posts/pages).
in line 42 (the editing of the link), change this part
<a href="<?php echo $image->imageURL ?>" title="<?php echo $image->description ?>" <?php echo $image->thumbcode ?> >
<?php if ( !$image->hidden ) { ?>
<img title="<?php echo $image->alttext ?>" alt="<?php echo $image->alttext ?>" src="<?php echo $image->thumbnailURL ?>" <?php echo $image->size ?> />
<?php } ?>
</a>
into
<a href="<?php echo $image->imageURL ?>" title="<?php echo $image->description ?>" <?php echo $image->thumbcode ?> >
<?php if ( !$image->hidden ) { ?>
<img title="<?php echo $image->alttext ?>" alt="<?php echo $image->alttext ?>" src="<?php echo $image->thumbnailURL ?>" <?php echo $image->size ?> />
<?php } ?>
<?php if ( $image->hidden ) { ?>
<img title="<?php echo $image->alttext ?>" alt="<?php echo $image->alttext ?>" src="<?php echo $image->thumbnailURL ?>" <?php echo $image->size ?> style="display:none;"/>
<?php } ?>
</a>
See the result here : https://xiaowei.fr/en/landscapes/
There will be no problem when upgrading the plugin as this file is in the child theme. The name is the same as the original one, so the shortcode will be the same.
NB: there is no manual addition of class=colorbox-XX so this fix should work for other lightbox plugins as well (unlike the fix mentionned by Mattki)
using WP 3.4.1, NextGEN 1.9.6, Suffusion theme 4.3.0, qTranslate 2.5.31 (& qTranslate slug), and 10 other plugins.
Hope this can help some ! Perhaps a WP moderator can add a link to this thread on the other one (where many searches about this bug end up)
https://www.ads-software.com/extend/plugins/jquery-colorbox/
]]>