Support » Plugin: ACF Photo Gallery Field » thumbnail Images 150x150px

  • Resolved stavroch


    The thumbnail images brings the filename and 150×150.jpg

    How can I reduce the images per cent?

    I don’t want to display crop images. I want to display the thumbnail smaller -50%.

    Is that possible?

    If so how?

Viewing 1 replies (of 1 total)
  • Plugin Author Navneil Naicker


    Hello, theirs no way to reduce by percentage. This plugin uses Aqua Resizer to resize the images on the fly. The helper function for this is acf_photo_gallery_resize_image. What you can do is add the following code line of code

    $resized_img_url = aq_resize( $full_image_url, 75, 75, false, true, true);

    Use $resized_img_url in the src of the image.

    See the documentation

    aq_resize( $url, $width, $height, $crop, $single, $upscale )

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.