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

#   Add tooltip at thumbnails images in product page

##

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

Less More

- Posts: 12
- Thank you received: 0
-
-

15 years 5 months ago [\#17513](#17513) by [Galassi](/forum/user/1609-galassi "View Galassi's Profile")  *[Add tooltip at thumbnails images in product page](/forum/2-general-talk-about-hikashop/17513-add-tooltip-at-thumbnails-images-in-product-page#17513 "Hi. Is there anyway to add descriptive text and/or tooltips to the thumbnails images in product page?  For example, I might use the &quot;Name&quot; field of the images list of product page?  Greetings.")* was created by *[Galassi](/forum/user/1609-galassi "View Galassi's Profile")*

Hi.
Is there anyway to add descriptive text and/or tooltips to the thumbnails images in product page?

For example, I might use the "Name" field of the images list of product page?

Greetings.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzE3NTEzLWFkZC10b29sdGlwLWF0LXRodW1ibmFpbHMtaW1hZ2VzLWluLXByb2R1Y3QtcGFnZT90bXBsPW1hcmtkb3du) or [Create an account](/register) 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: 86322
- Thank you received: 14281
-
-

15 years 5 months ago [\#17515](#17515) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Add tooltip at thumbnails images in product page](/forum/2-general-talk-about-hikashop/17513-add-tooltip-at-thumbnails-images-in-product-page#17515 "Hi. Is there anyway to add descriptive text and/or tooltips to the thumbnails images in product page?  For example, I might use the &quot;Name&quot; field of the images list of product page?  Greetings.")*

With the name field of your images, it will add a title on the image.
If you want a tool tip on it using the name of the image, you can edit the file administrator/components/com_hikashop/helpers/image.php and change the line:
$html = '&lt;a class="hikashop_image_small_link" rel="{handler: \'iframe\', size: {x: '.$this-&gt;width.', y: '.$this-&gt;height.'}}" href="'.$this-&gt;uploadFolder_url.$path.'" onclick="SqueezeBox.fromElement(this,{parse: \'rel\'});return false;" target="_blank" onmouseover="return hikashopChangeImage(\''.$addpopup.'\',\''.$this-&gt;uploadFolder_url_thumb.'\',\''.$this-&gt;thumbnail_x.'\',\''.$this-&gt;thumbnail_y.'\',this);" '.$optionslink.'&gt;'.$html.'&lt;/a&gt;';

to:
$html = '&lt;a title="'.$alt.'" class="hikashop_image_small_link" rel="{handler: \'iframe\', size: {x: '.$this-&gt;width.', y: '.$this-&gt;height.'}}" href="'.$this-&gt;uploadFolder_url.$path.'" onclick="SqueezeBox.fromElement(this,{parse: \'rel\'});return false;" target="_blank" onmouseover="return hikashopChangeImage(\''.$addpopup.'\',\''.$this-&gt;uploadFolder_url_thumb.'\',\''.$this-&gt;thumbnail_x.'\',\''.$this-&gt;thumbnail_y.'\',this);" '.$optionslink.'&gt;'.$html.'&lt;/a&gt;';

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

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