imazen / studiojs

[Deprecated] A set of jQuery plugins that compose a flexible, web-based image editing studio.
92 stars 29 forks source link

Only working with test image #4

Closed pustefisk closed 11 years ago

pustefisk commented 11 years ago

Seems that ImageStudio only working with certain photos and not others. The test at http://studio.imageresizing.net/studio.html uses a photo with this url: http://images.imageresizing.net/fountain-small.jpg If I take the same code and run it locally its working fine - BUT if i replae the photo with ANY of other photo its not working !? This is the code I am using: $(function () { $('div.studio1').ImageStudio({ url: 'http://images.imageresizing.net/fountain-small.jpg?width=400&scache=mem&cache=no', panes:['rotateflip', 'crop', 'adjust', 'effects'] }); });

Has this something to do with user rights or ... what ?

lilith commented 11 years ago

StudioJS is just a UI for ImageResizer. If you change the URL to point to a server that's not running ImageResizer, it won't work. Anything on http://images.imageresizing.net/ should work fine.

The demo app can't permit arbitrary remote URLs for security reasons, but you're welcome to set your own installation of ImageResizer up with RemoteReader and a list of whitelisted domains.