Kunena 7.1.1 & Kunena 6.4.17 – Security Updates Released
The Kunena team has announce the arrival of Kunena 7.1.1 [K 7.1.1] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x./6.1.x./6.2.x This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 / K7.0 and issues discovered during the last development stages of K 7.1
Just a reminder: K6.4.17 receives only securities fixes until end of 2026, so it's advised for users to upgrade to K7.1.
Solved Image orientation on upload - K 4.06 with Crypsis
- WolfgangOWL
-
Topic Author
- Offline
- Senior Member
-
I recently updated from K 4.05 with Blue Eagle template to 4.06 with Crypsis. I modified the upload.php to change the orientation of uploaded images with portrait orientation using the orientation tag of jpg files. This worked fine until before the update. The same modification applied after the update has no effect at all. Can anyone help me with this?
Thanks in advance,
Wolfgang
Please Log in or Create an account to join the conversation.
- WolfgangOWL
-
Topic Author
- Offline
- Senior Member
-
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- WolfgangOWL
-
Topic Author
- Offline
- Senior Member
-
810 wrote: good, could you add the code, how to change it, maybe someone else can use it.
Shure I can.
This is the function which does the image rotation:
This code must be placed in function ajaxUpload above of
}
catch (Exception $exception)
{
}
And this must be placed in function upload above of
if (!KunenaFile::copy($file->tmp_name, $file->destination))
{
throw new RuntimeException(JText::_('COM_KUNENA_UPLOAD_ERROR_FILE_RIGHT_MEDIA_DIR'), 500);
}
Please Log in or Create an account to join the conversation.