e2interactive forums » (E)2 Photo Gallery FAQ

Search:

Thumbnail size

(5 posts)
  • Started 9 months ago by sinisters
  • Latest reply from brubakrn

  1. Hello

    First of all: Wow super nice script and execution!
    I'm so happy with it!

    But offcourse i have a question.
    I want to adjust the size of the thumbnail images..I dont have a clue where to change this. I prefer to see smaller thumnail images and idealy it will me 5 colums (as it is) but 6 rows. So you can see 30 (smaller) thumbnails in one time.
    Can you help me out?

    Thanks So much
    Keep up the good work.

    Roland

    Posted 9 months ago #
  2. Thanks glad to see you like it.

    You can change the size of the thumbnails, but you'll have to resize and upload them manually to the thumbnail image folder. The uploader automatically resize but right now they resize to 100x100.

    If you want 6 rows of thumbnails, you'll need to modify the css a little too. The style you'd need to change is the #widthbox, it is set to display:inline; if you took that off and then gave the #widthbox a specific width, you might be able to do rows. I haven't really messed with trying this so it would be a little bit of trial and error till you get it to do what you want.

    Posted 9 months ago #
  3. brubakrn
    Member

    Hello, I was able to change the size that the uploader generates thumb as by changing the values here in the index.php located in the uploader folder:


    $handle->image_resize = true;
    $handle->image_y = 100;
    $handle->image_x = 100;
    $handle->jpeg_quality = 95;

    But now the thumbs keep scrolling to the right even though there aren't any more thumbs there. Any idea why?
    Here's where I've been playing around with it.
    http://www.foopyou.com/si/portfolio/

    Posted 2 months ago #
  4. Because you've change the default thumbnail size you need to change the javascript to know what size thumbnails you are using. The variable is var moveamount=106; in the e2photo.js file. You'll have to accomadate for image size plus pixel padding on the images that is added in the CSS. I think it is 2-4px on each side of the image.

    Posted 2 months ago #
  5. brubakrn
    Member

    That's what I thought, but my images are 50px wide, with 4px right-margin and 1px border, so I changed moveamount to 56, still keeps scrolling even though there's no more images.

    Posted 2 months ago #

RSS feed for this topic

Reply

You must log in to post.