Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#13 2005-09-21 10:11:14
- aba
- Plugin Author
- Registered: 2004-04-14
- Posts: 119
Re: Increase the max image upload size?
I use a self-rewritten plugin for thumbnailing images that are uploaded by ftp but I have to admit that I use images not only as inline images but have set up a photoblog for my family where digicam images are displayed as (rather large) thumbnail that is linked to the big version. Because I use ftp (I usually upload more than one image) I never stumbled over the limit but soon other family members want to use the photoblog as well and therefore I would really appreciate the possibility to habe a configurable upload-limit for images.
BTW: I would also appreciate a limit for file-uploads as well because I don’t think the server limit is applicable in all cases.
Offline
Re: Increase the max image upload size?
> I would also appreciate a limit for file-uploads as well because
> I don’t think the server limit is applicable in all case
That one is there in advanced preferences. And has been for as long as I remember.
Offline
Re: Increase the max image upload size?
Perhaps someone could help offer me a solution:
I am designing a site for a singer/songwriter. There is a press page where people can download his press kit materials. Currently I am using the files tab for everything (including a large JPEG press image).
I would really like to include a small thumbnail of the press image(s) so that people have a little preview of an image prior to downloading the file.
I considered the images tab (because of the thumbnail option) — but I am having trouble uping the image size limit. I can’t figure out where to “hack” the image size limit in TXP 4.0.3.
any help would be MUCH appreciated!
Offline
Re: Increase the max image upload size?
Take a look at function upload_form() in /textpatternlib/txplib_html.php around line 373
function upload_form($label, $pophelp, $step, $event, $id='', $max_file_size = '1000000')
Change the value in that line.
Offline
Re: Increase the max image upload size?
Thanks Sencer!!
Offline