e2interactive forums » Sample of (E)2 Photo Gallery

Search:

Max thumbnail number

(3 posts)

  1. anna
    Member

    Hi all,

    I'm trying to add some images to my uploader, but I can't put more than 7: I can scroll up to 6 1/2 thumbnails, then their size exceeds the available space.

    It seems that the maximum space in pixels provided by the uploader is fixed, since I tried different thumb sizes. However, I see that dotugo uploaded 24 images without any problems. How did you do that?! The only difference I see with my pictures is that they are different-sized, but are very small in kBs.

    Thanks in advance.

    Posted 9 months ago #
  2. There shouldn't be any limit to the number of thumbnails you can have in a gallery, I have no limit to that number. But if you change the default thumbnails size then yes the amount that is scrolled on click to see more thumbnails the math will not add up. If you want to open the e2photo.js file and change the amount the thumbnails move each time you click on the more image.

    Change the variable named:

    var moveamount=106; if you thumbnails are smaller than 100x100.

    Whatever the width of your images are add 6 to it to compensate the padding and border width of each thumbnail. You'll have to play with it to get it to work sometimes.

    Posted 9 months ago #
  3. anna
    Member

    Thank you very much for your reply. Maybe it's better to keep the thumbnails to the default size. But, in case I can't, you already gave me the solution!

    Thanks again.

    Posted 9 months ago #

RSS feed for this topic

Reply

You must log in to post.