Visual composer masonry image sizes

4.00

Speed up your site when using Visual Composer Masonry images.

This plugin will replace the full-size featured images with their corresponding smaller sizes.
Resulting in:

  1. Faster download
  2. Increase your site loading time
  3. Less bandwidth usage!
Category:

Description

Speed up your site when using Visual Composer Masonry images.

Visual composer uses AJAX with these parameters to retrieve the gallery HTML code along with the images: action:vc_get_vc_grid_data & vc_action:vc_get_vc_grid_data.

This is a 100% screenshot of an example gallery, notice how small the images widths actually are:

site1

This is the AJAX result before and after using this plugin using the chromium preview pane.

Instructions

Just install and you’re ready!

If you want to adjust the approximate width/height apply these lines in your wp-config.php or (child)theme functions.php and adjust the numbers.

define(‘MP_VC_MASONRY_APPROX_WIDTH’, 558);
define(‘MP_VC_MASONRY_APPROX_WIDTH’, 224);

Reviews

There are no reviews yet.

Be the first to review “Visual composer masonry image sizes”

Your email address will not be published. Required fields are marked *