PhotoPlog

Go Back   PhotoPlog > PhotoPlog.com > Feedback & Suggestions
Screens Demo Purchase Download Register

Reply
Attention: Last reply in this thread was more than 17 Years ago
 
Thread Tools
  #1  
Old 06-13-2006, 10:03 PM
cheesegrits's Avatar
cheesegrits cheesegrits is offline
Orange Plog
 
Join Date: Jun 2006
Posts: 104
Gallery: 2
Comments: 1
Default [Suggestion] upload auto-shrink

Here's a feature which I think would be really convenient for people uploading their digital camera pics. Set an upload max file size, over and above the existing max file size. Let folk upload images up to the upload max, but automatically shrink them down to the standard max before saving them.

So for instance, let me set an upload max of 2MB, with a regular saved max size of 512KB. Then folk could upload 90% of their digital pix from cameras up to about 5 mega pixel without having to manually shrink them before uploading, which is often a pain. Gobbles a bit of bandwidth, but very convenient for the users, and keeps my disk usage to the same as before.

-- hugh
Reply With Quote
  #2  
Old 06-14-2006, 01:16 AM
Morgan's Avatar
Morgan Morgan is offline
Head Plog
Admin
 
Join Date: Dec 2005
Posts: 5,324
Gallery: 10
Comments: 25
Default

Will think about some other limits, but my first impressions are of memory and quality issues.
__________________
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
  #3  
Old 06-14-2006, 02:24 AM
cheesegrits's Avatar
cheesegrits cheesegrits is offline
Orange Plog
 
Join Date: Jun 2006
Posts: 104
Gallery: 2
Comments: 1
Default

Just playing devils advocate here ...

I'm assuming you are using the standard choice of GD or ImageMagik, in which case image quality shouldn't be a problem. Especially as we are talking about creating images for display on a web page, at 80dpi. The standard thumbs you already create look great.

And as you seem to be doing the resampling into the three standard thumb sizes during the upload phase (I just peeked at the code), you could do those from the original large image, before resizing the uploaded file prior to saving it, so you don't have "resampling resampled images" issues.

As for memory ... if a site doesn't have enough memory, they wouldn't have to use this feature. Personally I'm setting up shop on a machine with 4GB, so I can afford to spend a bit of memory to make my users lives easier.

One of the main reasons I'm suggesting this, apart from user convenience, is actually for tech support reasons. One of the most common questions we've gotten in the past when we've provided upload features like this is "How do I shrink my picture so I can upload it". Being able to cut out 90% of those support calls would save a significant amount of money - each support call averages about $25 in total "cost of doing business".

Just my $0.25. Or $25.00.

-- hugh
Reply With Quote
  #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
Reply

« Previous Thread | Next Thread »
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Suggestion StarBuG Feedback & Suggestions 2 01-20-2007 09:16 AM


All times are GMT. The time now is 12:05 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.