Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/url/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
For loop amp img的URL链接_For Loop_Url_Hyperlink_Amp Img - Fatal编程技术网

For loop amp img的URL链接

For loop amp img的URL链接,for-loop,url,hyperlink,amp-img,For Loop,Url,Hyperlink,Amp Img,amp img的URL链接 如何放大图像url而不是普通图像 我已经尝试过用常规方法制作amp html,但它不起作用。您必须像这样添加amp转盘: <amp-carousel id="custom-button" width="400" height="300" layout="responsive" type="slides" autoplay delay="2000"> <a href="https://www.example.com/amp/" target="_bl

amp img的URL链接

如何放大图像url而不是普通图像


我已经尝试过用常规方法制作amp html,但它不起作用。

您必须像这样添加amp转盘:

<amp-carousel id="custom-button"  width="400" height="300" layout="responsive" type="slides" autoplay delay="2000">
<a href="https://www.example.com/amp/" target="_blank"> <amp-img src="https://www.example.com/wp-content/uploads/2020/04/amp_img_1.jpg" width="400" height="300" layout="responsive" alt="AMP Carousel"></amp-img></a>
<a href="https://www.example2.com/amp/" target="_blank"> <amp-img src="https://www.example.com/wp-content/uploads/2020/04/amp_img_2.jpg" width="400" height="300" layout="responsive" alt="AMP Carousel"></amp-img></a>
</amp-carousel>


然后你必须在锚点标签上添加CSS,如下所示:
display:grid

您必须像这样添加AMP转盘:

<amp-carousel id="custom-button"  width="400" height="300" layout="responsive" type="slides" autoplay delay="2000">
<a href="https://www.example.com/amp/" target="_blank"> <amp-img src="https://www.example.com/wp-content/uploads/2020/04/amp_img_1.jpg" width="400" height="300" layout="responsive" alt="AMP Carousel"></amp-img></a>
<a href="https://www.example2.com/amp/" target="_blank"> <amp-img src="https://www.example.com/wp-content/uploads/2020/04/amp_img_2.jpg" width="400" height="300" layout="responsive" alt="AMP Carousel"></amp-img></a>
</amp-carousel>


然后你必须在锚点标签上添加CSS,如下所示:
display:grid

尝试共享您迄今为止尝试但未成功的内容。尝试共享您迄今为止尝试但未成功的内容。