Index: /Users/mh/Documents/workspace/trunk/server/Slim/Web/Graphics.pm =================================================================== --- /Users/mh/Documents/workspace/trunk/server/Slim/Web/Graphics.pm (revision 14766) +++ /Users/mh/Documents/workspace/trunk/server/Slim/Web/Graphics.pm (working copy) @@ -42,7 +42,7 @@ } sub processCoverArtRequest { - my ($client, $path) = @_; + my ($client, $path, $params) = @_; my ($body, $mtime, $inode, $size, $actualContentType); @@ -144,7 +144,7 @@ } elsif ($trackid eq 'notCoverArt') { - ($body, $mtime, $inode, $size) = Slim::Web::HTTP::getStaticContent($actualPathToImage); + ($body, $mtime, $inode, $size) = Slim::Web::HTTP::getStaticContent($actualPathToImage, $params); $imageData = $$body; } else { @@ -192,7 +192,7 @@ unless ($cachedImage) { - ($body, $mtime, $inode, $size) = Slim::Web::HTTP::getStaticContent("html/images/$image.png"); + ($body, $mtime, $inode, $size) = Slim::Web::HTTP::getStaticContent("html/images/$image.png", $params); $actualContentType = 'image/png'; $imageData = $$body; } Index: /Users/mh/Documents/workspace/trunk/server/Slim/Web/HTTP.pm =================================================================== --- /Users/mh/Documents/workspace/trunk/server/Slim/Web/HTTP.pm (revision 14766) +++ /Users/mh/Documents/workspace/trunk/server/Slim/Web/HTTP.pm (working copy) @@ -780,7 +780,7 @@ my @p = (); my $client = undef; my $path = $params->{"path"}; - + # Command parameters are query parameters named p0 through pN # For example: # http://host/status.m3u?p0=playlist&p1=jump&p2=2 @@ -1088,7 +1088,7 @@ /x # extend this to also include any image that gives resizing parameters ) { - ($body, $mtime, $inode, $size, $contentType) = Slim::Web::Graphics::processCoverArtRequest($client, $path); + ($body, $mtime, $inode, $size, $contentType) = Slim::Web::Graphics::processCoverArtRequest($client, $path, $params); } elsif ($path =~ /music\/(\d+)\/download/) {