Answered
Share Design Issue - FPD With MSPC
I'm using MSPC with FPD.
When I try to "Share Design" on social networks the image shared is NOT the customer design but an MSPC thumbnail.
Example: Here is a design - https://www.petshelddear.com/product/pet-memorial-slate-15x20cm/?share_id=1460813498
But this is what you see when you share on facebook:
yes i m also getting same problem but if i will change in facebook markup xml
orignal
$markupimage = substr($product_info['image'],0,strrpos($product_info['image'],".")) . "-" . $popw . "x" . $poph . substr($product_info['image'],strrpos($product_info['image'],"."));
$this->document->setFBOG('og:image', HTTP_SERVER . 'image/' . $markupimage);
change:-
$markupimage = substr($share_info['image'],0,strrpos($share_info['image'],".")) . "-" . $popw . "x" . $poph . substr($share_info['image'],strrpos($share_info['image'],"."));
$this->document->setFBOG('og:image', HTTP_SERVER . 'image/' . $markupimage);
then it will show image url like http://www.site.com/image/cache/catalog/fancy_shares/image name.-900x900.jpg
plz give some suggestion
Ticket Created.
It seems to work fine on our demo site. http://fancyproductdesigner.com/product/sneaker-mspc/. I have asked the developer to take a look at it.
The plugin is replacing the featured image via the wp_get_attachment_url filter hook. Thats the only possibility, if your theme or the plugin does not set the og:image from this source, then its a dedicated issue, we can not help you with.
We are using the X theme and having no problems with it.
I have solved my issue
change in face book markup xml in these line (Change product to share and remove calalog before catlog/fancy_shares in fnt_product_design.php in catalog/controller/product/fnt_product_design.php)
$markupimage = substr($share_info['image'],0,strrpos($share_info['image'],"w")) . substr($share_info['image'],strrpos($share_info['image'],"w"));
$this->document->setFBOG('og:image', HTTP_SERVER . 'image/' . $markupimage);
add this line after product.php
add this line after category.php
that is solution For opencart website
Check Url http://www.esaugat.com/Design-1005?share_id=315
thanks
Th next update will include an option to add the correct og:image tag in the head.
thanks dear
my other problem is share image is showing croped in facebook how to get full image when i will share image in fb
thanks