• Resolved ewright44

    (@ewright44)


    I am successfully using the plugin to get an image from an ACF file field inside the grid builder. But while I have the field set to return an image array there seems to be no way to get a smaller version of the image. The image returned is the full-size image which is causing massive page load issues.

    Is there any way to get one of the smaller sized images?

Viewing 1 replies (of 1 total)
  • Plugin Author Frederik Rosendahl-Kaa

    (@frederik-rosendahl-kaa)

    Hi @ewright44,

    Sorry for the late reply.

    The only way you can do it right now is by using a filter hook to change the way the plugin displays that field.

    add_filter( 'acfvc_image', 'function_name', 10, 3 );
    function function_name( $output, $field, $post_id ) {
        return $output;
    }

    But you are absolutely right and I do not have an explanation as to why this is not possible besides I have not thought of it, but I will add it to my todo list for the next version of the plugin that I am working on.

    Best regards
    Frederik

Viewing 1 replies (of 1 total)
  • The topic ‘Images sizes in file field’ is closed to new replies.