Hi everyone!

After moving the site from the http to https, a tag amp-img error appeared on almost all pages of the site.

Could you tell what could be the problem?

Screenshot is attached.

Thanks in advance!

CommentFileSizeAuthor
#2 amp_problem_eng.jpg138.84 KBIskanderych
amp_problem.jpg137.33 KBIskanderych

Comments

Iskanderych created an issue. See original summary.

Iskanderych’s picture

StatusFileSize
new138.84 KB
Iskanderych’s picture

I found the following information:

"If you have Only local images are allowed.s with https urls and they don't have height/width attributes and you are using PHP 5.6 or higher and you have not listed any certificate authorities (cafile) in your php.ini file then the library may have problems converting these to ."

In my case, the images do not have width and height parameters, since they are downloaded through the OneClickUploader.

So, for the amp-module to work, do I need to assign width and height to all images on the site? If yes -- how to do this for five thousand images?

abhay.agarwal’s picture

Did anyone find any solution for this ?