Looks to me like this should work on both 3.0.0 and 3.0.3
I've tracked it down to the conditional statement in the gallerybits template.
Code:
<if condition="$show['thumbnail']">
<a href="attachment.php?$session[sessionurl]attachmentid=$post[attachmentid]" target="attachment"><img src="attachment.php?$session[sessionurl]attachmentid=$post[attachmentid]&stc=1&thumb=1" border="0" /></a>
<else />
<img class="inlineimg" src="$stylevar[imgdir_attach]/$post[attachmentextension].gif" alt="$post[attachmentextension]" /> <a href="attachment.php?$session[sessionurl]attachmentid=$post[attachmentid]" target="attachment">$post[filename]</a>
</if>
I've verified that we can pull thumbnails from 3.0.3:
Thumb off:
http://www.shinraonline.com/board/at...chmentid=11789
Thumb on:
http://www.shinraonline.com/board/at...=11789&thumb=1
But for some reason you guys aren't satisfying the condition <if condition="$show['thumbnail']">
Ironically all of this code is straight out of the attachment templates on the user control panel.
I can see that the "gallery" template is parsing the thumbnail variable correctly because the links are being centered in the table by this conditional:
Code:
<if condition="$show['thumbnails']"><col align="center"></col></if>
Immediately after that conditional is evaluated in the "gallery" template, we call the "gallerybits" template to populate the table with attachments. The variable obviously isn't being passed correctly.
Why does it work on my forums?!?!?!
I'm still trying to work it out guys. Thanks for all the beta testing. We really need a hack like this. Bear with me - I'm still a n00b.