Page Index Toggle Pages: 1
Topic Tools
Normal Topic Attachment Preview in Messageindex (Read 1,503 times)
Captain John
Ex Member


Re: Attachment Preview in Messageindex
Reply #1 - Mar 1st, 2011 at 4:24pm
Post Tools
As YaBB is written, there is No way to do this ........
  and would be difficult to do ... since every attachment would have to have a thumbnail generated and for the extensions (types) of files allowed would be a huge undertaking ......
txt doc docx psd pdf bmp jpe jpg jpeg gif png swf zip rar tar
  Code would have to "select" which type to thumbnail, which type to use an icon. Then what size thumbnail that wouldn't cause the thread post to jump from small icon to a larger thumbnail.  Where to store thumbnails, how to tie thumbnail to attachment, how to remove ....... A lot to consider and possibly a huge coding project.
  
Back to top
 
IP Logged
 
Smirftsch
YaBB Newcomer
*
Offline



Posts: 22
Attachment Preview in Messageindex
Feb 28th, 2011 at 12:10pm
Post Tools
Is there a way to show a preview of the attachment (specifically attached images, other filetypes would be nice but are not required) instead of the attachment icon?
I've been working through this, but I'm a bit lost yet in the code structure of the board.

I assume a change in the MessageIndex.pl file should do most of that already.

Can anyone give me assistance (overview) with the required variables etc? Or is there a solution for this existing somewhere already?
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Topic Tools
 
  « Board Index ‹ Board  ^Top