Pagina 1 van 1

picture resize mod voor f1

Geplaatst: 07 jun 2005, 19:57
door Ludix-Forum
Weet iemand een picture resize mod voor het F1 theme, ik heb er nu al 3 geprobeerd die wel werken op subsilver maar niet op F1 subsilver. Iemand ervaring hiermee ?

Ik heb nu deze maar die werkt op alle plaatjes, ik zou graag 1 willen hebben die alleen op te grote plaatjes werkt.

Code: Selecteer alles

# 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
[/code]

Geplaatst: 07 jun 2005, 20:12
door Bee
Bedoel je FI subSilver toevallig? Deze hierboven werkt namelijk gewoon op FI subSilver hoor.

Geplaatst: 08 jun 2005, 19:44
door TAFKAH
Zou deze ook werken op Black_Yellow en op Solaris ??

Zo niet weet iemand een rezise mod die daar wel op werkt??

Geplaatst: 08 jun 2005, 19:56
door Paul
Waarschijnlijk wel ja :)

Geplaatst: 09 jun 2005, 10:30
door jh0nny
Dit werkt op iedere template, overigens verkleint deze niet ALLE plaatjes maar de degene die aan de grootte voldoen die opgegeven staan in die mod.