Lemaire
Forum Replies Created
-
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.
for now i can help myselves out putting the images in to the thumbs folder manualy.
All the rest works great!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.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 ??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 Thanks1 > 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) ?question: does thumbgen.php have anything to do with manualy uploading and/or displaying manualy uploaded preview images?
@praveen, i tried both replacing the functions mentioned in version 1.0, and installing version 1.1
Unfortunately, without any changes regarding manualy uploading preview images.
Maybe this helps:
even if i manualy drop preview images in the thumbs folder, name them the way you described (i.e. thumbs_nameofvideo.jpeg) and manualy ad the filename in the thumb_filename field, the preview image still does not show up.Otherwise: from a handling-, user-friendlyness-, video upload speed point of view this is an excellent plugin! (and I tested a lot of them :-))
Seem to just receive your replies in my mailbox, but cannot see them in the post…
Anyway… i am experiencing exactly the same as Teretax describes in the other post.
Select image, imagename shows in the pop up, click upload and nothing happens… no error, nothing.noticed you provided some alternative codepieces in the other post, howeber one of them does not show due to moderator intervention :-)?
Would like to try this before examining the script myselves.
This has nothing to do with permissions, since even if i attempt to manualy upload preview images on the local server – full permission set for everyone – it does not work.
By the way, i checked the path in the database and this seems to be according to the actual situation as described above.
I am running wordpress 3.0 with the twentyten template on a win2k server.Same issue over here, and i guess user Teratax in the ‘some issues’ post is refering to this as well.
In this post you are mentioning where the thumbs go.
In my case however after installation the video gallery folder is not located in the uploads folder, but one step above in the wp-content folder.
I did not examine the code yet, but could this be the cause?