Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: Picture preview up to 2mb Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Manjast
Newbie
Newbie
Avatar

Joined: 09 September 2015
Location: Austria
Online Status: Offline
Posts: 32
Posted: 20 September 2015 at 1:58am | IP Logged Quote Manjast

Hello,
when I upload pictures in the cloud drive with the integrated file storage tool, it shows me a preview of the uploaded pictures. But only when the pictures have a file size under 2 mb. When e.g. a picture have 2.3 mb. It shows me a icon and give me not the preview of the picture.

How can I configure the file size for the thumbnails? Is it posible to show the thumbnails independet of the file size?

Thank you for your answers.

Best regards,
Manuel
Back to Top View Manjast's Profile Search for other posts by Manjast
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6087
Posted: 21 September 2015 at 4:34am | IP Logged Quote Igor

Hello Manuel,

That limit is specified in libraries/afterlogic/common/managers/filestorage/storages/sabredav.php file, line ~303:

Code:
$iThumbnailLimit = 1024 * 1024 * 2 // 2MB


You can of course specify a different limit there, but bear in mind that processing large images is a very resource-consuming operation.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
Manjast
Newbie
Newbie
Avatar

Joined: 09 September 2015
Location: Austria
Online Status: Offline
Posts: 32
Posted: 21 September 2015 at 5:08am | IP Logged Quote Manjast

Hello Igor,

I know that is a resource consuming operation. Now it works very well in the cloud drive
Where can I find this limit in the webmail section? When I recieve mails with images there are more than 2 mb, it's the same here. Thank you for your reply!

Best regards,
Manuel
Back to Top View Manjast's Profile Search for other posts by Manjast
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6087
Posted: 21 September 2015 at 5:17am | IP Logged Quote Igor

You'll find a couple of those lines in libraries/ProjectSeven/ActionsBase.php file.

Hope this helps!

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
Manjast
Newbie
Newbie
Avatar

Joined: 09 September 2015
Location: Austria
Online Status: Offline
Posts: 32
Posted: 21 September 2015 at 5:21am | IP Logged Quote Manjast

Igor!
You are the best! Thank you! Now it works very well. Nice fast support. Thanks a lot!
Back to Top View Manjast's Profile Search for other posts by Manjast
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide