This forum requires Javascript to be enabled for posting content
Search
Select Forum
Announcements
Troubleshooting
Feature Requests
CSS Styling and Layout
Show and Tell
New/Recently Updated Topics
Getting error when trying to insert...
Please help.
Multi-Page Form on Different Pages
10.0 Settings Interface is buggy
"ROOT directory for Wordpress is /b...
ÅÄÖ doesnt work when viewing the...
Some Issues and comments regarding ...
cforms II and Role Manager
cformsII not compatablie with WP 2....
Messages aren't received in my inbo...
Google Conversion Tracking
Running a short javascript after fo...
Changing Background Image on Error
How to Remove Line Above Forms
Anybody successfully integrate this...
Post
damian - Guest
11:37 pm - October 22, 2008
It would be really awesome if you could tell cforms to resize an image after it is uploaded. I've been trying to figure tou how I could do that using the my-functions.php file but have not had any luck. Any thoughts?
Oliver
- Admin
7:10 am - October 23, 2008
posts 3921
cforms is not meant to do that.
why not simply run a PHP batch job on your upload folder every day that does it for you?
or, if you want to get more complex you could
use the (non ajax) my-functions.php filter to access the variable $_FILES
retrieve the TMP name
access the file in the TMP folder by its TMP name
do whatever you want with it
Reply to Topic: resize an image after upload
PLEASE READ THE FAQs FIRST! THANK YOU.
Search
Select Forum
Announcements
Troubleshooting
Feature Requests
CSS Styling and Layout
Show and Tell
New/Recently Updated Topics
Getting error when trying to insert...
Please help.
Multi-Page Form on Different Pages
10.0 Settings Interface is buggy
"ROOT directory for Wordpress is /b...
ÅÄÖ doesnt work when viewing the...
Some Issues and comments regarding ...
cforms II and Role Manager
cformsII not compatablie with WP 2....
Messages aren't received in my inbo...
Google Conversion Tracking
Running a short javascript after fo...
Changing Background Image on Error
How to Remove Line Above Forms
Anybody successfully integrate this...