The tooltip is not specifiedIn the image settings, but appears when you hover the cursor as a file name.
How to remove tooltip?
If no tooltip is specified then it should not show. Please provide more information.
For example.
The tooltip is not specifiedIn the image settings
https://georrus.wixsite.com/fireandalp/vybor
But when you hover over the cursor, you see a tooltip.
console.log($w(“#image15”))
{“id”:“image15”,“type”:“$w.Image”,“global”:false,“rendered”:true,“alt”:“”,“tooltip”:“%D0%B1%D0%BE%D0%BF%20%D0%B6%D0%B5%D0%BB%D1%82%20%D0%B1%D0%B0%D0%B7%D0%B0%20%D1%84%D1%80%D0%BE%D0%BD%D1%82.png”,“src”:“wix:image://v1/4e7be9_a670d9be2101499597b4dddeedefa007~mv2.png/%25D0%25B1%25D0%25BE%25D0%25BF%2520%25D0%25B6%25D0%25B5%25D0%25BB%25D1%2582%2520%25D0%25B1%25D0%25B0%25D0%25B7%25D0%25B0%2520%25D1%2584%25D1%2580%25D0%25BE%25D0%25BD%25D1%2582.png#originWidth=907&originHeight=858”}
Thank you,
I’m looking at the vybor page but I don’t see #image15 displayed. All I see is the repeater at the top of the page.
Sorry, but I need help.
Repeater images come from the base. I can not insert the script code for them. There is no a tooltip in the template. #image15 is hidden at first, but when you click on the image in the repeater, the viewer is shown.
#image15 is first of three icons, comes from the base and shows with a tooltip.
console.log($w(" #image15 “)) shows that a tooltip has already been appointed . Probably this information is written in the database .
I tried to clean, by $w(”#image15").tooltip=‘’ , but it did not help .
#image1 6, 17 also show a tooltip.
Hi,
I see what you’re talking about now. It doesn’t make sense at all to me - seems like a bug of some sort… I’m going to discuss this with QA and see what they say.
I tried a workaround by linking the tooltip to Title. At least this way the tooltip isn’t nonsense and makes sense. You can do this until we can solve the problem.
I hope this helps,
Yisrael
Hi,
I reported this to QA as it appears to be a bug.
Thank you for pointing this out.
Yisrael
Hi Alexander,
I can suggest a workaround,
Images that uploaded to MediaManager and after you are using them in database, shows the tooltips as a file names.
In case that it is a few images, you can replace them in database with URL’s
Once it defined as URL it will not take the default tooltip.
Thanks.
Thanks to Yisrael and Alexander .
I’ll try .
If you specify a space in the tooltip, it is not entered.
Thanks !
some progress on fixing this bug? I have this problem even if the images are being loaded using code.
Does anyone from Wix EVER reply?! I’m still having this same problem!
Just found the following elsewhere on this forum, which works perfectly:
$w.onReady(function () {
$w("#dataset1").onReady( () => {
$w("#image1").tooltip = "";
} );
});
Yes that is how to do it in code, just use the tooltip function.
https://www.wix.com/corvid/reference/$w.Image.html#tooltip
However, you should just be able to do it yourself through the image settings.
https://support.wix.com/en/article/adding-a-tooltip-to-an-image
A year ago (see my post above) I tried to clean, by $w(“#image15”).tooltip=‘’ , but it did not help .
Support.wix.com advises: "To remove the tooltip, follow the instructions above but in step 3, delete the text. ", but it did not help. Only If I specifyed a space in the tooltip, it was remove.
Now the problem is back - the short file name is again displayed. But now your offer helps!
Have you checked how this works in the repeater when the images are received from the database?
I’ve found that certain triggers can refresh the original state of the tooltip depending on how the code is written, so the most reliable way to ensure the tooltip doesn’t reappear is to set it to an empty string through event listeners. i.e. :
$w('#imgname').onMouseIn(() => { $w('#imgname').tooltip = '' });
$w('#parentname').onMouseIn(() => { $w('#imgname').tooltip = '' });
Right. However, this seems like a bug.
I think the problem is deeper. Please note that it is not tooltip that is displayed - the file name.