meltingice/CamanJS — Issue #18: Proxy in CakePHP
Author: solitud
Created: 2011-12-19 12:30:56+00:00
State: open

Hi, I am experimenting with CamanJs in CakePHP. I wanted to use the proxy function which did not work in the beginning. The problem is the hardwired "url" variable, which breaks the CakePHP routing.

// We have a remote proxy setup properly, so lets alter the image src
return Caman.remoteProxy + "?url=" + encodeURIComponent(src);

Perhaps you can change this in a future release to

// We have a remote proxy setup properly, so lets alter the image src
return Caman.remoteProxy + "?camanjsSpecialUniquePhotourl=" + encodeURIComponent(src);

or something...