Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • @ Praveen
    now it works with the instructions from “Lemaire”

    maybe you modifiy the code for upload-preview img – and datas with extensions like “jpg” are allowed too, because in the db is jpeg and jpg not the same !
    What do you think ?
    best alex

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

    @ Praveen
    I upgraded to the new release too
    –replace get_max_size with the new code
    –can´t replace the “upload_function” code, because you don´t wrote the new ones in this posts
    –my current function_upload code reads:

    <br />
    function upload_preview() {</p>
    <p>		// Videos must be an array<br />
    		$imageslist = array();</p>
    <p>		// get selected gallery<br />
    		$videoID = (int) $_POST['TB_previewimage_single'];</p>
    <p>		if ($videoID == 0) {<br />
    			CvgCore::show_video_error(__('Error uploading preview image!'));<br />
    			return;<br />
    		}<br />

    try to set a new gallery with a previe img – but still the same default img.
    I resize my preview-img smaler= with=100px and I upload via FTP the preview-file in the thumbs, but nothing changed!

    whats up with the “thumbgen.php” maybe there have to be a new code…??!!

    when I try to upload the preview-img, I saw in the popup that you wrote “…only jpeg images allowed” – if I save an img, my file read: “example.jpg” not “example.jpeg” !

    maybe tis is wrong… what do you think ?
    best alex

    @praveen
    permissions:
    /wp-content/uploads = the set-permission are 755 – I chmodded to 777 but is doesnt work… if I check the permissions after the set is still 755 (the subfolders are 777)!!
    video-gallery and all subfolders(also thumbs)are 777

    upload-process :
    the popup-window open, I search my file(harddrive)-open the file, the popup registered my file, then I use the button to upload, the popup dissolves, but I get no message like “successful upload” !!
    I reload the Gallery-Details but the default img doesnt change.

    best alex

    @ teretax
    you wrote, some videos works with cvg !
    What did you mean:
    works= upload+play your video in the cvg-gallery and upload succesfull a personal thumbnail for this video
    or
    works= shown in your post with the default-thumbnail…?

    and witch kind of videos works on your website
    flv or/and mp4
    did you set the videos from your server or from youtube or somwere else ?

    thanks, alex

    –wordpress 3.0.4–Theme MistyLook– lib+cache are 777–FFMPEG is installed– http://su-voessing.de/video –firefox–

    @ Praveen
    I dont get the message: “Video preview image succesfully added” …also clear the browser-cache.

    I cant find my preview-img in the wp-files on my strato-server(search over filezilla) only the default-preview-img.png is still there!

    Questions:
    1. after upload, in witch folder have to be my new preview-img ?
    2. its possible to edit the new preview-img direct in my video-site ?
    3. what do you think to set the permissions for admin to 775 or 777 – maybe it works with the upload ( actually is 755)?

    is this code correct ?
    gallery-details.php

    //Section to upload preview imaage for video
    if(isset($_POST['TB_previewimage_single']) && !empty($_POST['TB_previewimage_single']) && trim($_POST['TB_UploadPreviewImage']) == 'Upload Image' && is_array($_FILES['preview_image'])){
    	if(empty($_FILES['preview_image']['tmp_name'][0]))
    		CvgCore::show_video_error(__('No preview images uploaded'));
    	else
    		CvgCore::upload_preview();
    }
    
    $gid = $_GET['gid'];

    Thanks

    –wordpress 3.0.4–Theme MistyLook–
    Hi Praveen, your plugin(cvg)is really great ! I have two questions:

    1. After install cvg, I set permissions to 777- then I add a gallery and upload a mp4 – then I go to *details and want to change the default img.png to my new img.jpg (72dpi-smal size), but it doesn´t change !

    2. I want to set the gallery in my wp-site, but I dont know how its works… what kind of code I´hv to use to embed a gallery to my site ?
    thanks for help & kind regards, alex

Viewing 7 replies - 1 through 7 (of 7 total)