Fireball0236 wrote:
There is a small problem with the URL's...
First I went to:
http://robbiethe1st.afraid.org/twokinds ... alternate/I changed settings and got to (notice how "/" got changed to "%2F"):
http://robbiethe1st.afraid.org/twokinds ... &size=200&I wanted to go to a different folder, so I changed "alternate" to "other":
http://robbiethe1st.afraid.org/twokinds ... &size=200&I wanted to see more per page:
http://robbiethe1st.afraid.org/twokinds ... &submit=GoHere you can begin to see the issue. Allthough the correct images are still displayed (now), I am not in the folder "./other/" but what I assume to be ".%2Fother%2F" or something. Oddly, this works.
I would look up the
Ascii equivalent of '2F' hex.
In short, %2F *should* be there, however... %2f25 should *not*.
Fireball0236 wrote:
Next time I change the nb of images on the page (through your form, not editing the URL):
http://robbiethe1st.afraid.org/twokinds ... &submit=GoWhich brings me to the folder ".%25252Fother%25252F" which breaks (as it doesn't exist) and brings me back to the main "./" dir. And which gave me 200 large thumbnails to download, which during the load may partially have clogged your CPU xD ...
Well, I fixed the issue of it adding on stuff in the DIR box, it was a urlencode issue.
Fireball0236 wrote:
And I didn't even start trying to break it yet *sob* ... I love the gallery like this, but darn, my bandwidth will go easily xD (no unlimited in Belgium). I'm not sure how you make the thumbnails, but lowering the quality a bit would be possible, unless it's (horridly) CPU intensive. Caching spares bandwidth; generating saves computer space O o. Hard choise (well, unlike the rest of the forumers, I am almost out of space, I need to go write DVD's again >.> ).
Well, it is caching them(see the thumbs###.db file?) anyways.
I changed the thumbnails from being PNG to JPEG at 80% quality. Simple.
Fireball0236 wrote:
Seeing all those (fan-)art images makes me smile again :D .
EDIT: A suggestion, align the content of any cell (those that contain thumbnails) in the center, vertically too.
Changed. I actually used to have it like that, then thought it would look better top aligned.. ah well, back it goes.
GordonFreeman wrote:
Whoops, I managed to break it too.
When viewing the thumbnails (small), I have the "Per Page" setting set to 256, and when I select page 2, instead of displaying 257 - "<last comic number>", it displays 2 - 257.
This applies to all per page settings. Instead of displaying the next multiple of the per page setting, it displayed the "page number" to "page number + per page setting"
EX. "Per Page": 32 "Page": 1 Displaying 1-32 Images
"Per Page": 32 "Page": 3 Displaying 3-35 Images
What It Should Be:
EX. "Per Page": 32 "Page": 1 Displaying 1-32 Images
"Per Page": 32 "Page": 3 Displaying 65-96 Images
Note: This applies to all thumbnails
DOY
Fixed. This is why I put my stuff up, even though its beta - I would never have noticed it on what I had been testing it on - I had just 17 images in the folder, so it "worked" properly.
FoobyKamikaze wrote:
I don't think I'm really capable of breaking it on purpose... >.>
Oh well. Robbie wins.
Any reason we have to view them by [power of 2] to a page? Site restriction or something? I was used to seeing 100 at a time. :? Not a big deal, I'll adjust.
Well, I did that for convenience - At 50 thumb size, you have 16 thumbnails. At 100, 8 thumbs, and at 200, you have 4.
So, it makes nice even numbers, and barring running into the end of the list, makes full rows. I actually have it set up so I set any sets of values - I just chose those because I thought it would look better. If you have better numbers, post em!
-RobbieThe1st