Gallery embedded Joomla template

pleunski

Joined: 2004-04-02
Posts: 16
Posted: Fri, 2008-01-18 12:25

Hi all,

I do search for a solution that the template from my gallery 1.5 in Joomla
stays within the template of joomla.
Does anyone have a solution for me where I can change the width?

best regards,
serge

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Fri, 2008-01-18 12:27

Hello,

You have exactly Gallery 1.5 ?

And which width do you want to adjust exactly? (Maybe a screenshot?)

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
pleunski

Joined: 2004-04-02
Posts: 16
Posted: Fri, 2008-01-18 14:31

Hi,

Gallery 1.5.3

see screenshot!

tx for your help.
:)

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Fri, 2008-01-18 14:40

Hello,

copy html_wrap/gallery.header.default to html_wrap/gallery.header

If i remember right you have to change:
<table width="100%" border="0" cellpadding="0" cellspacing="0">

to

<table width="YOUR WIDTH IN px" border="0" cellpadding="0" cellspacing="0">

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
pleunski

Joined: 2004-04-02
Posts: 16
Posted: Fri, 2008-01-18 17:06

I didn't worked out for me, I've copied
html_wrap/gallery.header.default to html_wrap/gallery.header and changed the width as you said, but nothing changed:

if (!includeTemplate('gallery.header.tpl')) {
?>
<table width="480 px" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<table cellpadding="0" cellspacing="0" width="480 px" border="0" align="center" class="mod_headliner">
<tr valign="middle">
<td class="leftspacer"></td>
<td>
<table cellspacing="0" cellpadding="0" class="mod_toplight_bg">
<tr>
<td class="mod_toplight_left" align="<?php echo langRight() ?>"></td>
<td class="head" align="<?php echo langLeft() ?>">
&nbsp;<?php echo $gallery->app->galleryTitle ?>&nbsp;
</td>
<td class="mod_toplight_right" align="<?php echo langLeft() ?>"></td>
</tr>
</table>
</td>
</tr>
</table>
<table width="480 px" cellpadding="0" cellspacing="0">
<tr>
<td class="mod_under_hl"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top">
<?php
}
?>

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Fri, 2008-01-18 18:28

;-)

"480 px" is not valid HTML.

Just do: width="480"

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
pleunski

Joined: 2004-04-02
Posts: 16
Posted: Fri, 2008-01-18 19:43

TX for your help Jim
besides all my questions, great JoB! :)
Changing the width didnt have effect, is there something I'm doing wrong?

// $Id: gallery.header.default 11373 2005-08-15 23:01:22Z jenst $
?>
<?php
includeHtmlWrap("wrapper.header");

if (!includeTemplate('gallery.header.tpl')) {
?>
<table width="360" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<table cellpadding="0" cellspacing="0" width="360%" border="0" align="center" class="mod_headliner">
<tr valign="middle">
<td class="leftspacer"></td>
<td>
<table cellspacing="0" cellpadding="0" class="mod_toplight_bg">
<tr>
<td class="mod_toplight_left" align="<?php echo langRight() ?>"></td>
<td class="head" align="<?php echo langLeft() ?>">
&nbsp;<?php echo $gallery->app->galleryTitle ?>&nbsp;
</td>
<td class="mod_toplight_right" align="<?php echo langLeft() ?>"></td>
</tr>
</table>
</td>
</tr>
</table>
<table width="360%" cellpadding="0" cellspacing="0">
<tr>
<td class="mod_under_hl"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top">
<?php
}
?>

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Fri, 2008-01-18 19:47

360% ??

100% means as big as the parent element. 360% means 3.6 times as big as the parent element.

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
pleunski

Joined: 2004-04-02
Posts: 16
Posted: Fri, 2008-01-18 20:14

sorry for that, even witout the "%" it dioesn't work..

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Fri, 2008-01-18 20:26

I looked at the screenshot again...

Its inside an album right? Not the first page.

So you have to do the same like above to the files:

album.header.default
photo.header.default
slideshow.header.default

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
pleunski

Joined: 2004-04-02
Posts: 16
Posted: Fri, 2008-01-18 21:35

I've tried all files, the fist page changed, but not the inside of the album, when I click
a highlight its doens't resize, within the template.

 
pleunski

Joined: 2004-04-02
Posts: 16
Posted: Tue, 2008-01-22 16:18

Does the 1.6 version also have this problem, or could you help me out?
I have tried all these files up and down, but neither did work.
Thanks again,

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Thu, 2008-01-24 17:26

Yes, i think Gallery 1.6 will have the same issue. But it has a better CSS model, so it might be easier to fix it.

I looked at the htmlcode of your page. It seems you did not copy photo.header.default to photo.header and modified that.

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6