Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • Pankaj Sharma Moderator
    #1010438

    Hi
    Open template folder /acm/video/tmpl/style-1.php
    Find

    
                            <img alt="" src="http://img.youtube.com/vi/<?php echo $video_link; ?>/maxresdefault.jpg" />

    You can add a custom image on it but it picks the thumbnail of video and if its not present it shows you the image as showing on site.

    Regards

    cmsfree Friend
    #1010442

    Will approach. But I can’t understand how to change

    cmsfree Friend
    #1010444

    And how to change the image? Where to lay down in what folder? The image from your example lies not on my website.

    Pankaj Sharma Moderator
    #1010448

    Hi
    Open template folder /acm/video/tmpl/style-1.php
    Find

       <img alt="" src="http://img.youtube.com/vi/<?php echo $video_link; ?>/maxresdefault.jpg" />

    replace it with

       <img alt="" src="http://ww.joomlart.commaxresdefault.jpg" />

    change image path with your image path.
    Regards

    cmsfree Friend
    #1010456

    It has perfectly turned out. I was confused by the PHP code in line. Thanks

Viewing 5 posts - 1 through 5 (of 5 total)

This topic contains 5 replies, has 2 voices, and was last updated by  cmsfree 7 years, 9 months ago.

The topic ‘the image for video’ is closed to new replies.