[Skip to main content](#vessel-content)

#   choisir image face book

##

- **[sp](/forum/user/8194-sp "View sp's Profile")**
- [![sp's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8194-sp "View sp's Profile") Topic Author
- [ Offline](/forum/user/8194-sp)

Less More

- Posts: 73
- Thank you received: 1
-
-

13 years 9 months ago [\#87457](#87457) by [sp](/forum/user/8194-sp "View sp's Profile")  *[choisir image face book](/forum/2-general-talk-about-hikashop/77819-choisir-image-face-book#87457 "Bonjour,  je cherche à savoir comment modifier l'image qui apparait sur les mur face book pour mon site avec le plugin : Hikashop Social Networks Plugin. Merci !")* was created by *[sp](/forum/user/8194-sp "View sp's Profile")*

Bonjour,

je cherche à savoir comment modifier l'image qui apparait sur les mur face book pour mon site avec le plugin : Hikashop Social Networks Plugin. Merci !

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc3ODE5LWNob2lzaXItaW1hZ2UtZmFjZS1ib29rP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 9 months ago [\#87484](#87484) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[choisir image face book](/forum/2-general-talk-about-hikashop/77819-choisir-image-face-book#87484 "Bonjour,  je cherche à savoir comment modifier l'image qui apparait sur les mur face book pour mon site avec le plugin : Hikashop Social Networks Plugin. Merci !")*

Bonjour,

Par défaut le plugin reprend l'image principale du produit, donc vous pouvez changer l'ordre des images dans la page d'édition du produit.
Sinon il faut éditer le fichier "plugins/content/hikashopsocial/hikashopsocial.php" et éditer la fonction "_getImageUrl()".

The following user(s) said Thank You: [sp](/forum/user/8194-sp "View sp's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc3ODE5LWNob2lzaXItaW1hZ2UtZmFjZS1ib29rP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[sp](/forum/user/8194-sp "View sp's Profile")**
- [![sp's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8194-sp "View sp's Profile") Topic Author
- [ Offline](/forum/user/8194-sp)

Less More

- Posts: 73
- Thank you received: 1
-
-

13 years 9 months ago [\#87498](#87498) by [sp](/forum/user/8194-sp "View sp's Profile")  Replied by *[sp](/forum/user/8194-sp "View sp's Profile")* on topic *[choisir image face book](/forum/2-general-talk-about-hikashop/77819-choisir-image-face-book#87498 "Bonjour,  je cherche à savoir comment modifier l'image qui apparait sur les mur face book pour mon site avec le plugin : Hikashop Social Networks Plugin. Merci !")*

merci.. au risque de paraître vraiment inculte, sous quelle syntaxe doit on entrer la référence à l'image ? Dans le fichier que vous donnez, il y a 3 occurrences "_getImageUrl()", j'imagine que si l'on veut toujours le meme logo, il faut entrer à chaque fois la meme référence ?
Merci encore.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc3ODE5LWNob2lzaXItaW1hZ2UtZmFjZS1ib29rP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 9 months ago [\#87548](#87548) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[choisir image face book](/forum/2-general-talk-about-hikashop/77819-choisir-image-face-book#87548 "Bonjour,  je cherche à savoir comment modifier l'image qui apparait sur les mur face book pour mon site avec le plugin : Hikashop Social Networks Plugin. Merci !")*

L'image donnée à Facebook est stockée dans cette variable : $imageUrl
Cette variable contient le lien complet vers l'image "[ votredomaine.fr/media/com\_hikashop/upload/votreimage.png](http://votredomaine.fr/media/com_hikashop/upload/votreimage.png)".

Il suffit de changer la requete pour obtenir l'image que vous voulez et l'image utilisée sera toujours la même.

The following user(s) said Thank You: [sp](/forum/user/8194-sp "View sp's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc3ODE5LWNob2lzaXItaW1hZ2UtZmFjZS1ib29rP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[sp](/forum/user/8194-sp "View sp's Profile")**
- [![sp's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8194-sp "View sp's Profile") Topic Author
- [ Offline](/forum/user/8194-sp)

Less More

- Posts: 73
- Thank you received: 1
-
-

13 years 9 months ago [\#87558](#87558) by [sp](/forum/user/8194-sp "View sp's Profile")  Replied by *[sp](/forum/user/8194-sp "View sp's Profile")* on topic *[choisir image face book](/forum/2-general-talk-about-hikashop/77819-choisir-image-face-book#87558 "Bonjour,  je cherche à savoir comment modifier l'image qui apparait sur les mur face book pour mon site avec le plugin : Hikashop Social Networks Plugin. Merci !")*

Merci, le fichier contient plusieurs fois l’occurrence $imageUrl

$imageUrl = $this-&gt;_getImageURL($product-&gt;product_id);
$imageUrl = $this-&gt;_getImageURL($product-&gt;product_id);
$imageUrl = '';
$imageUrl=JURI::base().$this-&gt;main_uploadFolder_url.$image-&gt;file_path;

et je ne vois pas de chemin ? mais plutôt une référence à l'id des produits. Dans le répertoire que vous avez cité, j'ai en effet toutes les images de mes produits. Je reste dans le flou par rapport à la marche à suivre, merci encore pour vos précisions.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc3ODE5LWNob2lzaXItaW1hZ2UtZmFjZS1ib29rP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 9 months ago [\#87598](#87598) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[choisir image face book](/forum/2-general-talk-about-hikashop/77819-choisir-image-face-book#87598 "Bonjour,  je cherche à savoir comment modifier l'image qui apparait sur les mur face book pour mon site avec le plugin : Hikashop Social Networks Plugin. Merci !")*

La dernière variable $imageUrl contient le chemin vers l'image.
"JURI::base().$this-&gt;main_uploadFolder_url.$image-&gt;file_path" est le chemin vers l'image, $image-&gt;file_path est le nom de l'image avec son extension, c'est donc ceci qu'il faut modifier.
Cette variable est récupérée dans la requete SQL executée juste avant, il faut donc éditer la requete SQL.

Cela requiert des connaissances MySQL.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc3ODE5LWNob2lzaXItaW1hZ2UtZmFjZS1ib29rP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.066 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
