Forums

PHP

This topic is locked

Smart Image Processor 2.05 not doing anything

Posted 24 Aug 2009 04:43:38
1
has voted
24 Aug 2009 04:43:38 Chuck Borrelli posted:
I am working with DW CS4 running on OS X 10.5.8.

Pure PHP upload (2.1.8) works fine, but I have a smart image processor behavior that is not processing the image at all.

I wish to resize the image to 600x400, and overwrite the existing. Nothing happens. I have no error message. GD is supported (2.0.28) per phpinfo().

I have removed the behavior and added it, and that has no affect.

Feedback is greatly appreciated.

Replies

Replied 24 Aug 2009 05:26:23
24 Aug 2009 05:26:23 Chuck Borrelli replied:
Well after some trial and error, the problem seems to be caused by the dreamweaver insert record behavior.

I am writing the file name, gallery and caption to a database (mysql). however, when i add this behavior, it breaks the smart image processor.

Any suggestions? Guess I have to write my own saving routine?
Replied 24 Aug 2009 05:33:37
24 Aug 2009 05:33:37 Chuck Borrelli replied:
Figured it out.

Dreamweaver was placing the pure php upload in the same php block as the recordset saving, and before the smart image processor block (which was probably never executing).

I placed the pure recordset insert command LAST (manually) and all is good.

I hope this helps someone....
Replied 16 Sep 2009 17:19:48
16 Sep 2009 17:19:48 Patrick Julicher replied:
Hi Chuck,

Thanks for sharing this. I'm glad you figured this out. If I hadn't been on vacation I could have pointed you in the right direction. Good luck!

Kind regards, Patrick

Reply to this topic