PDA

View Full Version : Gallery Upload Size Limit


B&T
6-4-03, 08:29 PM
I think Gallery should have a max file size that it will upload. So I went looking in the code. In save_photos.php it does the actual upload processing in "function process()". Currently in that function it rejects files based on the file extension. So I would think that would be the same place to reject a file for size.

Before I dig in and modify the code . . . I just thought I would post this in the event that someone else has already solved the problem.

B&T
6-4-03, 09:05 PM
Hmmm . . . this code is complex. The actual file path was "lost" a long time ago. Following this route could be a long journey.

I just wrote a quick script to scan the albums and identify any large files so I can deal with them after the fact.

Unless someone else has solved this I will stick with that suboptimal solution.