AMP plugin tare da AMP carousel darjewa

The Accelerated Mobile Pages (AMP) janareta don ƙirƙirar Google AMP shafukan , da AMP plugins da AMPHTML tag janareta suna goyan bayan ƙirƙirar sarrafa kansa na carousel AMP.

AMP carousel sliders an ƙirƙira ta atomatik daga duk hotunan da suke cikin yankin rubutun labarin (a cikin 'itemprop = labarinBody' ).


Talla

<amp-carousel> -Sararin haɗuwa


extension

Mai Saurin Saurin Shafukan Wayar Hannu yana ƙirƙirar carousel na AMP ta atomatik ta amfani da alamar 'amp-carousel' idan akwai hoto fiye da ɗaya a cikin yankin!

Carousel na AMP ya maye gurbin hoton labarin da aka saba akan shafin AMPHflix.

Idan hoto ɗaya ne kawai ko babu hoto kwata-kwata a cikin labarin, ana ɓoye carousel na AMP don inganta lokutan ɗaruwar gidan yanar gizon, tunda a wannan yanayin AMP carousel JavaScript ba dole bane a fara ɗorawa da farko.

Maimakon carousel na AMP, kawai ana nuna hoton labarin mai sauƙi ko yankin kawai ya zama fanko.

Ana ba da hotuna a cikin carousel na AMP tare da taken. Alamar alama ta <img> 'alt =' da 'take =' an ɗauke su daga asalin shafin azaman rubutu. Idan ba a ayyana waɗannan sifofi a cikin asalin shafin ba, Accelerated Mobile Pages Generator yana amfani da <Title> tag na labarin.


Talla