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 28. Mar 2024, 23:09

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  [ 5 posts ] 
Author Message
 Post subject: Bildnamen zu lang?
PostPosted: 22. Nov 2006, 11:25 
Offline

Joined: 28. Sep 2006, 13:04
Posts: 29
Hallo,

wenn ich lange Bildnamen als Text verwende, werden die nicht angezeigt.
Gibts denn da eine Längenbeschränkung oder reservierte Zeichen?

Gunther


Top
 Profile  
 
 Post subject:
PostPosted: 22. Nov 2006, 11:58 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
gib mal ein beispiel.
und wie gibst du die ein?

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 22. Nov 2006, 12:46 
Offline

Joined: 28. Sep 2006, 13:04
Posts: 29
Ich habs ein schönes langes Beispiel ausgewählt:
016 Rehearsal Rick Hollander 5-tet : Sava Medan & Michael Arlt - Rick`s Place, Munic 2000.jpg

Hier noch ein kürzeres:
003 Brassless: Sebastian Altekamp On Stage At `Au Chat Noir´, Geneve.jpg

Die alt-Tags sind hier auch leer.

Brauchst Du einen Link?

Gunther


Top
 Profile  
 
 Post subject:
PostPosted: 22. Nov 2006, 14:00 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Hi,

welche version hast du genau?

schau dir mal:

$show_captions = true;
$autodetect_filenames_as_captions=true;
$remove_x_chars_from_filename=0;
$autodetect_filenames_as_captions_number=5;

an - vor allem den letzten parameter. mal durz die beschreibung durchlesen.

zum testen nim einfach mal einen richtig langen namen ohne zahlen - einfach buchstaben.

50 ist übrigens die grenze bei Dateinamen, die ich erlaube!

such mal nach if (strlen($name) > 50) {


in der inc/readxml.inc.php und setz den wert einfach hoch.

Der ist eigentlich dafürda, weil ich live streams unterstütze und da sind die dateinamen so lang. aber eigentlich unsinnig - drum kürz ich die hier.
die erkennung werd ich mal verbessern ;).

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 22. Nov 2006, 14:32 
Offline

Joined: 28. Sep 2006, 13:04
Posts: 29
Hallo Michael,

habe die neueste Version.
hab den Wert für strlen jetzt auf 150 erhöht, alle BUs sind jetzt zu sehen. Die $autodetect_filenames_as_captions_number hab ich vorsichtshalber auch mal erhöht. Diese Funktion ist ja total ausgefuchst.

Danke
Gunther


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 6 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