Kunena 7.0.4 Released

The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0

Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.

Question Attachment Thumbs

More
15 years 5 months ago - 15 years 5 months ago #72201 by misterpat
Replied by misterpat on topic Re: Attachment Thumbs

Laacis wrote: Maybe change it to bigger? i have put there 2000 , and i have all working nice with that :)


Tried that. It loads the pics at 800x600.

Let me post my configuration settings. Maybe I screwed up. :ohmy:

This message contains confidential information

Database collation check: The collation of your table fields are correct

Legacy mode: Disabled | Joomla! SEF: Enabled | Joomla! SEF rewrite: Enabled | FTP layer: Enabled |

This message contains confidential information
htaccess: Exists | PHP environment: Max execution time: 30 seconds | Max execution memory: 128M | Max file upload: 128M

This message contains confidential information

Joomla default template details : subblack | author: dragmen | version: 1.1 | creationdate: 11/11/2008

Kunena version detailled: Installed version: 1.6.1 | Build: 3858 | Version name: Timu | Kunena detailled configuration:

Warning: Spoiler!

Third-party components: AlphaUserPoints: Disabled or not installed | CommunityBuilder: Installed (Version : 1.2.3) | Jomsocial: Disabled or not installed | UddeIm: Installed (Version : 2.1)

Plugins: System - Mootools12: Disabled | System - Mootools Upgrade: Enabled | JFirePHP: Disabled or not installed | Kunena Discuss: Disabled or not installed | Kunena Search: Disabled or not installed | My Kunena Forum Menu: Disabled or not installed | My Kunena Forum Posts: Disabled or not installed

Modules: Kunena Latest: Enabled (Version : 1.6.0-RC2) | Kunena Stats: Disabled or not installed | Kunena Login: Disabled or not installed

Last edit: 15 years 5 months ago by misterpat.

Please Log in or Create an account to join the conversation.

More
15 years 5 months ago #72277 by misterpat
Replied by misterpat on topic Re: Attachment Thumbs
I was looking through the code and found this in kunena.attachments.class.php
Code:
function _get($attachments) { $ret = array(); foreach ($attachments as $attachment) { // combine all images into one type $attachment->shorttype = $this->isImage($attachment->filetype) ? 'image' : $attachment->filetype; $attachment->shortname = CKunenaTools::shortenFileName($attachment->filename); switch (strtolower ( $attachment->shorttype )) { case 'image' : // Check for thumbnail and if available, use for display if (file_exists ( JPATH_ROOT . '/' . $attachment->folder . '/thumb/' . $attachment->filename )) { $thumb = $attachment->folder . '/thumb/' . $attachment->filename; $imgsize = ''; } else { $thumb = $attachment->folder . '/' . $attachment->filename; $imgsize = 'width="' . $this->_config->thumbwidth . 'px" height="' . $this->_config->thumbheight . 'px"'; }

But my forum, and this one too, is loading the larger file even though the thumb is there. (I checked)

Any ideas?

Please Log in or Create an account to join the conversation.

Time to create page: 0.229 seconds