Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    •  
      CommentAuthortjk
    • CommentTimeSep 6th 2006
     
    Hi ppl
    my medium sized pics are 500px and fullsize are 640px
    since my pics are already about 500Mb i want to get rid of medium-size images so that the full size ones would be shown (or in the other way - to put a size in options from 500 to 640px and get rid of fullsize images) coz in total medium and fullsize images give around 1Gb and i want to save some money.

    I know that plogger generates med-sized images "on demand" from full-sized ones, so i have no idea how to solve my problem.
    •  
      CommentAuthortjk
    • CommentTimeSep 10th 2006
     
    no way?
    •  
      CommentAuthortjk
    • CommentTimeSep 17th 2006
     
    ok... is it possible just to make plogger generate all the medium sized images at the time they are added to the gallery?
    •  
      CommentAuthortjk
    • CommentTimeSep 30th 2006
     
    or how to turn off the generationg script? if i simply switch the links of medium and large size.

    can u tell me when are the medium sized images generated? please tell me the piece of that code...
    •  
      CommentAuthortjk
    • CommentTimeOct 2nd 2006
     
    ok. i did it.

    so if someone esle needs to use uploaded images in the gallery and slideshow without resizing and without generating resized ("lrg-" ones) do the following

    in gallery.php:

    1. replace <img class="photos-large" src="'.$thumburl.' with <img class="photos-large" src="'.$config["baseurl"].'images/'.$row["path"].'

    2. delete $thumburl = generate_thumb($row['path'], $row['id'], 'large');

    3. replace s.src = "'.generate_thumb($row["path"], $row["id"], 'large').'";
    with s.src = "'.$config["baseurl"].'images/'.$row["path"].'";

    4. replace s.link = "'.generate_thumb($row["path"], $row["id"], 'large').'";
    with s.link = "'.$config["baseurl"].'images/'.$row["path"].'";

    in plog-admin-functions.php:

    5. delete $thumbpath = generate_thumb($picture_path, $result['picture_id'],'large');

    this really saves space on the server