ID:176451
 
Im not very good with coding with the browser and i was wondering if there is away to make it show pictures with titles under it....if so please tell me, thanks in advance!

-Cri0
I just read through the 'browse()' functions, and from what I can tell, you could do this:
mob/verb
Show_Picture(F as file) // browse for a file
var/picture = F // make the variable "picture", set to the file selected.
usr << browse_rsc(picture,"thepicture.jpg") // refer to the picture as "thepicture.jpg"
usr << browse("<img src=thepicture.jpg><br>Title here") // display it in the browser


Tell me if it works.

~>Volte
In response to Volte
Why does it open up a thingy so i can choose the picture like in a send file code where you choose the file to send?
In response to Koolguy900095
Because that's what F as file does.