Re: Ideas y críticas, pon aquí tus sugerencias (Tema fijo)
Publicado: Sab 29 Ene, 2011 21:28
Hay un mod para el phpBB llamado ReIMG Image Resizer que parece perfecto para eso:Frangullasetc.. escribió:Siempre hay alguien que se despista con el tamaño de las fotos y las sube en un tamaño excesivamente grande. Para evitarlo ¿se podría configurar el editor para que rechazase fotos de un tamaño superior al admitido, como sucede al añadir una foto al avatar?
Aquí hay un hilo de un foro que es una demo de este mod.Features:
* Images are resized (downscaled) client-side using javascript.
* Images don't first load in large format and then collapse, but instead appear only after they have been resized already.
* An optional zoom button is overlayed on top of resized images, so you can click to the original-sized image. This button will not mess up a URL the poster might have placed around the image.
* The original-sized image can open in the current window, in a new window, in a cool lightbox, or through the Highslide JS image viewer.
* Only user-posted images posted using Img BBCode or uploaded as attachment are resized. However, any other image can be resized (and/or equipped with a zoom button) by adding onload and onerror events to the <img> XHTML tag.
* You can specify the maximum dimensions in pixels (e.g. 640x480) and/or a maximum relative width (e.g. 80%).
* All settings (maximum dimensions, zooming method) can be changed from the Administration Control Panel.
* This MOD comes with default, neutral style sheeting built in, so you don't need to alter all your theme files. However, you can override these defaults from within your theme files, and thus unleash your own style sheeting magic on the resized images.
* Quick loading, compressed javascript files as well as full javascript source code files are included.
* I've successfully tested this MOD in Internet Explorer 8, Internet Explorer 7, Internet Explorer 6, Firefox 3.5, Firefox 3, Firefox 2, Firefox 1.5, Firefox 1.0, Opera 9.6, Opera 9.5, Opera 9.27, Safari 4, Safari 3.1, Mozilla 1.7, Google Chrome (2.0.172.37), Konqueror (4.2.2) and Epiphany (2.26.3).