Zum Inhalt springen

lz_gallery: Wie zentrieren ???

Erstellt am 6. August 2003 · 22 Antworten · letzte Antwort am 21. März 2008 · Seite 1 von 2

Tags: Bilder, HTML & CSS, Frage

neumarkt4you ·

Hallo Rolli, hier der Code in meiner einfachen Designvorlage:

<!--###LAYOUT### begin-->
<form name="tx-lzgallery-pi1-nav">
<div align="center">
  <center>
<table  id="tx-lzgallery-pi1-fotonav" width="550" style="border-collapse: collapse" bordercolor="#111111" cellpadding="3" cellspacing="0" bgcolor="#C0C0C0">
<tr>
<td style="border-left-style: outset; border-left-width: 2; border-top-style: outset; border-top-width: 2; border-bottom-style: outset; border-bottom-width: 2" align="center">
<u>
<font face="Verdana" size="2" color="#000000">###PREVIOUS###</font></u></td>
<td style="border-top-style: outset; border-top-width: 2; border-bottom-style: outset; border-bottom-width: 2" align="center">
<u>
<font face="Verdana" size="2" color="#000000">###TOP###</font></u></td>
<td style="border-top-style: outset; border-top-width: 2; border-bottom-style: outset; border-bottom-width: 2" align="center">
<u>
<font face="Verdana" size="2" color="#000000">###PAGE###</font></u></td>
<td style="border-top-style: outset; border-top-width: 2; border-bottom-style: outset; border-bottom-width: 2" align="center">
<u>
<font face="Verdana" size="2" color="#000000">###UP###</font></u></td>
<td style="border-right-style: outset; border-right-width: 2; border-top-style: outset; border-top-width: 2; border-bottom-style: outset; border-bottom-width: 2" align="center">
<u>
<font face="Verdana" size="2" color="#000000">###NEXT###</font></u></td>
</tr>
</table>
  </center>
</div>
</form>

<div id="tx-lzgallery-pi1-title"><p align="center"><b><font face="Verdana" size="2">###TITLE###</font></b></div>
<div id="tx-lzgallery-pi1-descr-long"><p align="center"><font face="Verdana" size="2">###DESCR_LONG###</font></div>
<p align="center">
<font face="Verdana" size="2">

<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" id="AutoNumber1">
  <tr>
    <td width="100%"><p align="center">###GALLERY###</td>
  </tr>
</table>




<!--###LAYOUT### end--><!--###GALLERY_DEFAULT### begin-->
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1">
  <tr>
    <td width="100%" align="center">
    <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" id="AutoNumber2">
      <tr>
        <td width="100%">
        <div style="border-style: ridge; border-width: 1">
###IMAGE###</div>
        </td>
      </tr>
    </table>
    </td>
  </tr>
</table>
</font>

<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1">
  <tr>
    <td width="100%" align="center">
    <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" id="AutoNumber2">
      <tr>
        <td width="100%"><font face="Verdana" size="1">###FILENAME###</font></div>
        </td>
      </tr>
    </table>
    </td>
  </tr>
</table>
<!--###GALLERY_DEFAULT### end--><!--###LISTING### start--></p>
<div align="center">
<center>
<table  id="tx-lzgallery-pi1-listing" width="550" cellpadding="3" style="border-collapse: collapse" bordercolor="#111111" cellspacing="0"><!--###PARENTGALLERY### start -->	<tr class="parent"><td>		<tr id="line-title"><td id="tx-lzgallery-pi1-parent-title">
  <b><font face="Verdana">###TITLE###</font></b></td></tr>		<tr id="line-count"><td id="tx-lzgallery-pi1-parent-count">
    <font face="Verdana" size="2">###COUNT_LABEL###: ###COUNT### </font>   </td></tr>		<tr id="line-subcount"><td id="tx-lzgallery-pi1-parent-subcount">
    <font face="Verdana" size="2">###SUBCOUNT_LABEL###: ###SUBCOUNT### </font>   </td></tr>		<tr id="line-descr-short"><td id="tx-lzgallery-pi1-parent-descr-short">
    <font face="Verdana" size="2">###DESCR_LONG###</font></td></tr>	</td></tr><!--###PARENTGALLERY### end --><!--###LISTITEM### start-->	<tr class="line1">		
    <td class="title" bgcolor="#C0C0C0"><!--###LINK_GENERAL###-->
    <u>
    <b><font face="Verdana" size="2" color="#000000">###TITLE###<!--###LINK_GENERAL###--></font></b></u></td>		
    <td class="startdate" bgcolor="#C0C0C0">
    <font face="Verdana" size="1">###STARTDATE###</font></td>		
    <td class="count" bgcolor="#C0C0C0">
    <p align="center">
    <font face="Verdana" size="1">Anzahl: ###COUNT###</font></td></tr>

