| Author |
Message |
headwave
Wizard


Joined: Nov 24, 2008 Posts: 95
|
Posted: Sun Dec 14, 2008 6:08 am Post subject: Re: just cant get it to work |
|
|
headwave wrote: › This line works
list ($ret, $g2_images) = GalleryEmbed::getImageBlock(array('blocks' => 'randomImage|recentImage|recentImage|recentImage|recentImage', 'show' => 'none'));
as soon a i want to show title ( none to title ) they dont apear next to eachother anymore but above eachother
im still having this issue ?
does someone know what caused this problem ? |
|
| Back to top |
|
|
AdBot
|
| Post subject: Re: just cant get it to work |
|
|
|
|
|
| Back to top |
|
 |
headwave
Wizard


Joined: Nov 24, 2008 Posts: 95
|
Posted: Sun Dec 14, 2008 7:57 am Post subject: Re: just cant get it to work |
|
|
ik found a problem using IE..
normaly i use FF..
it looks like the images cant be found.. when i refresh the page the images do show ?
----
it even gets stranger
when i hit the header ( reload ) over and over again.. they show and they dont show.. on and off ?
after removing the browser cookies the problem was solved |
|
| Back to top |
|
|
WizardOfZo
 Guru


Joined: Sep 24, 2008 Posts: 55
|
Posted: Sun Dec 14, 2008 9:17 am Post subject: Re: just cant get it to work |
|
|
Mine does the same thing in IE and FF
I am trying to put my random image in the headerbar as shown here in overall_header.html:
Code: ›
<div class="headerbar">
<div class="inner"><span class="corners-top"><span></span></span>
>>>>> code line removed due to HTML error in posting <<<<<
<a href="{U_INDEX}" title="{L_INDEX}" id="logo">{SITE_LOGO_IMG}</a>
<h1a>{SITENAME}</h1a>
<p>{SITE_DESCRIPTION}</p>
<p style="display: none;"><a href="#start_here">{L_SKIP}</a></p>
</div>
<div class="g2imageblock">
<!-- IF not S_GALLERY2 or not $S_IN_ARCADE -->
{G2_IMAGES}
</div>
<!-- ENDIF -->
<span class="corners-bottom"><span></span></span></div>
</div>
I am using this in g2_helper.php:
Code: ›
list ($ret, $g2_images) = GalleryEmbed::getImageBlock(array('blocks' => 'randomImage|randomImage', 'show' => 'title', 'maxSize'=>125 ));
and I installed this in common.css
Code: ›
/* Gallery Imageblock styles
---------------------------------------- */
.one-image {
display: inline;
}
.g2imageblock {
float: left;
width: 106px;
}
No matter what tweaking I do in any of the above code, I still get one image over the other. Even with titles on or off.
Note that I removed a line of code in my post from overall_header because it was giving me a HTML error and would not let me post
the line was:
div id = site-description
with
<> around the line and quotes around site-description.
I cant post that here without getting the error (Very strange)
|
|
| Back to top |
|
|
headwave
Wizard


