[x] Navigation

[x] Wer ist wo
 Bots:
1: Google > Forum 9.x
2: YANDEX > Forum 9.x
 Visitors:
1: Forum 9.x
2: Forum 9.x
3: Forum 9.x
4: Benutzerbereich

[x] Languages

[x] Design
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.

[x] Downloads (Top)

Bildname in Thumbnailübersicht nicht anzeigen
Post new topic   Reply to topic   Printer Friendly Page    Forum Index > > HowTo & Allgemeine Fragen

Author Message
Christian111
Agent


Joined: May 05, 2005
Posts: 55

PostPost subject: Bildname in Thumbnailübersicht nicht anzeigen
Posted: 24.01.2008 23:50
Reply with quote

Hallo,

wie kann ich denn abstellen, dass der Bildname unter dem Thumbnail angezeigt wird?Oder einen Zeilenumbruch erzwingen?
Bei längeren Bildnamen muss man bei mir im Moment in der Thumbnailansicht leider scrollen...

Hier mal das Problem live:

www.party-ebersheim.de...m=187.html

Grüße

Christian

_________________
www.party-ebersheim.de

Christian111's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
FreeBSD/ 4.4.6/ 5.0.41 (client: 5.0.33) / CPG 9.1.2.1 / GD Version: bundled (2.0.28 compatible)
Back to top
View user's profile Visit poster's website
Klas
Moderator


Joined: Apr 14, 2004
Posts: 293

PostPost subject: Re: Bildname in Thumbnailübersicht nicht anzeigen
Posted: 25.01.2008 14:57
Reply with quote

Hmm, mal auf die schnelle:
Thumbnails werden in includes/coppermine/functions.inc, function display_thumbnails erzeugt.
Zeile 946 und folgende (functions.inc $Revision: 9.44), da steht:
Array:
				if ($row['title'] != '') {
					$pic_title = $row['title'];
					if ($row['keywords'] != '') {
						$pic_title .= "\n";
						$pic_title .= $row['keywords'];
					}
				} elseif ($row['keywords'] != '') {
					$pic_title = $row['keywords'];
				} else {
					$pic_title = substr($row['filename'], 0, -4);
				}
Wenn man danach eine Zeile
Array:
$pic_title = substr($pic_title, 0, 10);
sollte der Titel auf 10 Zeichen gekürzt werden. Habs aber nicht getestet.

_________________
Bitte lies dies bevor du fragst.

Klas's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website
Christian111
Agent


Joined: May 05, 2005
Posts: 55

PostPost subject: Re: Bildname in Thumbnailübersicht nicht anzeigen
Posted: 25.01.2008 19:46
Reply with quote

Hallo Klas,

danke für deine schnelle Antwort, ich hab das grad mal ausprobiert, leider wird der Bildname immer noch in voller Länge angezeigt. Was mir jetzt noch eingefallen ist, der Bildname wird auch erst seit dem ich das jupload Modul am laufen habe angezeigt. Bei den Bilden die ich noch mit der alten Uploadfunktion hoch geladen habe, wir der Bildname nicht angezeigt.

Viele Grüße

Christian

_________________
www.party-ebersheim.de

Christian111's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
FreeBSD/ 4.4.6/ 5.0.41 (client: 5.0.33) / CPG 9.1.2.1 / GD Version: bundled (2.0.28 compatible)
Back to top
View user's profile Visit poster's website
clubhouse
Special-Agent


Joined: Nov 04, 2004
Posts: 478
Location: Eine Insel mit 2 Bergen

PostPost subject: Re: Bildname in Thumbnailübersicht nicht anzeigen
Posted: 26.01.2008 03:39
Reply with quote

Jo, ich hatte das problem auch! Habs aber irgendwie raus gehauen, weil auch der Counter da drunter nicht mehr tat,

ich weiß aber nicht mehr genau wo das war, hab erst nach dem x mal angezeigt in der sprachdatei gesucht, und den string dann in den dateien, und schon hatte ich die stelle *g*

Musst du mal austesten!

_________________


clubhouse's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux Debian 4.0 / PHP 5.2.0-8+etch13 / SQL 5.0.32 / CMS 9.2.1
Back to top
View user's profile Visit poster's website ICQ Number
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page    Forum Index > > HowTo & Allgemeine Fragen
Page 1 of 1
All times are GMT + 1 Hour



Jump to:  


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 vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum




Interactive software released under GNU GPL, Code Credits, Privacy Policy