Cover Art zoomed in to a larger image?

Third-party modifications and add-ons, Apps and Clients

Moderator: moderators

Cover Art zoomed in to a larger image?

Postby osh » Tue Jan 10, 2012 10:21 pm

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?
osh
 
Posts: 19
Joined: Mon Jan 09, 2012 11:01 pm

Re: Cover Art zoomed in to a larger image?

Postby ytechie » Tue Jan 10, 2012 11:20 pm

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.
User avatar
ytechie
 
Posts: 547
Joined: Sun Dec 12, 2010 5:05 am
Location: Manhattan, New York

Re: Cover Art zoomed in to a larger image?

Postby osh » Wed Jan 11, 2012 7:40 pm

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...
osh
 
Posts: 19
Joined: Mon Jan 09, 2012 11:01 pm

Re: Cover Art zoomed in to a larger image?

Postby ytechie » Wed Jan 11, 2012 7:45 pm

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.
User avatar
ytechie
 
Posts: 547
Joined: Sun Dec 12, 2010 5:05 am
Location: Manhattan, New York

Re: Cover Art zoomed in to a larger image?

Postby osh » Thu Jan 12, 2012 6:03 pm

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?
osh
 
Posts: 19
Joined: Mon Jan 09, 2012 11:01 pm

Re: Cover Art zoomed in to a larger image?

Postby BKKKPewsey » Thu Jan 12, 2012 7:28 pm

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)
:mrgreen:
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: Cover Art zoomed in to a larger image?

Postby ytechie » Fri Jan 13, 2012 10:05 am

You asked for an actual size link. Here we go: :D

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! :D
User avatar
ytechie
 
Posts: 547
Joined: Sun Dec 12, 2010 5:05 am
Location: Manhattan, New York

Re: Cover Art zoomed in to a larger image?

Postby osh » Fri Jan 13, 2012 2:53 pm

Awesome!!! That was an easy fix and did what I needed. Thank you! I really appreciate it!
osh
 
Posts: 19
Joined: Mon Jan 09, 2012 11:01 pm


Return to Mods, Apps and Clients

Who is online

Users browsing this forum: No registered users and 5 guests