I am using images as buttons on my branch table. Everything seems fine while editing and inserting the images, but as soon as I preview the lesson there are no images, just empty buttons.
I checked the html code and it all looks happy.
<img title="what is" height="76" alt="what is" hspace="0" src="http://oursite.com/develop/file.php/4/what_is.jpg" width="129" border="0" />
Any ideas on why the images aren't appearing? I am using the 'Use Editor' option.
Erin,
You can not have images inside buttons. What you want to achieve (or something similar) is of course possible in HTML, but it is not possible in the Moodle Lesson interface as is.
Joseph
You can not have images inside buttons. What you want to achieve (or something similar) is of course possible in HTML, but it is not possible in the Moodle Lesson interface as is.
Joseph
Good one Joseph. Wonder if that is in the Lesson Docs? And is it a Tracker item?
Erin, you could try to insert a question page and use it as a branch table. But it will not have the button effect.
Best Chris
Erin, you could try to insert a question page and use it as a branch table. But it will not have the button effect.
Best Chris
I don't think this is a case for bug tracker, since it is not a bug. I can't think of any other place in Moodle where it might be possible to insert an image inside a button. Of course, the problem here comes from the fact that in the Lesson Branch Table option, a text (possibly using the HTML editor) is transformed into a Button label, which may lead to the confusion. Chris, I leave it up to you to decide whether to include a Warning note in the Lesson docs.
Joseph
Joseph
Oh well, Plan B then.
Cheers everyone
Cheers everyone