Jump to content
Sign in to follow this  
PeterD

AMP Problem in Listings without images

Recommended Posts

PeterD

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

Edited by PeterD

Share this post


Link to post
Alejandro

This section is only visible with a valid subscription. If you have a valid subscription, please login.

Share this post


Link to post
PeterD

This section is only visible with a valid subscription. If you have a valid subscription, please login.

Share this post


Link to post
PeterD

This section is only visible with a valid subscription. If you have a valid subscription, please login.

Edited by PeterD

Share this post


Link to post
Alejandro

This section is only visible with a valid subscription. If you have a valid subscription, please login.

Share this post


Link to post
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Please refer to our Privacy Policy.