Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Thumbs number

  1. #1
    Join Date
    Mar 2008
    Posts
    8

    Default Thumbs number

    hi,

    is it possible to increase the number of preview thumbs?
    I've searched everywhere, files and db, but couldnt figure out how to do it.

  2. #2
    Join Date
    Mar 2008
    Posts
    8

    Default Re: Thumbs number

    solved.
    I had to modify class.video_thumb.php :)

  3. #3
    Join Date
    Mar 2008
    Location
    Dayton, Ohio
    Posts
    52

    Default Re: Thumbs number

    can you describe what changes you made to the file? Thank you

  4. #4
    Join Date
    Mar 2008
    Location
    Canada Eh?
    Posts
    37

    Default Re: Thumbs number

    Bump for this thread. I'd like to find out what you did too!
    http://www.asiancumtube.com Send Traffic, Make $$$
    Check the webmasters link at the bottom of the site

  5. #5

    Default Re: Thumbs number

    have a look inside... should have 3 commands.. i would guess copy and paste it to make it 4? not 100 percent as im not at home to see

  6. #6
    Join Date
    Mar 2008
    Location
    Dayton, Ohio
    Posts
    52

    Default Re: Thumbs number

    Quote Originally Posted by Boxerman
    have a look inside... should have 3 commands.. i would guess copy and paste it to make it 4? not 100 percent as im not at home to see
    Do not believe that is correct. There is a for loop in this file. It is simple to produce the extra thumbnails, however I am missing something because I can not get the rotator.js file to recognize them. Whoever can figure this out, I will bring great praise. Thanks! :)

  7. #7
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default Re: Thumbs number

    My guess is to change the variables in rotator.js to reflect the number of thumbs it needs to change, since that number was changed elsewhere.
    If it's not fun, stop doing it!

  8. #8
    Join Date
    Mar 2008
    Location
    Dayton, Ohio
    Posts
    52

    Default Re: Thumbs number

    Quote Originally Posted by grynmoors
    My guess is to change the variables in rotator.js to reflect the number of thumbs it needs to change, since that number was changed elsewhere.
    ok I will try that tonight. Thank you for the feedback

  9. #9

    Default Re: Thumbs number

    WhiteNoise or Anyone -

    Can you share how the steps required to do this say make it have 5 thumbs?

    Thanks!!

    MTOD

  10. #10
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default Re: Thumbs number

    I had to modify class.video_thumb.php
    Did you look there ?

    Check these pieces of code:

    Code:
    		$imagewidth = $imagedata[0];
    		$imageheight = $imagedata[1];
    		$imagetype = $imagedata[2];
    Code:
    		unlink($thumb_folder . '/' . $t_info['vid'] . ".jpg");
    		unlink($thumb_folder . '/1_' . $t_info['vid'] . ".jpg");
    		unlink($thumb_folder . '/2_' . $t_info['vid'] . ".jpg");
    		unlink($thumb_folder . '/3_' . $t_info['vid'] . ".jpg");
    and

    Code:
    		} elseif ($imagetype == 3) {
    I'm wondering if you add

    Code:
    $imagetype = $imagedata[3];
    $imagetype = $imagedata[4];
    and

    Code:
    unlink($thumb_folder . '/4_' . $t_info['vid'] . ".jpg");
    unlink($thumb_folder . '/5_' . $t_info['vid'] . ".jpg");
    and change the elseif to
    Code:
    		} elseif ($imagetype == 5) {
    and check around for anything else with "3" in it....

    That how you did it whitenoise?
    If it's not fun, stop doing it!

Page 1 of 2 12 LastLast

Similar Threads

  1. Change number of channels
    By riffhard in forum Installation Support
    Replies: 0
    Last Post: 04-10-2008, 01:54 AM
  2. Number of Videos question
    By bane in forum Template Modifications
    Replies: 2
    Last Post: 11-30-2007, 10:02 PM
  3. The number of visitors is great, but no results. What is the
    By JaysonM in forum General Discussions
    Replies: 0
    Last Post: 10-11-2007, 11:50 AM
  4. Number of Visits
    By karlmay in forum General Discussions
    Replies: 1
    Last Post: 10-09-2007, 03:42 PM
  5. number of MySQL connections vshare uses?
    By leki in forum Installation Support
    Replies: 1
    Last Post: 07-09-2007, 06:29 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •