MyBB Community Forums

Full Version: mybb thumbnail generation and GD library problems?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi! 

I have some problems with thumbnail generation
So far I have such a problem only in attachment manager and attachment upload page

Is this GD library problem or something else? 


BTW I have similar image processing problems with piwigo, but changing ImageMagick to GD library in piwigo config solves the problem

To my best knowledge mybb uses GD, not ImageMagick but somehow similar problem 

Forum url http://alhimika.net/forum/


Any help?

[attachment=43705]

[attachment=43706]

silly me
somehow I was thinking I'm dealing with broken thumbnails, but in fact this is intended to be and I seen attachments Icons

had to change it. having attachment manager without thumbnails but Icons is somewhat Mid90s to me


in post_attachments_attachment

{$attachment['icon']} {$attachment['filename']} ({$attachment['size']})
replace with
<img src="path_to_your_forum/uploads/{$attachment['thumbnail']}"> {$attachment['filename']} ({$attachment['size']})


and in usercp_attachments_attachment

<a href="attachment.php?aid={$attachment['aid']}" target="_blank">{$attachment['filename']}</a>
replace with
<a href="attachment.php?aid={$attachment['aid']}" target="_blank">{$attachment['filename']}> <img src="path_to_your_forum/uploads/{$attachment['thumbnail']}"></a>

will style it later on