andreamarucci wrote:I imagine. Do you know a script that can read random images from the content folder so that maybe I can use it with xenforo to display these images in the forum and connect to the gallery?
Even if I did know a script that reads random images, how would you include it into xenforo? Are you the owner of the xenforo website? ... that would be necessary, since you would need to make it into an extension ... You can't just add executing PHP code into a page.
Most importantly though, if you are the owner of the xenforo, why are you not asking this in the xenforo community?
https://xenforo.com/community/ If there is an extension, or if anyone knows the answer, it would be there ... It would have to be an add-on or plugin (or what they call it at xenforo).