• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 20.03.20, 16:44
  • Opened by: Lynda
  • Closed by: Fred
  • Closed on: 15.02.21, 12:04
  • Reason: Closed
  • Comment: Glad to help!

Ticket #17079 - Instagram module on AMP

Instagram module doesn’t work on AMP version. However, I filled out the same user ID and token code as Instagram feed module who works properly.

Thank you for your help.

Comments

Fred 21 Mar 2020, 12:06

Your User ID was wrong

Lynda 21 Mar 2020, 14:15

But it still doesn’t work…

Fred 21 Mar 2020, 19:46

all works fine for me https://take.ms/WmmuS

Lynda 21 Mar 2020, 22:04

Thank you Fred. My Instagram images have a ratio of 1:25 but the widget display images with square ratio. How to modify this ?

Fred 23 Mar 2020, 23:01

Do you have some cache enable? Please disable ALL cache

Lynda 24 Mar 2020, 15:39

Yes, I cleared all caches.

Fred 25 Mar 2020, 13:55

Here is an updated file, upload it into the folder /modules/pspagebuilder/views/templates/front/widgets/

Attachments:

widget_ampinstagram.tpl (2.5 KiB)
Lynda 26 Mar 2020, 16:00

This file doesn’t work…

Attachments:

Capture d’écran 2020-03-26 a... (58.9 KiB)
Fred 27 Mar 2020, 11:36

I can’t always fight with your cache, I spent tooo much time on that. The file is updated correctly. The fix is present there, here is detailed description https://take.ms/RuE9H as you can see I have added variables for height and width attributes, but nothing was changed in the home page

Lynda 27 Mar 2020, 15:00

I just cleared the cache and the fix works. I don’t know how it didn’t work the first time.
I am sorry and thank you for the time you spend helping me. Your support is great !

Fred 27 Mar 2020, 15:42

No problem! thank you for understanding.

Lynda 22 Nov 2020, 10:16

I have again the Instagram images ratio issue.

Fred 22 Nov 2020, 10:16

do you have a backup of your Instagram module?

Lynda 22 Nov 2020, 15:56

Yes, why ?

Fred 23 Nov 2020, 13:08

Can’t you restore it?

Lynda 26 Nov 2020, 18:23

When I restored modules/pspagebuilder/views/templates/front/widgets/ampinstagram.tpl file, instagram module doesn’t work anymore (see screenshot). I renamed this backupfile ampinstagram-.tpl in my widgets folder.

Attachments:

Capture d’écran 2020-11-26 a... (56.5 KiB)
Fred 27 Nov 2020, 11:56

You have to use Instagram module, but not widget. We have removed widget from the latest theme version

Lynda 28 Nov 2020, 17:16

You are talking about pkinstagram module ? It is this one that I use.

Attachments:

Capture d’écran 2020-11-28 a... (173.9 KiB)
Fred 30 Nov 2020, 14:34

Yes, that’s it. And as I can see it works https://take.ms/BAx1B

Lynda 07 Dec 2020, 15:51

The issue is on AMP only.
I have seen Alysum version 5.6.0 fixes view of vertical images in AMP Instagram widget. It seems be my issue, isn’t it ? I will upgrade to the latest upgrade. Do I should update Prestashop to 1.7.7 before updating theme or it doesn’t matter ?
Thank you.

Fred 08 Dec 2020, 11:23

It doesn’t matter what will you update first.