Image Resizer doesn't work for me. Any Help?

Majere 01 May, 2012
Hi everybody,
I'm using chronoforms 4.0 RC3.2 on Joomla 2.5.4 and the image resizer utility seems not to work at all for me.

I put it into the 'on submit' actions (I tried it before the 'upload files' action, after it, into it, and even without it or just into the 'onload' actions) and i inserted the name of the upload file field.

As upload folder i tried leaving it blank, copying it from the 'upload files action (JOOMLA_PATH/files/) and other different combinations. It just doesn't work and the debugger doesn't even mention it.

Do I have to buy the full version to get it working? Is it in development and it will work in future releases, or it is just me who doesn't use it correctly? In this last case please help me 😀
GreyHead 02 May, 2012
Hi Majere,

As far as I know it is working correctly in the current release (with one bug about using suffixes - I'm not sure if that has been fixed).

It needs to go after the Upload Files action in the On Submit event. What settings do you have?

And, you are correct, there is no debug output. I guess that Max copied the code directly from Emanuel's plug-in for CFv3.

Bob
Majere 02 May, 2012
Hi Bob, I upgraded to 4.0 RC3.3 but the problem persists, here it is my configuration:

WIZARD MODE:

PREVIEW:
- File Upload: Field Name = "up", Validation = "Requiered"

- Submit Button

EVENTS:
ON LOAD:
- Show HTML

ON SUBMIT:
- Upload Files:
Enabled: YES
Files: up:jpg-png-gif
Upload Path: JOOMLA_PATH/files
Max Size: 9999 Kb
Safe file name: Yes

- Image Resize (just after the upload files, not into its 'On Success', even if i tried it)
Delete Original: NO
Image Field Name: up
Big Image Directory: -left blank- (but I also tried "JOOMLA_PATH/files/")
Big Image Prefix: BIG_
Processing Method: Resize

This way i only get the original images uploaded into JOOMLA_PATH/files thanks to the "Upload files" action, while the resizer seems not to work at all.
If I set the "delete original" option to "YES" nothing is uploaded into JOOMLA_PATH/files

Please Help me, I really need this future. I'm certainly going to buy the pro version if this feature works 🙂
Brisferr 02 May, 2012
Hello,

Same trouble for me! It's like it's only deleting the file, but do nothing else.

Brisferr
Brisferr 04 May, 2012
Hello,

Has nobody did answer, I did install debug on the resize image action. I will post it very soon.

But I found why the image would not create in my case.

The admin resize form for the path says :
Directory where the file will be stored. Don't forget the slash at the end ;-) e.g. images/stories/

If you leave this empty it will default to the Form file uploads folder.


So for me, default Form file uploads was the directory I did put in the upload file action, but it's the default directory for the form... and that one was not writable.

By the way, I'm wondering if I can get any error message from the php command imagejpeg (and not only false if it failed), so that I'could put it as error, and not into the debug?

Brisferr
GreyHead 05 May, 2012
Hi brisferr ,

Glad to see you found the problem :-)

At present there is next to no output from the action for debug or otherwise. Maybe some will get added in a future version.

Bob
Max_admin 07 May, 2012
Hi,

The new version has got some files/debug data added (files paths).

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Brisferr 13 May, 2012
I'm a beginner with php,

but I did this transform the resize action php file to add some debug.

I'm not sure it' the optimal way of programing the debug.

See here in attachment the file.

For me it's working, maybe you can add it to the next release after have a quick check.

Brisferr
This topic is locked and no more replies can be posted.