Image resize - babecheck

Hulp nodig bij een modificaties of op zoek naar een MOD? Bekijk ons archief. Support wordt helaas niet meer verleend.
Forumregels

Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.
phpBB2.0.x
Gesloten
Gebruikersavatar
micha3L
Berichten: 943
Lid geworden op: 05 dec 2002, 18:23
Locatie: Nederland

Image resize - babecheck

Bericht door micha3L » 06 mei 2004, 20:11

Ik zoek dezelfde image resize als die babecheck heeft gebruikt..
Kan iemand me die geven..? ( de link )

Gebruikersavatar
Luuk
Berichten: 7311
Lid geworden op: 22 okt 2003, 10:07
Locatie: Delft

Bericht door Luuk » 06 mei 2004, 21:01

misshcien kun je het de beheerder even vragen of je zijn script mag gebruiken, want het script uit zijn bestanden halden is niet zo moeilijk...
Afbeelding

Gebruikersavatar
micha3L
Berichten: 943
Lid geworden op: 05 dec 2002, 18:23
Locatie: Nederland

Bericht door micha3L » 06 mei 2004, 21:16

OOh sorry, ik dacht dat het gewoon een modification was ..

Gebruikersavatar
Carlo Claessen
Berichten: 1280
Lid geworden op: 02 jul 2005, 14:05

Bericht door Carlo Claessen » 06 mei 2004, 22:41

het is een mod

phphbb.com

zok effe op image resize
''Do not meddle in the affairs of wizards, for they are subtle and quick to anger. '' J.R.R Tolkien

Gebruikersavatar
Kaza
Berichten: 604
Lid geworden op: 13 sep 2003, 07:46
Locatie: Rotterdam
Contacteer:

Bericht door Kaza » 07 mei 2004, 07:36

Ik weet niet of babecheck deze gebruikt maar deze is een goeie.

Code: Selecteer alles

################################################################# 
## Mod Title:       Simple Image Resize 
## Mod Version:    1.1.0 Final 
## Author:       likeatim < admin @ essential-freebies.de > < http://www.efb.nu > 
## Description: 
## Orginal Code by opa @ invisionpower.de 
## This adds a simple Image resize code so your tables won't get screwed by oversized images. 
## Works dynamically with every screen resolution. 
## Uses Javascript, so resizing might not work if people have adblocker (Proxomitron etc.) installed. 
## Solution: Users should then add your site to their trusted sites within the adblocker. 
## 
## Installation Level:    Easy 
## Installation Time:    1 Minute 
## Files To Edit:    bb.code.tpl 
## Included Files: n/a 
################################################################# 
## Security Disclaimer: This MOD Cannot Be Posted To Or Added At Any Non-Official phpBB Sites 
################################################################# 
## 
## Author Note: 
## No Notes. 
## 
## History: 
## 1.10: Images now are resized proportionally (as an alternative) 
## 1.00: Initial Release 
## 
## the phpBB Group Reserves The Right To Remove/Edit Author Notes, 
## Should It Be Warranted 
## 
################################################################# 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
################################################################# 

# 
#-----[ OPEN ]------------------------------------------ 
# 
templates/subsilver (or whatever you use/bbcode.tpl 



# 
#-----[ FIND ]------------------------------------------ 
# 
<!-- BEGIN img --><img src="{URL}" border="0" /><!-- END img --> 

# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
<!-- BEGIN img --><img src='{URL}' border='0' onload="javascript:if(this.width > screen.width-300)this.width = (screen.width-300)" onclick="javascript:window.open('{URL}','','scrollbars=1,toolbar=yes,resizable=1,menubar=yes,directories=yes,status=yes')" alt="Posted Image, might have been reduced in size. Click Image to view fullscreen." title="Posted Image, might have been reduced in size. Click Image to view fullscreen." /> 
<!-- END img --> 



FOR PROPORTIANAL RESIZING: 

# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
<!-- BEGIN img --><img src='{URL}' border='0' onload="javascript:if(this.width > screen.width-300){ this.height = Math.round(((screen.width-300)/this.width)*this.height); this.width = (screen.width-300); }" onclick="javascript:window.open('{URL}','','scrollbars=1,toolbar=0,resizable=1,menubar=0,directories=0,status=0')" alt="Posted Image, might have been reduced in size. Click Image to view fullscreen." title="Posted Image, might have been reduced in size. Click Image to view fullscreen." /> 
<!-- END img --> 

# 
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ 
# 
# EoM
Last edited by Kazango on Sat sep 23, 2004 6:35 am; edited 458 times in total


Gesloten