Viewing 15 replies - 31 through 45 (of 99 total)
  • Can you please clarify the issue with images not loading. I have tried to follow this post – have tried every solution mentioned here – and still I cannot get images to show no matter what I do.

    I have tried to upload a video and have the image created automatically – which it does using jpeg extension. However, no thumb image shows up in the admin for gallery or on the page for the video gallery.

    I have tried replacing it manually – that does not work.
    I have tired changing the extension from jpeg to jpg in the file name as well as the database.

    Nothing is working! Great plugin – exactly what I need, but can’t use it if there is no way to get a thumbnail image! Please advise and thanks so much for your time!

    Plugin Author Praveen Rajan

    (@praveen-rajan)

    @emgwebmaster

    I will be releasing another version soon with the issue fixed and lot more features. Please be patient till my next release.

    Thanks in advance
    Praveen

    Very good – will anxiously await the new release. In the meantime, is there any way to force the image to show, as I must present to a client tomorrow and really wanted to use this gallery. Thanks so much for getting back to me so quickly. Much appreciated.

    Plugin Author Praveen Rajan

    (@praveen-rajan)

    @emgwebmaster

    Are you getting Click to Watch Video text instead of video thumbnail?
    Then you could edit the file cool-video-gallery.php, function CVGVideo_Render replace this section and try using

    $output .=  '<img src="' . $this->plugin_url . 'lib/thumbgen.php?src=';
    $output .= $video['thumb_filename'];
    $output .=  '&w=' . $thumb_width . '&h=' . $thumb_height . '&zc=' . $cv_zc . '&q=' . $thumb_quality . '"' . 'alt="' . htmlspecialchars('Click to Watch Video') . '"/></a>';

    To be replaced with:

    $output .=  '<img src="' . $video['thumb_filename']  ;
    $output .=  '" style="width:' . $thumb_width . 'px;height:' . $thumb_height . 'px;"' . ' alt="' . htmlspecialchars('Click to Watch Video') . '"/></a>';

    Thanks – will try this for the gallery – in the meantime I just inserted an image into the page – copied and added the code for a single video – added a caption and it works fine! How will I know when the revised version is ready?!

    Plugin Author Praveen Rajan

    (@praveen-rajan)

    Okay good!!

    You can see the update notification in plugins page in admin panel when a new version is released. In addition to that I will add a reply to this thread. ??

    Help me with your rating for my plugin ??

    Okay – oddly enough, I inserted the code above as instructed, and the proper thumbnail image showed correctly on the home page. However, once I inserted the “read more” code to only show excerpt on homepage, and video gallery on the page…we’re back to the “click here to watch video” text instead of the video thumbnail.

    The images are also correct in the widget!

    Plugin Author Praveen Rajan

    (@praveen-rajan)

    You mean you are getting the Click here to watch video in excerpt of page instead of the video thumbnail?

    If that’s your case its issue with the excerpt since its getting truncated in between i guess.

    No sorry for the confusion…the page content that shows on the homepage will show the thumbnails properly on the homepage…however – not on the actual page. The video is not in the “excerpt” at all…

    Plugin Author Praveen Rajan

    (@praveen-rajan)

    Could you give me your development link if you don’t mind so that i can have a look at the issue.

    Thanks
    Praveen

    Okay – but please look quick and then let me know…as I don’t want to leave this for the client to see. Go to https://www.mwhcservices.com and look at “Service #4” – then click thru to the actual page – no thumbnails.

    Plugin Author Praveen Rajan

    (@praveen-rajan)

    Please replacing this again with this.

    cool-video-gallery.php function CVGVideo_Render

    $output .=  '<img src="' . $video['thumb_filename']  ;
    $output .=  '" style="width:' . $thumb_width . 'px;height:' . $thumb_height . 'px;"' . ' alt="' . htmlspecialchars('Click to Watch Video') . '"/>';
    $output .=  '<img src="'. site_url() . '/' . video['thumb_filename'];
    $output .=  '" style="width:' . $thumb_width . 'px;height:' . $thumb_height . 'px;"' . ' alt="' . htmlspecialchars('Click to Watch Video') . '"/>';

    Oops…that gave a syntax error on line 505

    Plugin Author Praveen Rajan

    (@praveen-rajan)

    Add the else condition to this just above the section.

    if(!file_exists(ABSPATH . '/' .$video['thumb_filename']))
    $video['thumb_filename'] = $this->plugin_url . 'images/default_video.png';
    else
    $video['thumb_filename'] = site_url() . '/' . $video['thumb_filename'];

    and keep the old section unaltered like

    $output .=  '<img src="' . $video['thumb_filename']  ;
    $output .=  '" style="width:' . $thumb_width . 'px;height:' . $thumb_height . 'px;"' . ' alt="' . htmlspecialchars('Click to Watch Video') . '"/></a>';

    New error – this didn’t work either. Sorry, but I have to go out and cannot continue to test. Shall I follow up a bit later or tomorrow please?

Viewing 15 replies - 31 through 45 (of 99 total)
  • The topic ‘[Plugin: Cool Video Gallery] Manual Preview Image Not Working’ is closed to new replies.