Gallery embedded Joomla template
|
pleunski
Joined: 2004-04-02
Posts: 11 |
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 best regards, |
|
| Login or register to post comments |

Posts: 6591
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
Posts: 11
Hi,
Gallery 1.5.3
see screenshot!
tx for your help.

Posts: 6591
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
Posts: 11
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() ?>">
<?php echo $gallery->app->galleryTitle ?>
</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
}
?>
Posts: 6591
;-)
"480 px" is not valid HTML.
Just do: width="480"
Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6
Posts: 11
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() ?>">
<?php echo $gallery->app->galleryTitle ?>
</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
}
?>
Posts: 6591
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
Posts: 11
sorry for that, even witout the "%" it dioesn't work..
Posts: 6591
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
Posts: 11
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.
Posts: 11
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,
Posts: 6591
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