
Asi lo reviso y te comento, ya tengo una idea de qué es

Recordad que para pedir soporte alguno, debéis facilitar los datos de soporte oportunos por favor, mirad aquí y leer las Normas generales del foro, esto nos servirá de ayuda para dar el mejor soporte..
Gracias.
La Administración de phpBB España.
Código: Seleccionar todo
//
// Limit Image Width MOD --- BEGIN
//
global $board_config;
$max_image_width = intval($board_config['max_img_width']);
if ( preg_match_all("#\[img:$uid\](.*?)\[/img:$uid\]#si", $text, $images) )
{
$image_patterns = array();
$image_replacements = array();
while ( list($index, $image_source) = each($images[1]) )
{
if ( intval($max_image_width) != 0 )
{
list($image_width, $image_height) = @getimagesize($image_source);
if ( $image_width && $image_width > $max_image_width )
{
$image_patterns[] = $images[0][$index];
$image_replacements[] = '<a href="' . $images[1][$index] . '" rel="lightbox"><img src="' . $images[1][$index] .'" width="' . $max_image_width . '" alt="' . $lang['LIW_click_image'] . '" border="0"></a><br /><span class="gensmall">' . $lang['LIW_click_image_explain'] . '</span>';
}
else
{
$image_patterns[] = $images[0][$index];
$image_replacements[] = '<a href="' . $images[1][$index] . '" rel="lightbox"><img src="' . $images[1][$index] . '" alt="" border="0"></a>';
}
}
else
{
$image_patterns[] = $images[0][$index];
$image_replacements[] = '<a href="' . $images[1][$index] . '" rel="lightbox"><img src="' . $images[1][$index] . '" alt="" border="0"></a>';
}
}
$text = str_replace($image_patterns, $image_replacements, $text);
}
//
// Limit Image Width MOD --- END
//
Código: Seleccionar todo
$image_replacements[] = '<a href="' . $images[1][$index] . '" rel="lightbox"><img src="' . $images[1][$index] .'" width="' . $max_image_width . '" alt="' . $lang['LIW_click_image'] . '" border="0"></a><br /><span class="gensmall">' . $lang['LIW_click_image_explain'] . '</span>';
Código: Seleccionar todo
$image_replacements[] = '<a href="' . $images[1][$index] . '" rel="lightbox"><img src="' . $images[1][$index] .'" width="' . $max_image_width . '" alt="' . $lang['LIW_click_image'] . '" border="0"></a>';
Código: Seleccionar todo
if (!window.opera)
{
rmw_ref.onclick = function()
{
if (!rmw_pop.closed)
{
rmw_pop.close();
}
rmw_pop = window.open('about:blank','christianfecteaudotcom',rmw_pop_features);
rmw_pop.resizeTo(window.screen.availWidth,window.screen.availHeight);
rmw_pop.moveTo(0,0);
rmw_pop.focus();
rmw_pop.location.href = this.src;
}
}
else
{
var rmw_rand2 = String(rmw_count++);
eval("rmw_pop" + rmw_rand2 + " = new Function(\"rmw_pop = window.open('" + rmw_ref.src + "','christianfecteaudotcom','" + rmw_pop_features + "'); if (rmw_pop) {rmw_pop.focus();}\")");
eval("rmw_ref.onclick = rmw_pop" + rmw_rand2 + ";");
}
Raul [ThE KuKa] en phpBB
Jr. Extension Validator - Jr. Styles Validator - Style Customisations - Translator - International Support Team
Si te gustan mis estilos, traducciones, etc. y quieres mostrar algo de aprecio, no dudes en hacer una donación
phpBB España - En línea desde 2003