Skip to Content Skip to Menu

CB Gallery large image upload issue

  • vchan
  • vchan
  • OFFLINE
  • Posts: 2
  • Thanks: 0
  • Karma: 0
8 years 8 months ago #288481 by vchan
Hi. I was uploading images between 2mb - 3mb and resolution was around 4k by 3k (I have updated the validation settings to allow this). However, the progress bar will keep stuck on uploading.

No issues when uploading small images. Appreciate any help / suggestions.

PHP 5.6.6 and no php_imagick.dll. Only have GD2 available
post_max_size = 20M
upload_max_filesize = 20M
max_file_uploads = 20
memory_limit = 128M

; magic_quotes_gpc
; Default Value: Off
; Development Value: Off
; Production Value: Off

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 49447
  • Thanks: 8467
  • Karma: 1465
8 years 8 months ago #288495 by krileon
Replied by krileon on topic CB Gallery large image upload issue
Enable debug mode and maximum error reporting then see if any errors output. If not then check server error log. Most likely you're hitting PHP memory limits. GD2 is extremely memory heavy and you may want to consider using Imagick if possible.


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.

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

  • vchan
  • vchan
  • OFFLINE
  • Posts: 2
  • Thanks: 0
  • Karma: 0
8 years 8 months ago #288516 by vchan
Replied by vchan on topic CB Gallery large image upload issue
It seems the problem is something else because I have JCE editor and I was able to upload the same image and being able to resize/create a thumbnail in seconds. I have attached an image hopefully it may help identifying the issue.
Attachments:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 49447
  • Thanks: 8467
  • Karma: 1465
8 years 8 months ago - 8 years 8 months ago #288580 by krileon
Replied by krileon on topic CB Gallery large image upload issue
Try uploading the same image to an image field in CB. JCE isn't comparable, because it's not the same library and not the same processing being applied (if any). Please also ensure both CB and CB Gallery are up to date. If still not working try using our demo site to see if it uploads fine.


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.
Last edit: 8 years 8 months ago by krileon.

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

Moderators: beatnantkrileon
Powered by Kunena Forum