Viewing 15 replies - 16 through 30 (of 99 total)
  • Plugin Author Praveen Rajan

    (@praveen-rajan)

    @lemaire

    Thanks for mentioning.

    I tried adding an image through FTP in my development server following the naming conventions and it is showing up perfectly.

    This is was what i did.
    1. Upload a video wp-content/uploads/video-gallery/gallery_test/sample.mp4. Since FFMPEG is not installed in my webserver no preview was generated and hence default preview image is shown in gallery details page.
    2. Uploaded an image file through FTP `wp-content/uploads/video-gallery/gallery_test/thumbs/thumb_sample.jpeg’.

    Are you getting just the link Click to Watch Video? If so its issue with thumbgen.php. The folder wp-content/plugins/cool-video-gallery/lib/cache/ should be given permission 777

    Thanks

    Plugin Author Praveen Rajan

    (@praveen-rajan)

    Yes, thumbgen.php is used to create thumbnail from uploaded image with different options.

    This is was what i did.
    1. Upload a video wp-content/uploads/video-gallery/gallery_test/sample.mp4. Since FFMPEG is not installed in my webserver no preview was generated and hence default preview image is shown in gallery details page.
    2. Uploaded an image file through FTP `wp-content/uploads/video-gallery/gallery_test/thumbs/thumb_sample.jpeg’.
    Are you getting just the link Click to Watch Video? If so its issue with thumbgen.php. The folder wp-content/plugins/cool-video-gallery/lib/cache/ should be given permission 777 Thanks

    1 > i did exactly the same
    2 > i did the same, however now i am confused:

    Do i have to name the preview image thumb or thumbs_sample.jpeg?
    Where exactly is the thumbs folder supposed to be located:
    wp-content/uploads/video-gallery/gallery_test/thumbs
    or
    wp-content/video-gallery/gallery_test/thumbs (since this is where it is located by default) ?

    Plugin Author Praveen Rajan

    (@praveen-rajan)

    Confused seeing the names i used ??
    Let me be more clear then

    If the video name is sample.mp4 then preview image name should be thumbs_sample.jpeg(sorry i missed the ‘s’ of thumbs in earlier post ;)).

    A second example just to make it more clear.
    If the video name is ‘test.mp4’ then preview image name should be ‘thumbs_test.jpeg’

    *Extension should be jpeg

    About the path, in new version there is a change of upload path. The new path is wp-content/uploads/video-gallery/gallery_test/ for gallery and wp-content/uploads/video-gallery/gallery_test/thumbs/ for thumbnails where gallery_test is the gallery name. This can change with gallery name.

    Hope its clear to you now.

    Thread Starter poodyglitz

    (@poodyglitz)

    @praveen: Updated plugin. Thumbnails show up now.

    Perfect! Thanks!

    Looking forward to seeing the gallery feature.

    Plugin Author Praveen Rajan

    (@praveen-rajan)

    @poodyglitz

    The gallery feature is incorporated in the new release. You can use the shortcode [cvg-gallery galleryId='gid'] where gid is the gallery id.

    Thanks

    Ok, i am one step further tracking down what’s causing this issue.
    Don’t laugh: part of the problem is the preview images extention, which in my case normaly is JPG.
    Now… the script writes the thumbs name in to the mysql database with the extension JPEG.

    Once i discovered this, i manualy changed the extension in the database to JPG, and voila… the images shows up on the screen ??
    I bet that if i manualy change the extension from jpg to jpeg, the upload will function… however changing the extension is not that easy as it sounds (it used to be easier back in the win98 times :-))
    As there is no actual difference between jpg and jpeg, i guess Altering the script to accept both jpg and jpeg will be more convienent than manualy changing image extensions ??

    Plugin Author Praveen Rajan

    (@praveen-rajan)

    @lemaire

    Thanks for the finding.

    But the script is written so that if jpg or jpeg files are uploaded the thumbnail will be generated with extension jpeg(which is same as that stored in db).

    yes, exactly, what i forgot to mention is that i manualy put the .jpg image in the thumbs folder. What happens next is that the .jpeg extension in the db does not match the .jpg extension in the thumbs folder, so the script switches to the default image…

    Using version 1.1 i just tried to upload an image with .jpeg extension but that does not work either.
    I mean: the image file name is written in to the db allright, but no image file is stored in to the thumbs folder…
    I am a bit lost as to what may be causing this.

    for now i can help myselves out putting the images in to the thumbs folder manualy.
    All the rest works great!

    Plugin Author Praveen Rajan

    (@praveen-rajan)

    Oh!!! I will look into that issue for sure and keep you updated. Thanks!!

    If you like my plugin pls help me out wid the rating ??

    I guess i narrowed down the possible cause for this to the part in core.php that takes care of uploading the preview images, so i will take a look in to it as well.

    @ Lemaire
    coool … it works !!!
    thanks for your investigation
    kind regards, alex

    Hallo @all,

    Thanks for the cool plugin, a really great job. Now I have a problem, whenever I get a new video of course an ID is there any way to change this to sort the videos in the gallery?

    ThX SiLent

    Plugin Author Praveen Rajan

    (@praveen-rajan)

    @mindbomb-medien

    There is no sort feature in a gallery at present. The videos are listed in gallery according to order of upload of videos to that gallery.

    I will see to this feature in my next plugin upgrade. If you like the plugin please help me out with rating ??

    Thanks
    Praveen

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