# zenVideo hack to provide AVI direct download links # tested on zenPhoto 1.0.8 # with a source install of zenVideo 0.3.1 # # zenPhoto: http://www.zenphoto.org/ # zenVideo: http://la0c00n.info/zenvideo/ # # last modified 5-19-07 # by Pig Monkey (pm@pig-monkey.com) #################################################### Locate the template-functions.php file in your zen directory. On line 726 of template-functions.php (the line doesn't matter much -- this just happens to be right underneath the getFullImageURL() function that I was looking at) add a function to strip the .flv extension provided by getFullImageURL() and add a .avi: function aviURL() { $name = getFullImageURL(); $ext = strrchr($name, '.'); if($ext) { $name = substr($name, 0, -strlen($ext)); $name .= ".avi"; } return $name; } Edit line 698 to add a