- #1
finchie_88
Hi everyone. I want to display a picture (a jpeg if that make any difference) inside a dialog box, how do I do it?
Evo said:Is it an online journal? It would depend on what has been disabled. You can try <img src="http://xxxxxxxxxxxxxxxxxxxxx"border=0> to upload a picture that is hosted on a website.
Mattara said:<img src="http://xxxxxxxxxxxxxxxxxxxxx.extension" border="0" alt="alt_text_here" />
*cough*
:rofl:
finchie_88 said:I'm writing in C++, and want to make a tetris game. It's going ok, I just wanted to add a few pictures that's all.
The purpose of displaying a picture in a dialog box is to provide visual information or guidance to the user in a more prominent and eye-catching way.
To display a picture in a dialog box, you can use a programming language such as HTML, JavaScript or CSS to create a dialog box and insert the picture using the appropriate code or element.
Yes, you can customize the appearance of the picture in the dialog box by using CSS to adjust the size, position, border, and other visual elements of the image.
Yes, you can display multiple pictures in a single dialog box by using HTML or JavaScript to create a slideshow or gallery within the dialog box.
Yes, you can make the picture in the dialog box clickable by using a link or button element and adding an event listener in JavaScript to handle the click and perform the desired action.