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

#   Produit - largeur image dans article

##

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

Less More

- Posts: 332
- Thank you received: 4
-
-

13 years 7 months ago [\#98095](#98095) by [emohk](/forum/user/7512-emohk "View emohk's Profile")  *[Produit - largeur image dans article](/forum/5-support-en-francais-french-support-/80134-produit-largeur-image-dans-article#98095 "Bonjour,  En insérant un produit dans un article, l'image du produit est fixée à 100x100 (thumbnail&#95;100x100/chequekdo.png), or dans ma configuration générale j'ai défini une largeur à 250 pour les miniatures et les images. Pourqquoi mon image est donc réduie à 100???  Merci")* was created by *[emohk](/forum/user/7512-emohk "View emohk's Profile")*

Bonjour,

En insérant un produit dans un article, l'image du produit est fixée à 100x100 (thumbnail_100x100/chequekdo.png), or dans ma configuration générale j'ai défini une largeur à 250 pour les miniatures et les images. Pourqquoi mon image est donc réduie à 100???

Merci

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODAxMzQtcHJvZHVpdC1sYXJnZXVyLWltYWdlLWRhbnMtYXJ0aWNsZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) 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 7 months ago [\#98174](#98174) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Produit - largeur image dans article](/forum/5-support-en-francais-french-support-/80134-produit-largeur-image-dans-article#98174 "Bonjour,  En insérant un produit dans un article, l'image du produit est fixée à 100x100 (thumbnail&#95;100x100/chequekdo.png), or dans ma configuration générale j'ai défini une largeur à 250 pour les miniatures et les images. Pourqquoi mon image est donc réduie à 100???  Merci")*

Bonjour,

En effet les valeurs sont mises en dur dans le plugin. Vous pouvez éditer le fichier "plugins/system/hikashopproductinsert/hikashopproductinsert.php" et ajouter: Code:

$thumbnail_x = $config-&gt;get('thumbnail_x',100); $thumbnail_y = $config-&gt;get('thumbnail_y',100);

Juste après: Code:

$config =&amp; hikashop_config();

Et remplacer: Code:

echo $this-&gt;image-&gt;display(@$image-&gt;file_path,false,$this-&gt;escape(@$image-&gt;file_name), '' , '' , 100, 100);

Par: Code:

echo $this-&gt;image-&gt;display(@$image-&gt;file_path,false,$this-&gt;escape(@$image-&gt;file_name), '' , '' , $thumbnail_x, $thumbnail_y);

J'ai mis à jour de notre côté et la modification sera présente dans la prochaine release.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODAxMzQtcHJvZHVpdC1sYXJnZXVyLWltYWdlLWRhbnMtYXJ0aWNsZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 332
- Thank you received: 4
-
-

13 years 7 months ago [\#98190](#98190) by [emohk](/forum/user/7512-emohk "View emohk's Profile")  Replied by *[emohk](/forum/user/7512-emohk "View emohk's Profile")* on topic *[Produit - largeur image dans article](/forum/5-support-en-francais-french-support-/80134-produit-largeur-image-dans-article#98190 "Bonjour,  En insérant un produit dans un article, l'image du produit est fixée à 100x100 (thumbnail&#95;100x100/chequekdo.png), or dans ma configuration générale j'ai défini une largeur à 250 pour les miniatures et les images. Pourqquoi mon image est donc réduie à 100???  Merci")*

BOnjour,

Merci Xavier pour cet retour.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODAxMzQtcHJvZHVpdC1sYXJnZXVyLWltYWdlLWRhbnMtYXJ0aWNsZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) 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.045 seconds

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