MIATeam.de Community Diskussionsboard für Phantasy Star Online, Universe, Portable und Zero und andere Spiele
Alles rund um Phantasy Star Online & Universe & Portable & Zero für alle Systeme (PC,Xbox, Xbox360, PS2 ,GC,Dreamcast,PSP und Nintendo DS) und alle Videospiele für ambitionierte Gamer
Ich will in meinem Forum ein Script einbauen was die Bilder Automatisch kleiner macht von der grössse und das man einfach dann nur das Bild anglicken muss um es in seiner vollen grösse zu sehen nur verstehe ich eines nicht.
#
#-----[ AFTER, ADD ]------------------------------------------
#
# "([0-5]?[0-9]?[0-9])" limits the maximum width or height to 599 by limiting the digits
# It is important to know that for example "([0-6]?[0-4]?[0-0])" forbids the height '656' because the digits 5 (2. position) and 6 (3. position) are not allowed
# So please limit the specifications to 599, 699, ...
#
// BEGIN Resize Images
// [img width= height=] and [/img]code..
$patterns[] = "#\[img width=([0-5]?[0-9]?[0-9]) height=([0-5]?[0-9]?[0-9]):$uid\](.*?)\[/img:$uid\]#si";
$replacements[] = $bbcode_tpl['resized_img'];
// END Resize Images
Allso was ich fragen wollte wo soll ich jetzt die grösse des Bilder eingeben dammit ich es sehen kann wie ich es haben will sagen wir 500 x600