<tr class="line2"><td colspan=3>

<table>
<tr>
<td class="preview" rowspan=2><!--###LINK_GENERAL###--><div style="border-style: ridge; border-width: 1">###PREVIEW###<!--###LINK_GENERAL###--></div></td>
<td class="descr_short"><font face="Verdana" size="2">###DESCR_SHORT###</font></td>
</tr>
<tr>
<td class="information"><font face="Verdana" size="1">###LOCATION_LABEL###:</font><font face="Verdana" size="2"> ###LOCATION### ###HASSUBS### ###SUBCOUNT###</font></td>
</tr>
</table>
    
</td></tr>

<!--###LISTITEM### end--><!--###NOTFOUND### start-->	<tr class="line1">		<td class="title">###MESSAGE###</td>	</tr>	<tr class="line2">		<td>			<table><tr>				<td class="preview"><!--###BACK_LINK###-->###BUTTON###<!--###BACK_LINK###--></td>			</tr></table>		</td>	</tr>	<!--###NOTFOUND### end--><!--###PAGINATION### start-->	<tr class="pagination">			<td>			
  <b><font face="Verdana" size="2">###PREVIOUS###			<!--###PAGE_ITEM### start -->			<!--###PAGE_LINK###-->###PAGE_LABEL###&nbsp;###PAGE_NUMBER###<!--###PAGE_LINK###-->&nbsp;&nbsp;			<!--###PAGE_ITEM### end -->			###NEXT###
  </font></b>		</td>	</tr><!--###PAGINATION### end--><!--###SORTING### start-->	<tr class="sorting"><td>		
    <font size="1" face="Verdana">###SORT_LABEL###:&nbsp;&nbsp;		<!--###SORT_ITEM### start -->		<!--###SORT_LINK###-->
    ###SORT_FIELD###<!--###SORT_LINK###-->&nbsp;&nbsp;		<!--###SORT_ITEM### end -->	
    </font>	</td><tr><!--###SORTING### end--></table>
  </center>
</div>
<!--###LISTING### end-->

und der Eintrag im Setup:

plugin.tx_lzgallery_pi1.layout = FILE
plugin.tx_lzgallery_pi1.layout.file = fileadmin/gallery/gallery.htm
plugin.tx_lzgallery_pi1.listing.hassubs.value = <br />Anzahl der Bildergalerien:&nbsp;
plugin.tx_lzgallery_pi1.piVarPresets.colrows = 2x3
plugin.tx_lzgallery_pi1.piVarPresets.colrows = 3x2
plugin.tx_wsecard_pi1.dir = uploads/tx_wsecard
plugin.tx_lzgallery_pi1._CSS_DEFAULT_STYLE = 
plugin.tx_lzgallery_pi1_simple._CSS_DEFAULT_STYLE = 
plugin.tx_lzgallery_pi1.listing.orderByList = startdate,title,location,descr_short
plugin.tx_lzgallery_pi1_simple.listing.orderByList = startdate,title,location,descr_short
plugin.tx_lzgallery_pi1.hidedescription = 0
plugin.tx_lzgallery_pi1_simple.hidedescription = 0
plugin.tx_lzgallery_pi1.piVarPresets.maxwidth = 540
plugin.tx_lzgallery_pi1.piVarPresets.maxwidth =

Es könnte evt. an den Einträgen für CSS_DEFAULT_STYLE liegen, die leer lassen wie oben.

So, bin jetzt im Biergarten... :p

rolli ·

Hallo Peter,

jetzt wird alles wieder angezeigt. Ich danke Dir.

neumarkt4you schrieb

So, bin jetzt im Biergarten... :p

Und ich verschwinde jetzt auch dort hin ... und trinke (mindestens) ein Bier auf Dein Wohl.
Nochmals Danke und einen schönen Abend
rolli

r.​ke ·

Hi Rolli und neumarkt4you!

Bei mir funktioniert es aber leider nicht.
Ich habe neumarkt4yous code ins file fileadmin/gallery/gallery.htm kopiert, und all die plugin.tx_lzgallery codes in die Constanten vom template record, sonst steht da nichts, was mit der gallery zu tun hat.

Dabei kam raus:

das Navigationsmenu hat die Grundeinstellungen. Sonst sehe ich kein einziges Bild nur das:

###EFFECTS###
Titel der Gallerie
###GALLERY###

Wo kann da der Fehler liegen? Bitte helft mir!

Danke,

Robert

r.​ke ·

Danke neumarkt4you! Deine Vermutung war richtig.

War so dämlich, und habe die fotobase Eintragung beim
Kopieren gelöscht!

Jetzt funktioniert sie wieder, aber nichts hat sich beim Layout gerändert 🙁 Sie müsste doch jetzt so ausschauen, wie bei Deiner homepage, nicht wahr?

Mein Ziel ist die Gallerie wie hier ausschauen lassen:

http://majoros-foto.hu/fin2003/

geht das überthaupt?

rolli ·
r.ke schrieb

...

Mein Ziel ist die Gallerie wie hier ausschauen lassen:

http://majoros-foto.hu/fin2003/

geht das überthaupt?

Hallo Robert,

mit viel Modifikation an der Desigvorlage (die Du ja nun ebenfalls separat im Dateibaum liegen hast) und mit viel Arbeit an der dazugehörigen CSS-Datei könnte man das hin bekommen.
Ist jedoch mit einer Menge Fummeln verbunden. Sollte aber gehen.

MFG
rolli

Lord ·

Wo muss ich dem plug-in denn sagen das es eine datei als value nehmen soll und nicht das was vorgegeben ist????

Sorry, ist bestimmt ne blöde anfängerfrage....

rolli ·
Lord schrieb

Wo muss ich dem plug-in denn sagen das es eine datei als value nehmen soll und nicht das was vorgegeben ist????

Sorry, ist bestimmt ne blöde anfängerfrage....

Hallo Lord,

"blöde Frage", es gibt höchstens blöde Antworten und ich fang gleich mal damit an.
5 Beiträge weiter oben findest Du die Lösung :

plugin.tx_lzgallery_pi1.layout.file = fileadmin/gallery/gallery.htm

In die "gallery.htm" bindest Du deine CSS-Datei ein. So sollte es funktionieren.
MFG
rolli

Lord ·

Also wenn ich das richtig verstehe muss das bei mir ins template unter

Constants

eingetragen werden, wo auch schon die pfadangaben stehen??

rolli ·
Lord schrieb

Also wenn ich das richtig verstehe muss das bei mir ins template unter

Constants

eingetragen werden, wo auch schon die pfadangaben stehen??

Hallo Lord,
um ganz schnell auf Deine Frage einzugehen.
10 Beiträge weiter oben steht:

Im Info/Modify Setup sieht das so aus :

Code:

plugin.tx_lzgallery_pi1.layout = FILE
plugin.tx_lzgallery_pi1.layout.value =
plugin.tx_lzgallery_pi1.layout.value.file =fileadmin/bilder/designvorlage.html

MFG
rolli

Barny77 ·

Hallo.
Der Thread ist zwar schon etwas älter, aber ich habe noch eine Frage zu den Thumbnails.

Bei mir werden die Bilder in Originalgröße angezeigt. Das zerschiesst mir natürlich das Layout.
Kann mir einer sagen, wie ich die Thumbnails definieren kann? :o

Besten Dank im voraus und natürlich allen einen guten Rutsch!!

Barny77 ·

So ein #evil# #angry# - ich bekomme weder ImageMagick noch GraphicsMagick installiert #angry# #angry#

Ich habe GM auf folgenden Pfad hochgeladen (/graphicsmagick-1.1.6/)und gebe diesen auch im Install-Tool an, aber er erkennt GM nicht.

/www/htdocs/w00XXXXb/graphicsmagick-1.1.6/

Muss ich nur den BIN-Ordner hochladen?

Mein Provider ist all-inkl.com

OS detected: UNIX
UNIX/CGI detected: NO

DANKE!!!

So, jetzt muss ich aber ins Bett, sonst verpenne ich noch Silvester 😃

s.​sach ·

Hi,

bin auch bei all-inkl. Hast du Webspace oder nen Server gemietet? Bei Webspace macht der Support alles nötige, damit Du Typo3 nutzen kannst.

Nur so als Tip.

fstruck ·

Hallo Barny77,

ich habe mit der lz_gallery ganau das gleiche Problem, dass mir in der Album-Ansicht anstelle der Thumbnails die Bilder in Originalgröße anzeigt. Als Vorschaubild, wird mir allerding jeweils ein kleines Bild angezeigt.

Bin auch bei all-inkl.com, imagemagick 5.x ist installiert und soll laut Infos im Installtool (Basic-Config; Image-Processing) auch einwandfrei funktionieren.

Hat diese Problem vielleicht schon jemand gelöst?

Tschöö
Frank

learningbydoing ·

Hallo,

ich habe das gleiche Problem, ein Minibild von nur einigen Pixel in der Listeansicht und sonst die Originalgröße.

Habt ihr es bereits lösen können?

Ich habe nur GraphikMagick installieren können, jedoch funktionieren die Imageprocessing-Test nicht alle einwandfrei. Die Fehlermeldung redet ständig über ImageMagick, aber die Installation funktioniert nicht, da ein Datei - No typo3/gfx/typo3logo.gif file! - fehlt.

Ich hoffe, ihr könnt mir helfen!

Danke!