This is a forum where members new and old can come to ask questions and get info and opinions. It is not a place to advertise your business or have other forms of advertising, whether it be in your posts or signature.

All links in the forum will not be indexed by Search Engines and any unapproved forms of advertising or spam will be dealt with accordingly, deleted, and that member's account banned.

Forums

Overview » PHP » Smart Image Processor 2.05 not doing anything
Reply

Smart Image Processor 2.05 not doing anything

Chuck Borrelli
Freaking Member



Since: 04 Jun 2003
Posts: 75
Posted 24 Aug 2009 04:43:38

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.

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.
Chuck Borrelli
Freaking Member



Since: 04 Jun 2003
Posts: 75
Replied 24 Aug 2009 05:26:23
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?
Chuck Borrelli
Freaking Member



Since: 04 Jun 2003
Posts: 75
Replied 24 Aug 2009 05:33:37
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....
Patrick Julicher
Official Representative



Since: 04 Feb 2002
Posts: 1,208
Replied 16 Sep 2009 17:19:48
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

Message
Reply
Follow us on Facebook Follow us on twitter Subscribe to the RSS feed
Activate your free membership today | Login | Currency