1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Video icon

Discussion in 'Media Gallery Support' started by xfstyle, Jun 27, 2015.

  1. xfstyle

    xfstyle Member

    upload_2015-6-27_18-51-33.png

    how to add icon video on a thumbnail

    Thanks all
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    You could theoretically do it with CSS and Font Awesome. It's probably not trivial though so you would need to look for some general tutorials online and try to apply them to the XF(MG) CSS
     
  3. xfstyle

    xfstyle Member

    I can not distinguish between his image and video in html

    Video
    upload_2015-6-27_19-9-57.png


    Picture
    upload_2015-6-27_19-10-31.png
     
  4. Chris D

    Chris D XenForo Developer Staff Member

    The type is available in the template:

    {$item.media_type}

    That will either be image_upload or video_embed
     
    xfstyle likes this.
  5. xfstyle

    xfstyle Member

    oh, thanks @Chris D
     

Share This Page