• Resolved SeyMedia

    (@seymedia)


    Hi,

    In a normal theme you can crop thumbnail giving a position, for example: add_image_size('thumbname', 500, 400, array('center', 'top')); – but in AMPforWP i can’t get any information about the position part. I want to have a thumbnail with center+top and not center+middle. I’ve tried:

    $args = array("tag"=>'div',"tag_class"=>'image-container','image_size'=>'full','image_crop'=>'true','image_crop_width'=>$width,'image_crop_height'=>$height, 'responsive'=> true, "image_crop_x" => 'center', "image_crop_y" => 'top');

    amp_loop_image($args);

    but image_crop_x and image_crop_y has no effect.

    Can this be done in AMPforWP?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Akshay A

    (@akshaycode1)

    Hi, We are currently checking this concern and will provide you with an update soon.

    Plugin Support Akshay A

    (@akshaycode1)

    Hi, Could you please share the URL where the thumbnail is appearing in AMP so we can check?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Thumbnail crop position’ is closed to new replies.