Myriad Forum (https://myriad-online.com/cgi-bin/bbs/YaBB.pl)
General >> Open Source >> Making progress with some bumps
(Message started by: verstehen on Feb 27th, 2004, 5:28am)

Title: Making progress with some bumps
Post by verstehen on Feb 27th, 2004, 5:28am
I've converted my layout for the image pages to match galerie's way of doing things.  And, well I've got it half working.  The border appears in the individual image pages, but not in the index.  I've gone over it several times, and compared it with the templates that do work, but to no avail.

Also, when I select my template, the "Use frame" selection in both the "Thumbnails" and "Pictures" settings boxes is grayed out.    If I select aqua frame or Shadow, they show up.

I'm probably missing something totally silly, but I will show you what I have just in case.  I'll keep working on it, but any clues would be appreciated.

File names of graphics (Copy and pasted to be sure I haven't made a typo)
-imageback.jpg
-thumbback.jpg

--Begin HTML code of index template.html--

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html><head><title>$INDEX_TITLE$</title>
$JAVASCRIPT$
</head>

<BODY VLINK=666666 LINK=522504 Leftmargin=0 topmargin=0 background="../layoutgrfx/darkpanel.jpg">

<!-- $BACK_IMAGE_MARGIN$7,7,7,7$ -->
$BORDER$5$


<IMG src="../layoutgrfx/topbar.jpg" width=705 height=137>
<TABLE width=98% BORDER=0 Cellspacing=0 Cellpadding=0>
<!--Grfx row creating top of book-->
<TR>
     <TD Background="../layoutgrfx/b_topmid.jpg" height=34 width=69></TD>
     <TD Background="../layoutgrfx/b_topright.jpg"></TD>
     <TD background="../layoutgrfx/b_topcorner.jpg" width=51></TD>
</TR>

<!--Content Row-->
<TR>

     
     <!--Grfx Column with Binding in Middle-->
     <TD Background="../layoutgrfx/b_binding.jpg" width=69><img src=../layoutgrfx/bindspacer.gif width=69> </TD>
     
     <!--Content Column-->
     <TD Valign=top Background="../layoutgrfx/parch.jpg">
     <CENTER>
     <div align="center">

$HOME_LINK$
<h2>$INDEX_TITLE$</h2>
<h3>$INDEX_PAGE_LIST$</h3>

$INDEX_IMAGES$

<br>
<br><br>
     </TD><!--End Content Column-->
     <!--Right Side edge of book-->
     <TD background="../layoutgrfx/b_rightedge.jpg" width=51><img src=../layoutgrfx/bindspacer.gif width=51></TD>
     </TR>

     <!--Bottom grfx row creating bottom of book-->
     <TR>
           
           <TD Background="../layoutgrfx/b_bottommid.jpg" height=29 width=69></TD>
           <TD Background="../layoutgrfx/b_bottomright.jpg"></TD>
           <TD background="../layoutgrfx/b_bottomcorner.jpg" width=51></TD>
     </TR>

</TABLE>
<!--Main End-->

<CENTER>
<small>Generated by <a href="http://www.myriad-online.com/perso/photos/galerie.html" target="top">Galerie</a></small>

</div>
</body>
</html>

Title: Re: Making progress with some bumps
Post by Ronald P. Regensburg on Feb 27th, 2004, 11:22am

on 02/27/04 at 05:28:17, verstehen wrote:
Also, when I select my template, the "Use frame" selection in both the "Thumbnails" and "Pictures" settings boxes is grayed out.    If I select aqua frame or Shadow, they show up.

That usually means that the 'back' image files are not right.

1. Make sure that the files do not only have a .jpg extension, but are indeed jpeg files.

2. You copied and pasted the file names. Could there be a (extra) hidden extension that was not replaced by pasting? Check 'Name and extension'  using 'Show Info' in the Finder File menu.

Title: Re: Making progress with some bumps
Post by verstehen on Feb 27th, 2004, 2:41pm
Good thought on the name and extension thing, but I'm afraid that wasn't it.  

I have gone so far as to directly copy the "imageback.jpg" and "thumbback.jpg" files from the aqua frame directory to my template's directory.  I knew that it wouldn't look right, but I thought it would at least display a frame.  It did not.  So now I'm quite confused.

Title: Re: Making progress with some bumps
Post by Didier Guillion on Feb 27th, 2004, 3:07pm
Hi,

Send me an archive of your template, I 'll test it.

didier@myriad-online.com

Best regards

Title: Re: Making progress with some bumps
Post by verstehen on Feb 27th, 2004, 9:28pm
Here is the archive you requested who's frame isn't working properly.  

http://www.rollanet.org/~centuri/MeineReisen.zip

(I'm sorry, I can't send email attachments from where I am)

I've changed some things but it still isn't working properly.  I have come up with a fix for the problem by editing the "aqua frame" template instead of making one for myself from scratch.  I copied my information into the html templates and copied in my graphics directly from the non-working "meine reisen" folder.  When I did that, everything worked properly.

The layout uses graphic files outside the destination folder, but I have not included them because I didn't think you needed them to test how well Galerie is parsing the template.

Thanks,
Robert

Title: Re: Making progress with some bumps
Post by Ronald P. Regensburg on Feb 27th, 2004, 11:50pm
In my test Galerie had problems with the 'readme.txt' being empty. Enter some text in it and if Galerie is running stop and relaunch Galerie. The frame check boxes will then be enabled and the frame will be used with both thumbnails and pictures.

The thumbback.jpg is the same size as the imageback.jpg (900x900). The resizing to fit the smaller thumbnails makes the frames rather thin. If they are thinner than you intended, make the thumbback.jpg a little smaller by moving the sides closer to each other (not by resizing the image). For instance 600x600 may be a better match to the thumbnails.

Title: Re: Making progress with some bumps
Post by verstehen on Feb 28th, 2004, 12:00am
Thank you for the tip.  The "thumbback.jpg" was just a placeholder while I was trying to get things to work.

I thought about the readme, I guess I should have followed the idea.

Thanks,
Robert

Title: Re: Making progress with some bumps
Post by Didier Guillion on Feb 28th, 2004, 11:50am
Hi,

Ronald is right, just fill the readme.txt file and your template will work.

Best regards



Myriad Forum » Powered by YaBB 1 Gold - SP 1.1!
YaBB 2000-2002,
Xnull. All Rights Reserved.