1
Mods & Plugins (Requests & Discussions) / webcam Mod
« on: May 21, 2006, 09:40:01 AM »
hello
i am traying to added webcams to my gallery
how it is possible please to change the Template file for JPG to when in the upload the option webcam in cat_id = 48
this template is correct
thanks for your help the is an erreure in the template
i am traying to added webcams to my gallery
how it is possible please to change the Template file for JPG to when in the upload the option webcam in cat_id = 48
this template is correct
thanks for your help the is an erreure in the template
Quote
<!-- Template file for JPG Files -->
<p align="center"><img src="{media_src}" name="myImageName" >
<input type="hidden" name="cat_id" value="{cat_id}" />
<script language="JavaScript">
if (cat_id=48)
{
time=10000
}
else
{
time=1000000
}
function reloadImage() {
if (document.images) {
document.images.myImageName.src = '{media_src}?' + (new Date()).getTime();
}
setTimeout('reloadImage()',time);
}
setTimeout('reloadImage()',time);
</script>
</p>