Page 1 of 1
Cover Art zoomed in to a larger image?

Posted:
Tue Jan 10, 2012 10:21 pm
by osh
All of my artwork is anywhere from 600x600 to 1000x1000 (and sometimes larger). When I zoom on the artwork in Subsonic, the art appears to be about 300x300.
Is there a way to display the actual size of the art, or at least increase that size?
Re: Cover Art zoomed in to a larger image?

Posted:
Tue Jan 10, 2012 11:20 pm
by ytechie
While zoomed into the cover art, right click and choose to open in a new tab.
The zoomed in view is only constrained by the size of the art, and the size of the window or frame that you are zooming in.
The bigger the screen, the bigger the zoom.
Re: Cover Art zoomed in to a larger image?

Posted:
Wed Jan 11, 2012 7:40 pm
by osh
I may not be seeing the same thing you do. When I'm on an album, the cover art is there and I can right click and open in new tab. That will show me the full size. If I click the "zoom" link under the album cover, it brings up a 300x300 window with the artwork. That new window/popup/whatever it's called, when clicked, will disappear. Right clicking on it brings up the menu that lets me save image as (among other things) but no open in a new tab.
What would be nice is a setting that lets you view that as full size. Maybe a link where zoom is called actual size or something, or a config option that lets you set how big that zoom should be, up to "actual size".
But for now, right clicking on the image at the album level does work. So that's a good work around...
Re: Cover Art zoomed in to a larger image?

Posted:
Wed Jan 11, 2012 7:45 pm
by ytechie
The zoom can only go up to the dimensions of the frame. There isn't a way around that as far as I know because the nature of a frame is that everything inside stays inside. If you want to change the zoom link to open the full size album art in a new tab, I can show you how to do that.
Re: Cover Art zoomed in to a larger image?

Posted:
Thu Jan 12, 2012 6:03 pm
by osh
Got it. I understand now. 300x300 just happened to be the arbitrary size relative to the frame size, in this browser window sized the way it was. Shrink the browser window, and the frame is smaller, and zoom is proportionately smaller. Full screen and the opposite is true...
I haven't poked around the install folders yet, and dug around in there (that's a task I plan to do in the future, when I have time..). I would appreciate more info on what you did to open that zoom in a new tab. Alternately, would it be possible to add a new link, i.e. "change | zoom | actual size" and, leaving zoom alone, have actual size popup a new window, sized to fit?
Re: Cover Art zoomed in to a larger image?

Posted:
Thu Jan 12, 2012 7:28 pm
by BKKKPewsey
osh wrote:I would appreciate more info on what you did to open that zoom in a new tab.
I can answer that one - zoom image - right click - open image in new tab (on chrome at least)

Re: Cover Art zoomed in to a larger image?

Posted:
Fri Jan 13, 2012 10:05 am
by ytechie
You asked for an actual size link. Here we go:
The file we are going to edit is coverArt.jsp. This is the part that we are going to edit:
- Code: Select all
<div style="text-align:right; padding-right: 8px;">
<c:if test="${param.showChange}">
<sub:url value="/changeCoverArt.view" var="changeCoverArtUrl">
<sub:param name="path" value="${param.albumPath}"/>
</sub:url>
<a class="detail" href="${changeCoverArtUrl}"><fmt:message key="coverart.change"/></a>
</c:if>
<c:if test="${param.showZoom and param.showChange}">
|
</c:if>
<c:if test="${param.showZoom}">
<a class="detail" rel="zoom" title="${param.albumName}" href="${zoomCoverArtUrl}"><fmt:message key="coverart.zoom"/></a>
</c:if>
:)
<c:if test="${not param.showZoom and not param.showChange and param.showCaption}">
<span class="detail"><str:truncateNicely upper="20">${param.albumName}</str:truncateNicely></span>
</c:if>
</div>
I put a smiley face at the line where we are going to insert this:
- Code: Select all
<c:if test="${param.showZoom and param.showChange}">
| <a class="detail" target="_blank" href="${zoomCoverArtUrl}">Actual Size</a>
</c:if>
Hope this helps!

Re: Cover Art zoomed in to a larger image?

Posted:
Fri Jan 13, 2012 2:53 pm
by osh
Awesome!!! That was an easy fix and did what I needed. Thank you! I really appreciate it!