Piclens quality of upscaled images

mr_hyde

Joined: 2009-09-20
Posts: 46
Posted: Tue, 2009-09-22 16:46

Hi,

in gallery2, the piclens plugin was able to upscale images. This is not possible per default in gallery3.

In the file slideshow_event.php, there is a parameter maxScale:0 in the startupscript for piclens. If you eleminate this parameter, piclens performs an upscale of the image, but in some cases, you can see pixels.

To smooth the upscaled image and achieve the same result as in gallery2, you can create a file called crossdomain.xml in the root directory of your webbrowser:

Quote:
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<site-control permitted-cross-domain-policies="all"/>
<allow-access-from domain="*.cooliris.com" secure="false" />
<allow-access-from domain="*.piclens.com" secure="false" />
</cross-domain-policy>

See also here:
http://developer.cooliris.com/dev_forum/comments.php?DiscussionID=160

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2009-09-23 02:38

I added alink to this post from the modules page. Please feel free to add to the docs as required.
http://codex.gallery2.org/Gallery3:Modules:slideshow

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team