View Single Post
  #4  
Old 06-14-2006, 03:06 AM
Morgan's Avatar
Morgan Morgan is offline
Head Plog
Admin
 
Join Date: Dec 2005
Posts: 5,324
Gallery: 10
Comments: 25
Default

PhotoPlog currently uses the GD library. There isn't an on-the-fly option to shrink to a max of 512KB spot on. There is a quality parameter that you can pass, zero to 100, but that won't guarantee a specific maximum file size. Not sure it'd be worth process time to shrink repeatedly until the filesize is at most a certain limit though.

However, if you allow 2MB files for upload, and you have enough memory, PhotoPlog will use the filesize of the original upload when calculating upload limits. Dimensions don't really matter as long as the filesize is under the value set in the permissions. PhotoPlog also keeps the originals around to, for example, rebuild thumbnails.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote