- Posts: 80
- Thank you received: 0
Resize and cut event image uploaded from registered users
- davide
- Topic Author
- Offline
- Premium Member
Tuan Pham Ngoc wrote: Hello
What's the quality of the image you want to receive? For the time being, I made a quick modification to make it 80%. You can get this file, unzip it, upload the received file to administrator/components/com_eventbooking/model/common folder, then test it and let me know if it reduces the size of the file as you width
Well I will try in the next days.
Eventually I modify the code for set the appropriate compression ratio, and then will report to you...
Tuan Pham Ngoc wrote: I will make this parameter (quality) available in the next release, but you will have to wait for 7 to 10 days because the new year holiday is coming here in our country and I don't have much time to work these days
Tuan
This is good news, no problem for delay, the only important thing is that this feature will become available.
I think very important for EB implement this, and I think more customers will be more interested on EB now because component more mature now!
Thanks!
cosmogoniA
n o p r o v a r e n o f a r e o n o n f a r e n o n c e p r o v a r e
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
Please Log in or Create an account to join the conversation.
- davide
- Topic Author
- Offline
- Premium Member
- Posts: 80
- Thank you received: 0
I've tested the code and (almost) with jpg images, works very fine!
Can I try with another kind of image format or the code resize only from jpg to jpg?
Interesting should be to compress png/tiff/etc to jpg
Thanks!
cosmogoniA
n o p r o v a r e n o f a r e o n o n f a r e n o n c e p r o v a r e
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
Tuan
Please Log in or Create an account to join the conversation.
- davide
- Topic Author
- Offline
- Premium Member
- Posts: 80
- Thank you received: 0
So, we should to permit only jpg and png as event image, right?
But perhaps this is not possible from setting menu.
Thanks again!
davide
cosmogoniA
n o p r o v a r e n o f a r e o n o n f a r e n o n c e p r o v a r e
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
Tuan
Please Log in or Create an account to join the conversation.
- davide
- Topic Author
- Offline
- Premium Member
- Posts: 80
- Thank you received: 0
cosmogoniA
n o p r o v a r e n o f a r e o n o n f a r e n o n c e p r o v a r e
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
Just want to update that the options to control the quality of the image is implemented in latest release 3.14.1. Now, you have two options:
- Resized PNG Image Quality (to control quality of PNG image)
- Resized JPEG Image Quality (to control quality of JPEG image)
So basically, you do not need to use the modified file I sent you before anymore. Just update to latest version and use these config options
Tuan
Please Log in or Create an account to join the conversation.
- davide
- Topic Author
- Offline
- Premium Member
- Posts: 80
- Thank you received: 0
Let your customers (even future ones) know about these features, I believe it can make the difference in choosing one component rather than another
Thanks
cosmogoniA
n o p r o v a r e n o f a r e o n o n f a r e n o n c e p r o v a r e
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
Tuan
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.