Originally posted by Smoothie This might slow the showthread page greatly if members are allowed to view attachments within threads. Other wise, a great idea for a hack.
Hmm, yea, i could always add other setting where you can enter the ammount of multiple attachments to show like that, for example setting it to 1 would show just one and the rest as links, and setting it to 0 for show all, also the user can go in there options and select not to show attachments as images like they always could.
I think the bottom line is there has been more than one occassion when I wanted to upload more than one attachment, and had to post multiple times to do it. This solves that problem.
I installed the microstats hack and checkd the queries and time it takes for thr page to load, on average it said 2 seconds, and 19 queries, at the expense of another query i was able to get the page speed down to a .2 (tends to be faster) average with 20 queries, before i added the hack, the original query count was 18, i just added two, the screen shot is below.