Joined: Nov 24, 2008 Posts: 95
|
Posted: Sun Dec 14, 2008 11:52 am Post subject: Re: just cant get it to work |
|
|
im using AVALON as template
my Overall header line
Code: › <!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN and (U_MCP or U_ACP) -->
<div class="pm-notify-new"><div class="pm-notify-header">{L_INFORMATION}</div>{L_BOARD_DISABLED}</div>
<!-- ENDIF -->
<!-- IF ADS_2 -->{ADS_2}<br /><!-- ENDIF -->
<div class="row1"><div align="center">{G2_IMAGES}<BR>
<strong><font color="5969C4">Laatst geposte afbeeldingen in gallery2 albums</font></strong>
</div>
</div>
</div></div>
<table width="100%" cellspacing="0">
<tr>
<td class="gensmall"><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<!-- ENDIF --></td>
and my g2helper.php
Code: › // fetch 2 random images from Gallery
list ($ret, $g2_images) = GalleryEmbed::getImageBlock(array('blocks' => 'recentImage|recentImage|recentImage|recentImage|recentImage', 'show' => 'none'));
if ($ret)
{
trigger_error($user->lang['G2_GETIMAGEBLOCK_FAILED'] . $user->lang['G2_ERROR'] . $ret->getAsHtml(), E_USER_ERROR);
}
CSS file
Code: ›
.username-coloured {
font-weight: bold;
}
.sep {
color: #5969C4;
}
.one-image {
display: inline;
}
/* bugs */
i copyed and paste some additional lines so you can see the position of the edit
see the result at ( zeewaterforum.com ) Dutch site
o and only reg users can see it.. sorry
Last edited by headwave on Sun Dec 14, 2008 2:03 pm; edited 1 time in total |
|
| Back to top |
|
|
headwave
Wizard


Joined: Nov 24, 2008 Posts: 95
|
Posted: Sun Dec 14, 2008 1:41 pm Post subject: Re: just cant get it to work |
|
|
Is there a way to speed it up in IE ?
my site is soooo slow now in IE.. FF is no problem  |
|
| Back to top |
|
|
mhjr
Novice


Joined: Aug 13, 2008 Posts: 28
|
Posted: Sun Dec 14, 2008 4:42 pm Post subject: Re: just cant get it to work |
|
|
Looks like we have all the same problem regarding the appearance of the thumbnails ......
see parallel post regarding the Picture View issues in IE. |
|
| Back to top |
|
|
WizardOfZo
 Guru


Joined: Sep 24, 2008 Posts: 55
|
Posted: Mon Dec 15, 2008 8:46 am Post subject: Re: just cant get it to work |
|
|
I did finally get them to display side by side without titles
Code: › .g2imageblock {
float: left;
width: 106px;
}
setting width to auto took care of odd image widths
With titles, the images are stacked like everyone else |
|
| Back to top |
|
|
headwave
Wizard


Joined: Nov 24, 2008 Posts: 95
|
Posted: Mon Dec 15, 2008 12:41 pm Post subject: Re: just cant get it to work |
|
|
how can i corect that ?
ik want titles and owners.. but not stacked |
|
| Back to top |
|
|
headwave
Wizard


Joined: Nov 24, 2008 Posts: 95
|
Posted: Mon Dec 15, 2008 12:43 pm Post subject: Re: just cant get it to work |
|
|
mhjr wrote: › Looks like we have all the same problem regarding the appearance of the thumbnails ......
see parallel post regarding the Picture View issues in IE.
i fixed it with maintainance
optimalize database |
|
| Back to top |
|
|
headwave
Wizard


Joined: Nov 24, 2008 Posts: 95
|
Posted: Mon Dec 15, 2008 2:13 pm Post subject: Re: just cant get it to work |
|
|
WizardOfZo wrote: › I did finally get them to display side by side without titles
Code: › .g2imageblock {
float: left;
width: 106px;
}
setting width to auto took care of odd image widths
With titles, the images are stacked like everyone else
I use the square thumbnail plugin.. no problems at all with width and height!
does some one know hot to fix the stacking thumbs when is set
'show' to owner or title ?
list ($ret, $g2_images) = GalleryEmbed::getImageBlock(array('blocks' => 'recentImage|recentImage|recentImage|recentImage|recentImage', 'show' => 'owner')); |
|
| Back to top |
|
|
mhjr
Novice


Joined: Aug 13, 2008 Posts: 28
|
Posted: Tue Dec 16, 2008 5:41 am Post subject: Re: just cant get it to work |
|
|
headwave wrote: › mhjr wrote: › Looks like we have all the same problem regarding the appearance of the thumbnails ......
see parallel post regarding the Picture View issues in IE.
i fixed it with maintainance
optimalize database
tried it without success ! |
|
| Back to top |
|
|
|
|
|
|
|