Skip to Content Skip to Menu

thumbnail image size

10 years 9 months ago #240178 by iytworldwide
thumbnail image size was created by iytworldwide
Hi kyle,

I see that the "tn" thumbnail image size(file size) is same as that of main image. That means I am maintaining duplicate images. I see many users have uploaded there photo for profile of size more then 2MB. so it makes 4MB, i.e. additional 2MB for "tn". This i sbecoming problem as more and more users are joining and our image directory size is growing everyday and in near future will become difficult to maintain.

Do you agree that the image size for "tn" must be less as compare to main image otherwise what is the need to have a separate "tn" file and rather use the original file itself?

Here are some more details form CB configuration:
Image Software : GD2 library
Max. Image Height:827
Max. Image Width:591
Max. Image Filesize:2048
Max. Thumbnail Height:200
Max. Thumbnail Width:280
ImageMagick not installed, so is it because Cb uses ImageMagick for reducing the image size but then GD2 library exist?Sorry for my limited knowldge over GD2 and imagemagick link with CB.





Thanks,
Amit Dangwal
Attachments:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
10 years 9 months ago #240207 by krileon
Replied by krileon on topic thumbnail image size
The tn is the thumbnail. It's resized based off your thumbnail size parameters. This doesn't always mean smaller file size though as for the most part the same amount of pixel data is still present. If the image is 200x200 for example then yes the thumbnail and the full size will be exactly the same size because the full size is smaller than the maximum thumbnail size. The usage is perfectly logical and fine, there's really not much that can be done except increase your hosts storage or reduce the filesize allowed (you have it set to 2MB atm) so users are forced to upload smaller images.


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.

10 years 9 months ago #240216 by iytworldwide
Replied by iytworldwide on topic thumbnail image size
Thanks Kyle. Also that means page size will be in excess of 4MB in case I have used thumbnail and image both on same page. In that case reducing file size is the only option I will prefer otherwise page size, storage space will increase and it will affect other process such as taking backup of site(considering large folder directory, network, disk i/o etc).


thanks,
amit

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
10 years 9 months ago #240238 by krileon
Replied by krileon on topic thumbnail image size
Restricting it to smaller file size is the best approach as yes you could end up with a page loading a 2mb image. In most cases the thumbnail and fullsize are not loaded on the same page (they've completely different usages) so having both loaded at once isn't so much an issue as is the size of each of them being used individually.

The compression will be improved quite a bit with CB 2.0 as we've implemented a new image processing library that can better handle this.


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.

10 years 9 months ago #240243 by iytworldwide
Replied by iytworldwide on topic thumbnail image size
I am eagerly waiting for CB 2.0 release.Almost everyday I check the joomlapolis about release of cb 2.0 for professional community :). I know with the new system I have to rework on customization aspects(some custom hooks) and retest my already published system end to end but still eager to move with latest technology.

Earlier I requested about one enhancement in cb connect. Just a reminder, Please see if that is feasible to include in upcoming release of connect. I believe it will be really good user experience
www.joomlapolis.com/forum/153-professional-member-support/223378-4326-cb-connect-on-registration-page

Thanks for your quality support.

Thanks,
Amit

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
10 years 9 months ago #240253 by krileon
Replied by krileon on topic thumbnail image size

Earlier I requested about one enhancement in cb connect. Just a reminder, Please see if that is feasible to include in upcoming release of connect. I believe it will be really good user experience
www.joomlapolis.com/forum/153-profession...on-registration-page

Prefilled registration form from social data is planned for next CB Connect release. I can't say anything beyond that, because I haven't begun implementing it in the slightest. Right now CB 2.0 has absolute priority. Once it's stable I'll have time to get the incubator projects up to date.


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.

Moderators: beatnantkrileon
Powered by Kunena Forum