Title: aurelienpierre's Replies | WordPress.org

---

# aurelienpierre

  [  ](https://wordpress.org/support/users/aurelienpierre/)

 *   [Profile](https://wordpress.org/support/users/aurelienpierre/)
 *   [Topics Started](https://wordpress.org/support/users/aurelienpierre/topics/)
 *   [Replies Created](https://wordpress.org/support/users/aurelienpierre/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/aurelienpierre/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/aurelienpierre/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/aurelienpierre/engagements/)
 *   [Favorites](https://wordpress.org/support/users/aurelienpierre/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 21 total)

1 [2](https://wordpress.org/support/users/aurelienpierre/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/aurelienpierre/replies/page/2/?output_format=md)

 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[ImageMagick Engine] Simple, functional](https://wordpress.org/support/topic/simple-functional-18/)
 *  Thread Starter [aurelienpierre](https://wordpress.org/support/users/aurelienpierre/)
 * (@aurelienpierre)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/simple-functional-18/#post-14934985)
 * Hi,
 * I have not checked how it works but it seems that the regeneration needs to keep
   the web page open, which may indicate the process is updated from the client 
   browser or something. If that’s the case, it could be run straight in CLI mode
   entirely from the server.
 * Also, on one website, I’m running into the same issue as [https://wordpress.org/support/topic/image-regeneration-stops-at-9/](https://wordpress.org/support/topic/image-regeneration-stops-at-9/),
   though it stops at 13%. I don’t think the server is to blame since it’s a WordPress
   multisite install and all the other sites work, but maybe there is a picture 
   in the collection that Image Magick doesn’t like at all. I have seen no log, 
   though.
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Thumbnail quality for WebP images](https://wordpress.org/support/topic/thumbnail-quality-for-webp-images/)
 *  Thread Starter [aurelienpierre](https://wordpress.org/support/users/aurelienpierre/)
 * (@aurelienpierre)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/thumbnail-quality-for-webp-images/#post-14931890)
 * I have been an user of 3 of the described plugins in the past, and I’m specifically
   trying to fly away from all this bloatware madness. I’m looking for a couple 
   of lines of PHP to save me from dozens of useless options and weird bugs by unplanned
   interactions.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photographers galleries] Bug in php function](https://wordpress.org/support/topic/bug-in-php-function/)
 *  Plugin Author [aurelienpierre](https://wordpress.org/support/users/aurelienpierre/)
 * (@aurelienpierre)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/bug-in-php-function/#post-14914542)
 * Dead topic, no answer.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photographers galleries] Bug in php function](https://wordpress.org/support/topic/bug-in-php-function/)
 *  Plugin Author [aurelienpierre](https://wordpress.org/support/users/aurelienpierre/)
 * (@aurelienpierre)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/bug-in-php-function/#post-14749209)
 * [@akissz](https://wordpress.org/support/users/akissz/) Can you check if the latest
   update fixed it ?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photographers galleries] Bug in php function](https://wordpress.org/support/topic/bug-in-php-function/)
 *  Plugin Author [aurelienpierre](https://wordpress.org/support/users/aurelienpierre/)
 * (@aurelienpierre)
 * [4 years, 12 months ago](https://wordpress.org/support/topic/bug-in-php-function/#post-14710869)
 * Can you download [https://github.com/aurelienpierre/wp-photographers-galleries/releases/tag/1.0.3](https://github.com/aurelienpierre/wp-photographers-galleries/releases/tag/1.0.3)
   and report ? If that behaves well, I will push the change in WP extensions repository.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photographers galleries] Bug in php function](https://wordpress.org/support/topic/bug-in-php-function/)
 *  Plugin Author [aurelienpierre](https://wordpress.org/support/users/aurelienpierre/)
 * (@aurelienpierre)
 * [4 years, 12 months ago](https://wordpress.org/support/topic/bug-in-php-function/#post-14710790)
 * I did a test and it seems that the functions between lines 109 and 153 are not
   needed anymore, WordPress automatically adds the metaboxes to the media GUI for
   all taxinomies.
 * I will remove them and post an update, then we will see…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photographers galleries] Bug in php function](https://wordpress.org/support/topic/bug-in-php-function/)
 *  Plugin Author [aurelienpierre](https://wordpress.org/support/users/aurelienpierre/)
 * (@aurelienpierre)
 * [4 years, 12 months ago](https://wordpress.org/support/topic/bug-in-php-function/#post-14701284)
 * Ok, I tested the customizer on a couple of sites, they behave properly. What 
   makes you think this function could be the culprit ?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photographers galleries] Bug in php function](https://wordpress.org/support/topic/bug-in-php-function/)
 *  Plugin Author [aurelienpierre](https://wordpress.org/support/users/aurelienpierre/)
 * (@aurelienpierre)
 * [4 years, 12 months ago](https://wordpress.org/support/topic/bug-in-php-function/#post-14698615)
 * What is the theme customizer ?
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[Gutenberg] Great Plugin – Long Time Users Don’t Understand](https://wordpress.org/support/topic/great-plugin-18766/)
 *  [aurelienpierre](https://wordpress.org/support/users/aurelienpierre/)
 * (@aurelienpierre)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/great-plugin-18766/#post-10572500)
 * What you might not get is long-time users might actually use WP as a CMS and 
   not as some sort of self-hosted social media.
 * As someone who works up to 12 hours on 1500 to 5000 words single posts, including
   text, equations, source-code, graphs, etc. I see the benefit of this editor for
   people posting a bunch of videos, pictures and some paragraphs… But for someone
   typing industrially, it only adds more overhead.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Responsify WP] Responsify seems to work only for portraits images](https://wordpress.org/support/topic/responsify-seems-to-work-only-for-portraits-images/)
 *  Thread Starter [aurelienpierre](https://wordpress.org/support/users/aurelienpierre/)
 * (@aurelienpierre)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/responsify-seems-to-work-only-for-portraits-images/#post-9052182)
 * Yeah it’s a real challenge here since media queries suport only width parameter
   and I’m trying to get my pictures with a fixed height. It feels like the box-
   shadow CSS3 property back in 2010 😀
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Responsify WP] Responsify seems to work only for portraits images](https://wordpress.org/support/topic/responsify-seems-to-work-only-for-portraits-images/)
 *  Thread Starter [aurelienpierre](https://wordpress.org/support/users/aurelienpierre/)
 * (@aurelienpierre)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/responsify-seems-to-work-only-for-portraits-images/#post-9051882)
 * Nevermind, I did my own function, using WP 4.4 srcset API :
 *     ```
       add_image_size( 'thumbnail-4096', '4096', '2160', false ); // 4K
       add_image_size( 'thumbnail-2560', '2560', '1440', false ); // QHD / WQHD
       add_image_size( 'thumbnail-2048', '2048', '1080', false ); // 2K
       add_image_size( 'thumbnail-1920', '1920', '1080', false ); // Full HD
       add_image_size( 'thumbnail-1680', '1680', '1050', false ); // Desktop WSXGA+ 	
       add_image_size( 'thumbnail-1440', '1440', '900', false );  // Desktop WXGA+
       add_image_size( 'thumbnail-1280', '1280', '800', false ); // WXGA - HD
       add_image_size( 'thumbnail-960', '960', '640', false ); // DVGA - iPhone 4
       add_image_size( 'thumbnail-640', '640', '480', false ); // VGA - Standard definition
       add_image_size( 'thumbnail-480', '480', '320', false ); // HVGA - Palm, iPhone 1
       add_image_size( 'thumbnail-320', '320', '240', false ); // QVGA - Old smartphones
   
   
       function ap_content_image_sizes_attr( $sizes, $size, $image_src, $image_meta, $attachment_id ) {
       	$width = $size[0];
   
       	$meta = wp_get_attachment_metadata( $attachment_id);
   
       	$w_4096 = $meta["sizes"]["thumbnail-4096"]["width"];
       	$w_2560 = $meta["sizes"]["thumbnail-2560"]["width"];
       	$w_2048 = $meta["sizes"]["thumbnail-2048"]["width"];
       	$w_1920 = $meta["sizes"]["thumbnail-1920"]["width"];
       	$w_1680 = $meta["sizes"]["thumbnail-1680"]["width"];
       	$w_1440 = $meta["sizes"]["thumbnail-1440"]["width"];
       	$w_1280 = $meta["sizes"]["thumbnail-1280"]["width"];
       	$w_960 = $meta["sizes"]["thumbnail-960"]["width"];
       	$w_640 = $meta["sizes"]["thumbnail-640"]["width"];
       	$w_480 = $meta["sizes"]["thumbnail-480"]["width"];
       	$w_320 = $meta["sizes"]["thumbnail-320"]["width"];
   
       	if ( (is_single() || is_home() || is_page()) && 1024 < $width  ) {
   
       		$sizes = '(max-width: 4096px) and (min-width: 2561px) '. $w4096 .'px,';
       		$sizes = $sizes . '(max-width: 2560px) and (min-width: 2049px) and (orientation: landscape)'. $w_2560 .'px, ';
       		$sizes = $sizes . '(max-width: 2048px) and (min-width: 1921px) and (orientation: landscape)'. $w_2048 .'px, ';
       		$sizes = $sizes . '(max-width: 1920px) and (min-width: 1681px) and (orientation: landscape)'. $w_1920 .'px, ';
       		$sizes = $sizes . '(max-width: 1680px) and (min-width: 1441px) and (orientation: landscape)'. $w_1680 .'px, ';
       		$sizes = $sizes . '(max-width: 1440px) and (min-width: 1281px) and (orientation: landscape)'. $w_1440 .'px, ';
       		$sizes = $sizes . '(max-width: 1280px) and (min-width: 961px) and (orientation: landscape)'. $w_1280 .'px, ';
       		$sizes = $sizes . '(max-width: 960px) and (min-width: 641px) and (orientation: landscape)'. $w_960 .'px, ';
       		$sizes = $sizes . '(max-width: 640px) and (min-width: 481px) and (orientation: landscape)'. $w_640 .'px, ';
       		$sizes = $sizes . '(max-width: 480px) and (min-width: 321px) and (orientation: landscape)'. $w_480 .'px, ';
       		$sizes = $sizes . '(max-width: 320px) and (orientation: landscape)'. $w_320 .'px, ';
       		$sizes = $sizes . '100vw';
       	}
   
       	return $sizes ;
       }
       add_filter( 'wp_calculate_image_sizes', 'ap_content_image_sizes_attr', 10, 5 );
       ```
   
 * Thanks anyway.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photography Management - WordPress Photo Proofing Plugin] Break pages permalinks](https://wordpress.org/support/topic/break-pages-permalinks/)
 *  Thread Starter [aurelienpierre](https://wordpress.org/support/users/aurelienpierre/)
 * (@aurelienpierre)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/break-pages-permalinks/#post-9034102)
 * Ok that’s it, I already have a “client” page which is the parent of all the faulty
   pages.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photography Management - WordPress Photo Proofing Plugin] Break pages permalinks](https://wordpress.org/support/topic/break-pages-permalinks/)
 *  Thread Starter [aurelienpierre](https://wordpress.org/support/users/aurelienpierre/)
 * (@aurelienpierre)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/break-pages-permalinks/#post-9027292)
 * Hi,
 * The pages concerned are WP built-in page post-type, but not all. They lead to
   the theme 404.php page. I didn’t let the plugin activated since I’m on a website
   in production.
 * I use a /%postname%/ permalink structure. The plugin list is :
 * Contact Form 7 by Takayuki Miyoshi – 4.7
    Give – Extension de don by WordImpress–
   1.8.6 GoogleGraph by Jordan Vrtanoski – 0.4.2.1 Leaky Paywall by zeen101 Development
   Team – 4.6.1 OneSignal Push Notifications by OneSignal – 1.14.1 Photographers
   galleries by Aurélien PIERRE – 0.4.2 PixProof by PixelGrade – 1.2.4 Table of 
   Contents Plus by Michael Tran – 1601 Transposh Translation Filter by Team Transposh–
   0.9.9.1 wBounce by Kevin Weber – 1.6.3 Woocommerce Gallery by Aurélien PIERRE–
   0.1 WooCommerce PayPal Express Checkout Gateway by WooCommerce – 1.2.0 WooCommerce
   by Automattic – 3.0.2 WP eMember by Tips and Tricks HQ – v9.0.9 MailPoet Newsletters
   by MailPoet – 2.7.8 YITH Essential Kit for WooCommerce #1 by YIThemes – 1.4.4
   YITH WooCommerce Bulk Product Editing Premium by YITHEMES – 1.2.1
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin request] Minimalist carousel for galleries](https://wordpress.org/support/topic/plugin-request-minimalist-carousel-for-galleries/)
 *  Thread Starter [aurelienpierre](https://wordpress.org/support/users/aurelienpierre/)
 * (@aurelienpierre)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/plugin-request-minimalist-carousel-for-galleries/#post-8982745)
 * Nevermind, I did it myself.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photographers galleries] Carousel Formatting](https://wordpress.org/support/topic/carousel-formatting/)
 *  Plugin Author [aurelienpierre](https://wordpress.org/support/users/aurelienpierre/)
 * (@aurelienpierre)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/carousel-formatting/#post-8866999)
 * Hi,
 * Photographers Galleries is not responsible for your problem and adds very little
   styling features. The zooming effect you describe comes from the CSS rules related
   to WordPress galleries from your theme stylesheet, namely these lines :
 *     ```
       .gallery-columns-1 .gallery-item img {
       	width: 100%;
       	transition: opacity 0.2s ease-in-out,-webkit-transform 0.8s cubic-bezier(0, 0, 0.44, 1.18);
       	transition: opacity 0.2s ease-in-out,transform 0.8s cubic-bezier(0, 0, 0.44, 1.18);
       	transition: opacity 0.2s ease-in-out,transform 0.8s cubic-bezier(0, 0, 0.44, 1.18),-webkit-transform 0.8s cubic-bezier(0, 0, 0.44, 1.18);
       	-webkit-backface-visibility: hidden;
       	backface-visibility: hidden;
       	-webkit-transform: scale(1.01);
       	-ms-transform: scale(1.01);
       	transform: scale(1.01);
       }
       .gallery-columns-1 .gallery-item:hover img {
       	opacity:0.5;
       	-webkit-transform:scale(1.08);
       	-ms-transform:scale(1.08);
       	transform:scale(1.08);
       ```
   
 * You could install [the JetPack plugin](https://wordpress.org/plugins/jetpack/)
   and use its [Custom CSS feature](https://jetpack.com/support/custom-css/). Just
   use this code to overwrite the above rules :
 *     ```
       .gallery-columns-1 .gallery-item img {
       	transition: none!important;
       	transform: none!important;
       }
       .gallery-columns-1 .gallery-item:hover img {
       	transition: none!important;
       	transform: none!important;
       	opacity:1!important;
       }
       ```
   
 * As for the black background of the pictures, again it comes from your theme :
 *     ```
       .gallery-columns-1 .gallery-item {
       	background-color: rgb(0, 0, 0);
       }
       ```
   
 * which you could overwrite in Jetpack custom CSS with :
 *     ```
       .gallery-columns-1 .gallery-item {
       	background-color: transparent!important;
       }
       ```
   
 * Please note that these tricks will impact only one-column galleries so ensure
   to always use one-column galleries inside the Photographers Galleries shortcode.
 * As your topic is not directly related to PG features, I will mark this thread
   as resolved. However, feel free to ask anything else you need.
 * Regards,
    Aurélien.

Viewing 15 replies - 1 through 15 (of 21 total)

1 [2](https://wordpress.org/support/users/aurelienpierre/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/aurelienpierre/replies/page/2/?output_format=md)