I am looking for something similar to this...I create my thumbnails manually and upload them via ftp. I always name them, by appending "tn_" to the beginning of the image name (e.g. "tn_IMAGENAME.jpg"). I choose to create a popup image which generates:
CODE
<a href="http://subdomain.domain.net/mt-static/images/IMAGENAME.html" onclick="window.open('http://subdomain.domain.net/mt-static/images/IMAGENAME.html','popup','width=568,height=451,scrollbars=no,resizable=no,toolbar=no,directories=no,lo
cation=no,menubar=no,status=no,left=0,top=0'); return false">View image</a>
I would like it to generate:
CODE
<a href="http://subdomain.domain.net/mt-static/images/IMAGENAME.html" onclick="window.open('http://subdomain.domain.net/mt-static/images/IMAGENAME.html','popup','width=190,height=251,scrollbars=no,resizable=no,toolbar=no,directories=no,lo
cation=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://subdomain.domain.net/mt-static/images/tn_IMAGENAME.jpg" height="80" width="106" align="top" border="0" hspace="0" vspace="0" alt="" title="" longdesc="" /></a>
Is there any way that I can have it generate this code automatically? I think that it is somehow possible in the CMS.pm file, but I'm a little nervous about hacking the file without a little guidance.
Once again any help would be appreciated. Thanks so much.
-danny