Hover text for images not working

I added images and hover text showing untitled image when there is no option to provide title to images.

BV52's picture

Hi knowell,

  1. Where are you creating the content?
  2. What is the specific content type that you are using and version of it?

-BV52

I am creating drag and drop using images that need to be dragged to correct drop zones. I add text to the hover text option for each image but when I save and preview and hover my mouse over the images I get 'Untitled image' instead of the hover text I have added. There is no other option for giving the image a title in the drag and drop options as far as I can tell. Hoping you can please help!

BV52's picture

Hi zacwatt,

Thank you for the additional information. There is an existing bug report for this issue and you can follow the progress here.

-BV52

Thank you for the update, Bienvenido. Much appreciated. Good to see the issue has been resolved for multiple choice and fill in the blanks. Look forward to the drag & drop being fixed too. Great work!

papi Jo's picture

Actually, it seems that things have changed since the introduction of the "metadata" feature. Don't know when it was introduced, but it exists in H5P.DragQuestion-1.13. Text inserted in the Hover text field never gets displayed. You must now type it in the Metadata > Title field, as shown on the attached screenshot. Not terribly user-friendly.

BV52's picture

Hi papi Jo,

Thank you for the information. I updated the ticket with this information. The metadata was added sometime mid-November last year.

-BV52

otacke's picture

Hi Papi Jo!

I guess we can agree that this is not very user friendly and wasn't done on purpose, but it's a bug. It just required to add a couple of lines that I put into a pull request for fixing the hover text. You appeared to me to be capable of doing those changes yourself -- did you lose interest in contributing to H5P for some reason?

Cheers,
Oliver

papi Jo's picture

Thanks for the fix, just tested, works as expected.

Using drag and drop in a Column within the new Interactive Book, in h5p.org. I still get no hover text, only Untitled Image. Thanks for checking it out when you get time.

otacke's picture

Hi Jeff!

Checking https://github.com/h5p/h5p-drag-question/pull/45 you will notice that the pull request is still open and has not yet been merged in to the main code. And even when it's merged, the new version will have to be released before you will see changes.

Best,
Oliver