Skip to Content Skip to Menu

🌟Discover the Joomla AI Plugin that wrote its own story! - CB Editor Assistant 1.1now for Joomla 3, 4 & 5!
✍️ 5-Day Free Trial, then 🎯 save up to 30% with our 🛍️ Intro Offer (First 50 users, ends Dec. 25th)

Client side image resizing and cropping

  • krileon
  • krileon
  • ONLINE
  • Posts: 48609
  • Thanks: 8300
  • Karma: 1446
8 years 2 months ago #286764 by krileon


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: JoaoTapuia

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

  • peli_m
  • peli_m
  • OFFLINE
  • Posts: 54
  • Thanks: 6
  • Karma: 0
8 years 2 months ago #286765 by peli_m
Replied by peli_m on topic Client side image resizing and cropping
Great news!. It will save me a lot of work. When will it be available?

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
8 years 2 months ago #286766 by nant
Replied by nant on topic Client side image resizing and cropping

peli_m wrote: Great news!. It will save me a lot of work. When will it be available?


It is already available in latest build.

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

  • peli_m
  • peli_m
  • OFFLINE
  • Posts: 54
  • Thanks: 6
  • Karma: 0
8 years 2 months ago - 8 years 2 months ago #286768 by peli_m
Replied by peli_m on topic Client side image resizing and cropping
In computers It works like a charm in Edit your details area. It doesn't work in Ajax mode: it resize the image but not cropp it.

In tablets (iPad) and Android phones it seems doesn't work: Its not possible to move the area to crop and the image is resized but it isn't cropped. The image can be taken from the camera of the movile device on the fly, which is wonderful :woohoo: .

Thank you very much for your develop and support. It is a major improvement.
Last edit: 8 years 2 months ago by peli_m.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48609
  • Thanks: 8300
  • Karma: 1446
8 years 2 months ago #286777 by krileon
Replied by krileon on topic Client side image resizing and cropping

It doesn't work in Ajax mode: it resize the image but not cropp it.

Correct, it's done via a validation rule, which seam to be broken in the ajax usage entirely. Have added a bug ticket to fix in CB Core Fields Ajax.

In tablets (iPad) and Android phones it seems doesn't work: Its not possible to move the area to crop and the image is resized but it isn't cropped. The image can be taken from the camera of the movile device on the fly, which is wonderful :woohoo: .

It's using jQuery UI draggable, but looks like it's only listening to mouse events and not the touch events. Have added a bug ticket to investigate further. Looks like we may have to add another core jQuery plugin to give jQuery UI mobile compatibility or I'll just map those events in the jQuery usage.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: nant

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

  • peli_m
  • peli_m
  • OFFLINE
  • Posts: 54
  • Thanks: 6
  • Karma: 0
8 years 2 months ago #286819 by peli_m
Replied by peli_m on topic Client side image resizing and cropping
Thank you for your answer

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

Moderators: beatnantkrileon
Powered by Kunena Forum