Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 29. Mar 2024, 16:50

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: 12. Feb 2013, 01:12 
Offline

Joined: 26. Jan 2013, 06:16
Posts: 16
Hallo,

ich hab mein simple html jetzt soweit umgebaut dass ich nur thumbs links habe, und diese auch jeweils das aktuelle Bild in der Mitte zeigen (etwa so wie es flickr macht).
Dazu musste ich ein paar center tags aus dem Code raus nehmen.
Ein Vorschlag wäre diese center tags mit einem id zu versehen, dann sollte man sie per css ausschalten können.

Aber nun zu meiner Frage: ich hab's nicht hin bekommen dann aber die Bilder zentriert zu zeigen.

Hier ein Beispiel:
http://getflexible.thruhere.net/index.p ... elvin1.jpg

Die thumbnails sollen links bündig liegen, das Bild aber in seinem div zentriert sein.
Wer hat eine Idee was ich im css (oder code) ändern muss?


Top
 Profile  
 
PostPosted: 14. Feb 2013, 13:41 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Ich hab für die 1.9 mal alle center mit id's versehen.

Zu deinem Problem. Die Tabelle, wo das jetzt dann drin ist braucht eine breite von 100%. Und dann must du den rechten und den linken Bereich neben dem Bild gleich groß bekommen. Der linke ist kein Problem. Der Rechte schon, weil der bei deiner Konfiguration gar nicht sichtbar ist. Sieht man aber im HTML. Und wenn du das hast kannst du auch das mittlere Bild vernünftig zentrieren.

Gruß,
Michael


Top
 Profile  
 
PostPosted: 16. Feb 2013, 02:39 
Offline

Joined: 26. Jan 2013, 06:16
Posts: 16
Vielen dank für die infos.
kann ich mir die 1.9 irgendwo runter laden?

Gruss
George


Top
 Profile  
 
PostPosted: 16. Feb 2013, 11:20 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Noch nicht. Ich bin gerade dabei die php 5.4 kompatibel zu machen. Da haben sich ein paar Kleinigkeiten geändert welche schwer zu finden sind und dafür muss ich ziemlich viel testen...

Gruß,
Michael


Top
 Profile  
 
PostPosted: 19. Feb 2013, 01:45 
Offline

Joined: 26. Jan 2013, 06:16
Posts: 16
Hab noch ein wenig mit dem firefox inspector herum gespielt. An einer Stelle musste ich display: block durch inline-block ersetzen. Habe das aber nicht im css hinbekommen.
Dann sah ich die lightbox Oberfläche. Das sieht nach was aus was ich gerne hätte. Plus einige der anderen Features für registrierte Nutzer.
Also kommt da bald etwas per paypal.


Top
 Profile  
 
PostPosted: 19. Feb 2013, 11:11 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
wo steht denn ein display:block im code?

Gruß,
Michael


Top
 Profile  
 
PostPosted: 22. Feb 2013, 00:08 
Offline

Joined: 26. Jan 2013, 06:16
Posts: 16
da isser:

div.twg_img-shadow table {
display: block;


Top
 Profile  
 
PostPosted: 22. Feb 2013, 10:18 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Aber das ist ja im css.
Da gehört es ja hin.

Ich dachte es ist was hart im html. Was das sollte man ja nicht tun. die Center sind auch blos drin, weil ältere Browserversionen hier probleme gemacht haben.

Gruß,
Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy