Before the end of 2017 the board will be down for a brief period of time for an upgrade.
Past experience says less than 30 minutes but I can't predict the future.
Also, there is a high probability that the forum will move to a different host, but that will not happen in 2017.
Thanks,
Doug

[Unsolved] Cover and dimensions

Discuss using and your tips/tricks for BookCAT
User avatar
Alex Ivanovich
Posts: 286
Joined: Mon Sep 07, 2015 2:24 pm
Location: Russian - Italia

[Unsolved] Cover and dimensions

Postby Alex Ivanovich » Mon Dec 12, 2016 9:08 pm

it is possible see the dimensions (Height x Width) text under the cover? :roll:

thank you
Attachments
Cattura.PNG
Cattura.PNG (128.51 KiB) Viewed 273 times
Last edited by Alex Ivanovich on Thu Apr 13, 2017 5:52 pm, edited 1 time in total.

User avatar
LotsOCds
Posts: 169
Joined: Thu Aug 20, 2015 4:23 am
Location: California, USA

Re: Cover and dimensions

Postby LotsOCds » Wed Dec 14, 2016 3:46 pm

No it is not possible.

The only way to show the dimensions would be to manually copy them into the notes for the image and then display the image notes. It may be possible to use SQL to copy the dimensions into the notes but I don't know for sure.
Cheers,
Dave

User avatar
Alex Ivanovich
Posts: 286
Joined: Mon Sep 07, 2015 2:24 pm
Location: Russian - Italia

Re: Cover and dimensions

Postby Alex Ivanovich » Wed Dec 14, 2016 8:00 pm

Dave, thanks for the answer

know the SQL command to do this? :|

I use this code to display "notes" under the cover

Code: Select all

<table class="record_pane_table_outer" cellpadding="0" cellspacing="0">
    <tr>
      <td valign="top" width="155">
        <xsl:choose>
          <xsl:when test="image1/@virtual='No'">
            <a href="CMD:VIEWIMAGE:Book,{../@id},1"><img width="150" src="{image1/filename}" class="record_pane_image2"/></a>
         <!-- Inserire una nota sotto l'immagine -->
         <BR/>
              <xsl:call-template name="add-line-breaks">
              <xsl:with-param name="string" select="image1/notes"/>
            </xsl:call-template>
            <!-- Inserire una nota sotto l'immagine -->
          </xsl:when>
          <xsl:otherwise>
            <img width="150" src="{image1/filename}" class="record_pane_image2"/>
          </xsl:otherwise>
        </xsl:choose>

User avatar
LotsOCds
Posts: 169
Joined: Thu Aug 20, 2015 4:23 am
Location: California, USA

Re: Cover and dimensions

Postby LotsOCds » Thu Dec 15, 2016 12:53 pm

LotsOCds wrote:It may be possible to use SQL to copy the dimensions into the notes but I don't know for sure.

After looking further I can see this is not possible. The image dimensions are not stored in the BookCAT database. When you open the Image Properties window the dimensions are read from the image itself.
Cheers,
Dave

User avatar
Alex Ivanovich
Posts: 286
Joined: Mon Sep 07, 2015 2:24 pm
Location: Russian - Italia

Re: Cover and dimensions

Postby Alex Ivanovich » Sat Dec 17, 2016 12:54 pm

Ok, understand :|

Thanks Dave ;)


Return to “Using BookCAT”

Who is online

Users browsing this forum: No registered users and 1 guest