Author Topic: how are image url created?  (Read 5181 times)

Offline Sam_78

  • Sr. Member
  • ****
  • Posts: 270
  • Karma: +42/-1
    • View Profile
how are image url created?
« on: May 31, 2018, 06:46:01 PM »
Hello,

I am using AbanteCart 1.2.11 and while pasting url to Facebook or sharing it to twitter I don't get product images rest everything works fine.
on my website when I view page source I do see that <meta property="og:image" content="//www.websitename.com/image/thumbnails/18/e5/product_image_600x600_png_png-101976-280x280.png" />
and there is image on this path.
I think issue is with content as it starts with //www.. You think I need to add https before that? if yes then how?
another strange thing is when I share my website on 'whatsapp' it does pull the correct image so the issue is only with facebook and twitter
Note: I am using share_button extension that populates og tags and thats how it is working on 'whatsapp'
in code of seo_pack there is this line $fb_image = $root_image['thumb_url'];  so I believe he is using abanteCarts default thumb_url so can someone suggest me how to change abanteCarts default url so that path can be "www.websitename.com/image" or "https://www.websitename/image"
If you think there is different issue then let me know maybe I can try that
In my settings->store details I have store url as http://www.websitename.com/ and secure url as https://www.websitename.com/
Can someone help me with this?

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5776
  • Karma: +274/-2
    • View Profile
Re: how are image url created?
« Reply #1 on: June 01, 2018, 01:42:45 AM »
Hello,

I am using AbanteCart 1.2.11 and while pasting url to Facebook or sharing it to twitter I don't get product images rest everything works fine.
on my website when I view page source I do see that <meta property="og:image" content="//www.websitename.com/image/thumbnails/18/e5/product_image_600x600_png_png-101976-280x280.png" />
and there is image on this path.
I think issue is with content as it starts with //www.. You think I need to add https before that? if yes then how?
No, It is not an issue. // this mean url is compatible with both http or https


another strange thing is when I share my website on 'whatsapp' it does pull the correct image so the issue is only with facebook and twitter
Facebook engine have own logic and parse pages to find images or images og:tag
Somethimes it glitch try this tool to debug https://developers.facebook.com/tools/debug/sharing/

Offline Sam_78

  • Sr. Member
  • ****
  • Posts: 270
  • Karma: +42/-1
    • View Profile
Re: how are image url created?
« Reply #2 on: June 01, 2018, 09:10:51 AM »
Thanks for your reply
It loads default AbanteCart's no_image and showed this warning
Inferred Property - The 'og:image' property should be explicitly provided, even if a value can be inferred from other tags

CTGO.co

  • Guest
Re: how are image url created?
« Reply #3 on: April 05, 2019, 04:01:28 AM »
HI!

did you fixed that ???

regards

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5776
  • Karma: +274/-2
    • View Profile
Re: how are image url created?
« Reply #4 on: April 05, 2019, 07:08:19 AM »
HI!

did you fixed that ???

regards

og:image is something related to facebook. There are several plugins in marketplace to improve facebook behaviour
http://marketplace.abantecart.com/index.php?rt=product/search&keyword=facebook&category_id=0

CTGO.co

  • Guest
Re: how are image url created?
« Reply #5 on: July 27, 2019, 06:13:21 PM »
HI!

did you fixed that ???

regards

og:image is something related to facebook. There are several plugins in marketplace to improve facebook behaviour
http://marketplace.abantecart.com/index.php?rt=product/search&keyword=facebook&category_id=0


Hi Dear!

Any alternative solution please???

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5776
  • Karma: +274/-2
    • View Profile
Re: how are image url created?
« Reply #6 on: July 29, 2019, 01:01:57 AM »
Hello.
If you dont want to use plugins you can implement facebook tags yourself. Please follow facebook guides https://developers.facebook.com/docs/sharing/webmasters/images/
« Last Edit: July 29, 2019, 01:09:52 AM by Basara »

CTGO.co

  • Guest
Re: how are image url created?
« Reply #7 on: August 03, 2019, 01:18:19 PM »
Hello.
If you dont want to use plugins you can implement facebook tags yourself. Please follow facebook guides https://developers.facebook.com/docs/sharing/webmasters/images/

Thank you for taking time and reply, I configured Facebook pixel on website but you know what?? it is really long story to resize each photo to be satisfying each social media website in the globe. I think there is should be a tool within Abantecart Application to resize each photo automatically. Is there any ideas about this future in the next upgrade version ???


Thanks
 

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5776
  • Karma: +274/-2
    • View Profile
Re: how are image url created?
« Reply #8 on: August 05, 2019, 02:28:20 AM »
Hello.

All product images you see in AbanteCart storefront resized automatically to fit the page requested (listing, basket, product info page etc.)

CTGO.co

  • Guest
Re: how are image url created?
« Reply #9 on: August 07, 2019, 12:26:32 PM »
Hello.

All product images you see in AbanteCart storefront resized automatically to fit the page requested (listing, basket, product info page etc.)

hi Sir!

Then can you tell me why the images not appearing for example on Facebook??

note:
I integrated manually Facebook pixel on my website.


Regards

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5776
  • Karma: +274/-2
    • View Profile

CTGO.co

  • Guest
Re: how are image url created?
« Reply #11 on: August 08, 2019, 01:10:18 PM »


 

Powered by SMFPacks Social Login Mod