Jump to content

AMP Problem in Listings without images


PeterD

Recommended Posts

Use JAmp and Jreviews Amp Addon, but get a Amp Failure for all listings without a image.

Didn´t find anything in Jamp so I ask here:

Between the <div> tag "jrListingPhoto":

 <div class="subsection jrListingPhoto">  	 		<div itemprop="image" itemscope itemtype="https://schema.org/ImageObject"> 			<amp-img layout="responsive" width="" height="" alt="xyz" src="domain"></amp-img> 	

the image have no sizes, because there is no image.

So I get a Google AMP failure.

How can I fix that

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...