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

#   Image survol

##

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

Less More

- Posts: 74
- Thank you received: 7
-
-

15 years 2 months ago -  15 years 2 months ago [\#25855](#25855) by [marcmarc](/forum/user/1529-marcmarc "View marcmarc's Profile")  *[Image survol](/forum/5-support-en-francais-french-support-/25855-image-survol#25855 "Bonjour, dans la vue en liste, je voudrais afficher une image plus grosse lorsque l'on survole les imagettes de produits.  pour celà j'ai : 1) installé le plugin tooltips de nonumber (  www.nonumber.nl/extensions/tooltips ). 2) modifié le fichier listing&#95;img.php pour y intégrer les tags du plugin {tip}{/tip}  j'ai fais un test avec une image &quot;en dur&quot; = pas de problème, j'obtiens le comportement attendu.  mon problème : je ne sais pas comment appeler l'image thumbnail définie dans la configuration générale  pouvez-vous m'aider ? merci  edit : le code ne s'affiche pas correctement une fois publié dans le forum : que faut-il faire ?")* was created by *[marcmarc](/forum/user/1529-marcmarc "View marcmarc's Profile")*

Bonjour,
dans la vue en liste, je voudrais afficher une image plus grosse lorsque l'on survole les imagettes de produits.

pour celà j'ai :
1) installé le plugin tooltips de nonumber ([ www.nonumber.nl/extensions/tooltips](http://www.nonumber.nl/extensions/tooltips)).
2) modifié le fichier listing_img.php pour y intégrer les tags du plugin {tip}{/tip}

j'ai fais un test avec une image "en dur" = pas de problème, j'obtiens le comportement attendu.

mon problème :
je ne sais pas comment appeler l'image thumbnail définie dans la configuration générale
Code:

&lt;?php $link = hikashop_completeLink('product&amp;task=show&amp;cid='.$this-&gt;row-&gt;product_id.'&amp;name='.$this-&gt;row-&gt;alias.$this-&gt;itemid.$this-&gt;category_pathway);?&gt; &lt;div style="height:&lt;?php echo $this-&gt;image-&gt;main_thumbnail_y;?&gt;px;text-align:center;clear:both;" class="hikashop_product_image"&gt; &lt;?php if($this-&gt;params-&gt;get('link_to_product_page',1)){ ?&gt; &lt;a href="&lt;?php echo $link;?&gt;" title="&lt;?php echo $this-&gt;escape($this-&gt;row-&gt;product_name); ?&gt;"&gt; &lt;?php } ?&gt; {tip &lt;?php echo /* c'est ici que je voudrais afficher l'image thumbnail de la taille définie dans la config générale */ ?&gt; } &lt;?php echo $this-&gt;image-&gt;display(@$this-&gt;row-&gt;file_path,false,$this-&gt;escape($this-&gt;row-&gt;file_name), '' , '' , $this-&gt;image-&gt;main_thumbnail_x, $this-&gt;image-&gt;main_thumbnail_y); ?&gt; {/tip}

pouvez-vous m'aider ?
merci

edit : le code ne s'affiche pas correctement une fois publié dans le forum : que faut-il faire ?  [ ![&#91;img](http://www.hikashop.com/media/kunena/attachments/legacy/images/tooltips.png) ](http://www.hikashop.com/media/kunena/attachments/legacy/images/tooltips.png "&#91;img")

- [ ![tooltips.png](/forum/attachment/1762) ](/forum/attachment/1762 "tooltips.png") [ ](/forum/attachment/1762?download=1 "tooltips.png")

Last edit: 15 years 2 months ago by [marcmarc](/forum/user/1529-marcmarc "View marcmarc's Profile").

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

15 years 2 months ago [\#25866](#25866) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Image survol](/forum/5-support-en-francais-french-support-/25855-image-survol#25866 "Bonjour, dans la vue en liste, je voudrais afficher une image plus grosse lorsque l'on survole les imagettes de produits.  pour celà j'ai : 1) installé le plugin tooltips de nonumber (  www.nonumber.nl/extensions/tooltips ). 2) modifié le fichier listing&#95;img.php pour y intégrer les tags du plugin {tip}{/tip}  j'ai fais un test avec une image &quot;en dur&quot; = pas de problème, j'obtiens le comportement attendu.  mon problème : je ne sais pas comment appeler l'image thumbnail définie dans la configuration générale  pouvez-vous m'aider ? merci  edit : le code ne s'affiche pas correctement une fois publié dans le forum : que faut-il faire ?")*

Bonjour,

L'URL de la miniature peut être retrouvée comme cela:
$this-&gt;image-&gt;uploadFolder_url.'thumbnail_'.$this-&gt;image-&gt;main_thumbnail_y.'x'.$this-&gt;image-&gt;main_thumbnail_x.'/'.$image-&gt;file_path

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

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

Less More

- Posts: 74
- Thank you received: 7
-
-

15 years 2 months ago [\#25876](#25876) by [marcmarc](/forum/user/1529-marcmarc "View marcmarc's Profile")  Replied by *[marcmarc](/forum/user/1529-marcmarc "View marcmarc's Profile")* on topic *[Re: Image survol](/forum/5-support-en-francais-french-support-/25855-image-survol#25876 "Bonjour, dans la vue en liste, je voudrais afficher une image plus grosse lorsque l'on survole les imagettes de produits.  pour celà j'ai : 1) installé le plugin tooltips de nonumber (  www.nonumber.nl/extensions/tooltips ). 2) modifié le fichier listing&#95;img.php pour y intégrer les tags du plugin {tip}{/tip}  j'ai fais un test avec une image &quot;en dur&quot; = pas de problème, j'obtiens le comportement attendu.  mon problème : je ne sais pas comment appeler l'image thumbnail définie dans la configuration générale  pouvez-vous m'aider ? merci  edit : le code ne s'affiche pas correctement une fois publié dans le forum : que faut-il faire ?")*

merci de votre réponse.

le code : $this-&gt;image-&gt;uploadFolder_url.'thumbnail_'.$this-&gt;image-&gt;main_thumbnail_y.'x'.$this-&gt;image-&gt;main_thumbnail_x.'/'.$image-&gt;file_path;
me donne le chemin (/media/com_hikashop/upload/thumbnail_60x60/) mais il manque le nom du fichier.

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

15 years 2 months ago [\#25884](#25884) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Image survol](/forum/5-support-en-francais-french-support-/25855-image-survol#25884 "Bonjour, dans la vue en liste, je voudrais afficher une image plus grosse lorsque l'on survole les imagettes de produits.  pour celà j'ai : 1) installé le plugin tooltips de nonumber (  www.nonumber.nl/extensions/tooltips ). 2) modifié le fichier listing&#95;img.php pour y intégrer les tags du plugin {tip}{/tip}  j'ai fais un test avec une image &quot;en dur&quot; = pas de problème, j'obtiens le comportement attendu.  mon problème : je ne sais pas comment appeler l'image thumbnail définie dans la configuration générale  pouvez-vous m'aider ? merci  edit : le code ne s'affiche pas correctement une fois publié dans le forum : que faut-il faire ?")*

En effet, il faut changer $image-&gt;file_path par $this-&gt;row-&gt;file_path pour ce fichier là.

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

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

Less More

- Posts: 74
- Thank you received: 7
-
-

15 years 2 months ago [\#25890](#25890) by [marcmarc](/forum/user/1529-marcmarc "View marcmarc's Profile")  Replied by *[marcmarc](/forum/user/1529-marcmarc "View marcmarc's Profile")* on topic *[Re: Image survol](/forum/5-support-en-francais-french-support-/25855-image-survol#25890 "Bonjour, dans la vue en liste, je voudrais afficher une image plus grosse lorsque l'on survole les imagettes de produits.  pour celà j'ai : 1) installé le plugin tooltips de nonumber (  www.nonumber.nl/extensions/tooltips ). 2) modifié le fichier listing&#95;img.php pour y intégrer les tags du plugin {tip}{/tip}  j'ai fais un test avec une image &quot;en dur&quot; = pas de problème, j'obtiens le comportement attendu.  mon problème : je ne sais pas comment appeler l'image thumbnail définie dans la configuration générale  pouvez-vous m'aider ? merci  edit : le code ne s'affiche pas correctement une fois publié dans le forum : que faut-il faire ?")*

merci, c'est bien ça.

malheureusement mon "truc" n'a pas l'air de fonctionner dès lors qu'il y a une variable.
par exemple,
- ça, ça marche : echo '{tip &lt;img src="/media/com_hikashop/upload/parurehellokitty.jpg" /&gt; }';

- ça, ça ne marche pas : echo '{tip &lt;img src="'.$this-&gt;image-&gt;uploadFolder_url.'thumbnail/'.$this-&gt;row-&gt;file_path.'/&gt; }';

j'imagine que c'est le plugin qui est en cause.

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

15 years 2 months ago [\#25891](#25891) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Image survol](/forum/5-support-en-francais-french-support-/25855-image-survol#25891 "Bonjour, dans la vue en liste, je voudrais afficher une image plus grosse lorsque l'on survole les imagettes de produits.  pour celà j'ai : 1) installé le plugin tooltips de nonumber (  www.nonumber.nl/extensions/tooltips ). 2) modifié le fichier listing&#95;img.php pour y intégrer les tags du plugin {tip}{/tip}  j'ai fais un test avec une image &quot;en dur&quot; = pas de problème, j'obtiens le comportement attendu.  mon problème : je ne sais pas comment appeler l'image thumbnail définie dans la configuration générale  pouvez-vous m'aider ? merci  edit : le code ne s'affiche pas correctement une fois publié dans le forum : que faut-il faire ?")*

Votre second code a pourtant l'air bon donc en effet cela vient peut être du plugin.

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

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

Less More

- Posts: 74
- Thank you received: 7
-
-

15 years 2 months ago [\#25893](#25893) by [marcmarc](/forum/user/1529-marcmarc "View marcmarc's Profile")  Replied by *[marcmarc](/forum/user/1529-marcmarc "View marcmarc's Profile")* on topic *[Re: Image survol](/forum/5-support-en-francais-french-support-/25855-image-survol#25893 "Bonjour, dans la vue en liste, je voudrais afficher une image plus grosse lorsque l'on survole les imagettes de produits.  pour celà j'ai : 1) installé le plugin tooltips de nonumber (  www.nonumber.nl/extensions/tooltips ). 2) modifié le fichier listing&#95;img.php pour y intégrer les tags du plugin {tip}{/tip}  j'ai fais un test avec une image &quot;en dur&quot; = pas de problème, j'obtiens le comportement attendu.  mon problème : je ne sais pas comment appeler l'image thumbnail définie dans la configuration générale  pouvez-vous m'aider ? merci  edit : le code ne s'affiche pas correctement une fois publié dans le forum : que faut-il faire ?")*

je vais donc voir de ce côté là et je mettrais ici le code résultant si ça fonctionne.
à bientôt

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

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

Less More

- Posts: 74
- Thank you received: 7
-
-

15 years 2 months ago [\#25948](#25948) by [marcmarc](/forum/user/1529-marcmarc "View marcmarc's Profile")  Replied by *[marcmarc](/forum/user/1529-marcmarc "View marcmarc's Profile")* on topic *[Re: Image survol](/forum/5-support-en-francais-french-support-/25855-image-survol#25948 "Bonjour, dans la vue en liste, je voudrais afficher une image plus grosse lorsque l'on survole les imagettes de produits.  pour celà j'ai : 1) installé le plugin tooltips de nonumber (  www.nonumber.nl/extensions/tooltips ). 2) modifié le fichier listing&#95;img.php pour y intégrer les tags du plugin {tip}{/tip}  j'ai fais un test avec une image &quot;en dur&quot; = pas de problème, j'obtiens le comportement attendu.  mon problème : je ne sais pas comment appeler l'image thumbnail définie dans la configuration générale  pouvez-vous m'aider ? merci  edit : le code ne s'affiche pas correctement une fois publié dans le forum : que faut-il faire ?")*

ça y est, ça marche...
je ne peux pas poster le code puisque le php est supprimé à l'affichage dans le forum mais voilà une copie d'écran avec la modif.  [ ![&#91;img](http://www.hikashop.com/media/kunena/attachments/legacy/images/tooltip.png) ](http://www.hikashop.com/media/kunena/attachments/legacy/images/tooltip.png "&#91;img")

- [ ![tooltip.png](/forum/attachment/1768) ](/forum/attachment/1768 "tooltip.png") [ ](/forum/attachment/1768?download=1 "tooltip.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vMjU4NTUtaW1hZ2Utc3Vydm9sP3RtcGw9bWFya2Rvd24=) 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.065 seconds

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