Author Topic: Template editing gone wrong  (Read 3349 times)

0 Members and 1 Guest are viewing this topic.

Offline darkcurves

  • Full Member
  • ***
  • Posts: 114
    • View Profile
    • KTM Railway Fan Club - Gallery
Template editing gone wrong
« on: April 12, 2005, 06:23:18 PM »
Hi, i recently wanted to upload a few WMV files. So i created 'wmv.html' with:

Code: [Select]
<!-- Template file for WMV Files -->
{thumbnail}<br />

Then i added WMV to settings and successfully uploaded the files. The problem now is that the thumbnails are all mixed up. Please click http://www.ktmrailwayfan.com/pics/categories.php?cat_id=345 . If you click on the thumbnails, they are mixed up. Is it because of the wmv.html is? Any help will be appreciated. Thanks.  :D

Offline martrix

  • Hero Member
  • *****
  • Posts: 755
    • View Profile
    • overlord.cz
Re: Template editing gone wrong
« Reply #1 on: April 12, 2005, 11:56:58 PM »
That shows the "random image" thumbnail :(

Why don't you try it this way:
Code: [Select]
<!-- Template file for WMV files -->
<embed src="{media_src}" border="0" width="240" height="240" type="application/x-mplayer2"></embed><br />

?
MAяTRIX


Offline darkcurves

  • Full Member
  • ***
  • Posts: 114
    • View Profile
    • KTM Railway Fan Club - Gallery
Re: Template editing gone wrong
« Reply #2 on: April 13, 2005, 05:05:21 AM »
Thanks for your reply. I did exactly what you said and it works. The thing is, this way, everyone who click on it will download it straight away(bandwidth is expensive  :( ) Is it possible to use the thumbnail which will be linked to the download button?