Hi, as the subject says, I'm not quite sure what I've done, but now on my main page I get: Warning: Missing argument 4 for get_images() in (mywebsite)/index.php on line 2898 I've looked to try to see what the issue could be but line 2898 is only: function get_images($location,$sort,$index,$video) { so I am assuming it is something to do with the $video tag but I haven't found any errors that are obvious to me (mind you, I am pretty daft when it comes to PHP source coding). I've been trying to modify this script a little to basically showcase some audio and video files of my son for our family overseas to be able to view and download. I think I've pretty much got everything the way I want except for getting rid of this error. On a sidenote, is there any way to automatically generate a thumbnail of the video files for display rather than having a generic icon for each filetype? I would much rather (if possible) have these videos showcased with a preview icon rather than just an MPG or MP4 icon. Thank you for your assistance. |
|||

Argument missing
You could bypass it by using this:
function get_images($location,$sort,$index,$video = false)
Getting icons from movie files in PHP is not possible, you would need to use an external serverside program like ffmpeg, will be quite complicated to implement and get working.