XF 2.0 text when you hover over an image

KSA

Well-known member
I have a custom field for images to be displayed under user info/postbit and I'm wondering on how to make the image title/name/text whatever you call it appears when hovering over the image. Lets say you have an image of a car and you named the file Lexus for example; how would you make the word "Lexus" appears when hovering over the image.
 
Here's an example:

Code:
<img src="https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png" title="Google">
 
Here's an example:

Code:
<img src="https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png" title="Google">

Thankx but I have around 200 images and Im not sure if I should apply that code to each image or I can just add something to the value displayed HTML box in custom user field.

It would much more convenient if I can add something to so code and will apply to all


HTML:
<img src="/path/to/image/{$value}.png" width=xx height=xx border="0" alt="{$value}">
 
It was missing the title part. Now its working. Thankx
<img src="/path/to/image/{$value}.png" width=xx height=xx border="0" alt="{$value}" title="{$value}">
 
Top Bottom