Seite 1 von 1

iMinimize Mod Frage

Verfasst: 07.09.2004 22:24
von Kiss News
Hallo!
Ich habe eine Frage zu diesem Mod:
##############################################################
## MOD Title: iMinimize
## MOD Author: Nome < nome@bk.ru >
## MOD Version: 2.0.0
##
## Installation Level: Easy
## Installation Time: 4-5 Minutes
## Files To Edit: 3
## - templates/subSilver/bbcode.tpl
## - language/lang_english/lang_main.php
## - includes/bbcode.php
##
## Mod Description: Minimizes images which do not fit
## into preset sizes by changing the width and height params of img tags.
## Users also have an ability to set sizes for images using
## [img][width:height]img_path[/img] construction.
## You can also specify an image to replace broken imagó links or use other information
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/downloads/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/downloads/
Der macht das Foto zwar kleiner, aber nur etwas, und man muss immer noch scrollen. Weiss vielleicht jemand, woran das liegen mag? Hat vielleicht jemand den Mod, wo er richtig funktioniert?

Verfasst: 07.09.2004 22:45
von funfreak
kannst Du Dir die Größe nicht einstellen ??
Also als Variable z.B. in Pixeln angeben ??


kein Plan kennen den Mod noch nicht...

Verfasst: 07.09.2004 22:48
von Kiss News
Du meinst das
[img][width:height]img_path[/img] construction.
hat irgendwie nicht geklappt... :roll:

Verfasst: 07.09.2004 22:48
von funfreak

Code: Alles auswählen

// iMinimize_MOD - start
function getsize($url){
	
	// Maximum width and height for inpost images
	$iWidth = 650;
	$iHeight = 500;

Such das (in der Install) und mach es kleiner oder größer...

Verfasst: 07.09.2004 23:03
von Kiss News
habe das geändert auf max 400 bzw. 246... aber das Foto wird zerquetscht und wird nicht gleichmäßig verkleinert :roll: