Newer templates after June 2021 have support for GIF and MP4 files within tour areas, but require a template update and migration process to have support for this. A guide on migrating to this new setup is available here:
Update existing tour templates to support GIF / MP4 files
Alternatively, we support the ability for your tour areas to use members area thumbs instead. Below is a guide on how to achieve this:
Here's an example:
In tour/templates/update_table_preview.tpl, you will see a block of code that looks like this:
<?php StdImage(["set" => $set, "class" => "small_update_thumb thumbs", "usepriority" => "2"]); ?>
In order to get this to use the members area thumbnails instead of the tour area thumbnails, you can change this line to:
<?php StdImage(["set" => $set, "class" => "small_update_thumb thumbs", "usepriority" => "14", "memberthumb" => 1]); ?>
Here, we are:
- Changing the value of usepriority to one of the Thumbnail Positions used in your members area. 14 is commonly used in members areas.
- Adding memberthumb = 1.
By making these changes, you should be able to use GIF files within your tours.
Note:
If your functions/standard.tpl file within your template folder is dated before 2012-01-26, you may need to update this file for this functionality work.