I-plugin ye-AMP enesilayida se-AMP carousel

Ijeneretha ye-Accelerated Mobile Pages (AMP) yokwakha amakhasi e-Google AMP , ama- plugin e-AMP kanye nomshini wokugcwalisa womaka we- AMPHTML asekela ukudalwa okuzenzakalelayo kwe-carousel ye-AMP.

Izilayida ze-AMP carousel zakhiwa ngokuzenzakalela kusuka kuzo zonke izithombe ezisendaweni yombhalo we-athikili (endaweni ye-'itemprop = ArticleBody ' ).


Isikhangiso

<amp-carousel> -Ukuhlanganiswa kweSlider


extension

I-Accelerated Mobile Pages Generator idala ngokuzenzakalela i-AMP carousel isebenzisa ithegi ye-'amp-carousel 'uma kunesithombe esingaphezu kwesisodwa sendatshana endaweni ye-athikili!

I-carousel ye-AMP ingena esikhundleni sesithombe sendatshana esijwayelekile ekhasini le-AMPHTML.

Uma kunesithombe esisodwa kuphela noma kungekho sithombe nhlobo ku-athikili, i-AMP carousel ifihliwe ukuze kuthuthukiswe izikhathi zokulayisha iwebhusayithi, ngoba kulokhu i-AMP carousel JavaScript akudingeki ilayishwe kuqala.

Esikhundleni se-carousel ye-AMP, kukhonjiswa kuphela isithombe sendatshana esilula noma indawo imane ihlale ingenalutho.

Izithombe eziku-carousel ye-AMP zinikezwe amazwibela. Izimfanelo ze- <img> tag 'alt =' ne 'title =' zithathwe ekhasini lokuqala njengemibhalo. Uma lezi zimfanelo zingachaziwe ekhasini lokuqala, i-Accelerated Mobile Pages Generator isebenzisa ithegi ye- <Title> ye-athikili.


Isikhangiso