- Posts: 15
- Thank you received: 0
Kunena 6.2.6 released
The Kunena team has announce the arrival of Kunena 6.2.6 [K 6.2.6] which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x. This version addresses most of the issues that were discovered in K 6.1 / K 6.2 and issues discovered during the last development stages of K 6.2
Question Problems with Image Attachments
The other issue we have encountered, is with filenames of attachments uploaded from Apple devices. Thanks to Apple's wonderful habit of uploading every image with the filename image.jpg, images are renamed by Kunena after the first one. However, instead of renaming the images image1.jpg, image2.jpg, etc., the second image becomes image-2.jpg, then image-2-3.jpg, image-2-3-4.jpg, etc. One user on our forum has uploaded 85 images so far so the most recent one is called:
image-2-3-4-5-6-7-8-9-10-11-12-13-14-15-16-17-18-19-20-21-22-23-24-25-26-27-28-29-30-31-32-33-34-35-36-37-38-39-40-41-42-43-44-45-46-47-48-49-50-51-52-53-54-55-56-57-58-59-60-61-62-63-64-65-66-67-68-69-70-71-72-73-74-75-76-77-78-79-80-81-82-83-84-85.jpeg
Naturally, this causes all sorts of problems with moving files, as the filename is too long to be used on any windows system. This really could do with being fixed so either then numbers increment in a more simple way, or even so images get a random string of characters added.
Please Log in or Create an account to join the conversation.
2) This is a know apple bug. We can't change it, it will be have the same issues, if we do something else.
Please Log in or Create an account to join the conversation.
With the second issue, surely it's the kunena forum that is adding the -2-3-4-5- etc to each filename isn't it? The images are all being uploaded as image.jpg (which is utterly stupid ass we know, but the odds of getting Apple to change anything are nil), and presumably it's Kunena that adds the suffix when it finds the filename already exists. Is there no way to make it add the suffixes differently? Or to make it generate a random string in the filename if it already exists?
Basically, we have forum members moaning that 'they don't have this problem on facebook' and saying they'll just post images there in future. I know it's a daft comparison, but this is what we have to deal with!!
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
For me its like this:
1) image.jpg
2) image-2016-07-15.jpg
3) image-2016-07-15-2.jpg
4) image-2016-07-15-3.jpg
ect
Tested on apple 6s ios 9 safari and chrome
Please Log in or Create an account to join the conversation.
- WolfgangOWL
- Offline
- Senior Member
paul123 wrote: We're encountering a couple of problems with uploading images to posts. The first one i've already detailed on github at github.com/Kunena/Kunena-Forum/issues/4123 . This relates to images not being rotated properly when taken on mobile devices based on EXIF data.
I started a topic regarding image orientation on upload 8 month ago:
Image orientation on upload
Our forum members complained that uploaded images were displayed in the wrong orientation when uploaded from mobile devices. So I created this fix, patch, hack or whatever you want to call it which uses the EXIF information for image rotation in upload.php.
If you can't make the changes yourself I have two versions of upload.php: one for Kunena 4.06 (should also work with K 4.11) and one for K 5.0 RC4
Please Log in or Create an account to join the conversation.
I don't provide support by PM, because this can be useful for someone else.
Please Log in or Create an account to join the conversation.
- WolfgangOWL
- Offline
- Senior Member
Please Log in or Create an account to join the conversation.
And merged...
Please Log in or Create an account to join the conversation.
github.com/Kunena/Kunena-Forum/pull/4182
Please Log in or Create an account to join the conversation.