FriendsOfFlarum Profile Image Crop
0.3.0
- Beta 16 support
Updating
composer require fof/profile-image-crop:"*"
php flarum cache:clear
1.0.0
- Update for Flarum v1
- Discover bad error message regarding uploading big files (flarum/core2888)
- Make modal not dismissible by default - clicking outside (or dragging while using cropper) will no longer close the modal
- A button next to "Save Changes" will now close the modal
This plugin was preventing users from uploading profile pictures to my site. I uninstalled it and it fixed the problem. If you get this error, try uninstalling and reinstalling.
datitisev The extension wasn't even saving the 8kb image. I spoke with the provider and there was no problem there either. I checked the permissions of the assest folder, there was no problem there. I tried uninstalling and reinstalling the plugin as a solution. You can view the link below by translating it into your language.
I installed flarum in ubuntu 20 and php 8.
I setup php.ini upload_max_size to 5mb but 600kb image upload failed with this error message "The attribute must not be greater than max kilobytes how to fix this problem.
I found a bug. When someone upload a bigger image than allowed, the error message is wrong.
It says: "The :attribute must not be greater than :max kilobytes" with the :attribute and :max tags instead of the correct values.
Just updated my avatar at my forum and kept getting the max upload error. I reduced the size of the image and still got the error. Eventually, once I reduced it to 150kb, it uploaded. This was from my iPhone.
If I deactivate this extension then I can upload large images for avatars again.
010101 this extension doesn't compress images after resize, which means that small compressed images can actually become bigger through the resize process.
This existing GitHub issue is probably about the same thing FriendsOfFlarum/profile-image-crop15
Unfortunately there doesn't appear to be any easy solution without re-implementing how resizing works in the extension.
1.1.0
- Lazy load libraries & resize cropped image by @datitisev in FriendsOfFlarum/profile-image-crop17
Updating
composer require fof/profile-image-crop:"*"
php flarum cache:clear
Hello, I am getting the following error after the version update.
Uncaught TypeError: Cannot read properties of undefined (reading '0')
at ProfileImageCropModal.js:69:54
this.cropper = new Cropper(evt.target || evt.path[0], {
demirel what's your browser name/version?
clarkwinkelmann Chrome - 109.0.5414.74
It seems that there will be a problem with uploading the avatar, uploading for a long time.
And then this is shown in my F12 console.