Pagina 1 van 1

Automatisch foto's verkleinen???

Geplaatst: 26 nov 2007, 00:00
door Gixxer750
Hallo,

was ik weer :lol:
Ik zou wel eens willen weten of het mogelijk is om plaatjes (foto's) automatisch te verkleinen zodat gebruikers ze zonder aan te passen kunnen posten. Iemand dit al werkend heeft of die mij kan uitleggen hoe ik dat zou kunnen realiseren??? :arrow: Ik hoor het graag !!! ;) :D :lol:

Re: Automatisch foto's verkleinen???

Geplaatst: 26 nov 2007, 14:00
door pluko
Ik heb het werkzaam inderdaad
maar dat is via een professional gedaan
dus als je er financieel wat voor over hebt kan hij je helpen.

groetjes An
http://www.trekpaarden.eu

Re: Automatisch foto's verkleinen???

Geplaatst: 26 nov 2007, 16:37
door Gamemaniak
Sorry hoor, maar wie zegt dat dit professioneel is gemaakt. Ik heb al verschillende mods gezien die dit doen en die zijn gratis. En je hebt je topic in de verkeerde sectie geplaatst ;)

http://www.phpbb.com/mods/db/index.php? ... ib_id=1629
Goed gezien, verplaatst van 3.0 Support
- Derky

Re: Automatisch foto's verkleinen???

Geplaatst: 26 nov 2007, 16:57
door Roofiej0
Zoek op Phpbb.com in de database van mods, daar vind je heus wel wat. Phpbb.nl is trouwens ook niet verkeerd hoor :mrgreen:

Re: Automatisch foto's verkleinen???

Geplaatst: 26 nov 2007, 17:34
door Raimon
Gamemaniak schreef:Sorry hoor, maar wie zegt dat dit professioneel is gemaakt. Ik heb al verschillende mods gezien die dit doen en die zijn gratis. En je hebt je topic in de verkeerde sectie geplaatst ;)

http://www.phpbb.com/mods/db/index.php? ... ib_id=1629
Wel leuk zoeen MOD, maar wat heb je eraan als die voor phpBB 2.0.x is ontwikeld?

Re: Automatisch foto's verkleinen???

Geplaatst: 26 nov 2007, 17:41
door Gamemaniak
:oops: Foutje :oops: , je hebt gelijk Raimon

Re: Automatisch foto's verkleinen???

Geplaatst: 02 dec 2007, 09:11
door Dyno
Deze heb ik ook op mijn forum geinstalleerd en werkt perfect.

Code: Selecteer alles

############################################################## 
## MOD Title: Easy Resize Posted Images 
## MOD Author: kber < webmaster@phpbbegypt.com > (kber) http://www.phpbbegypt.com 
## MOD Description:  This MOD resizes images within the posts . Images resized are made 
## clickable and openable in a popup in full-size.
## MOD Version: 1.1.1
## PHPBB versions: phpbb3 -( RC1 -> RC7)
## Installation Level: (Easy) 
## Installation Time: 3 Minute 
## Files To Edit:  styles/prosilver/template/viewtopic_body.html  
                         styles/subsilver2/template/viewtopic_body.html   
## Included Files:
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2 
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################
## Author Notes: 
## Tested with RC7 
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
############################################################## 
# 
#-----[ OPEN ]------------------------------------------ 
# 
styles/prosilver/template/viewtopic_body.html 
# 
#-----[ FIND ]------------------------------------------ 
# 
          <!-- ELSE -->
         <strong>{L_FORUM_RULES}</strong><br />
         {FORUM_RULES}
      <!-- ENDIF -->

      <span class="corners-bottom"><span></span></span></div>
   </div>
<!-- ENDIF -->
# 
#-----[ AFTER , ADD ]------------------------------------------ 
# note : you may change( 600px) to whatever you want 

<script> 
window.onload = resizeimg; 
function resizeimg() 
{ 
   if (document.getElementsByTagName) 
   { 
      for (i=0; i<document.getElementsByTagName('img').length; i++) 
      { 
         im = document.getElementsByTagName('img')[i]; 
         if (im.width > 600) 
         { 
            im.style.width = '600px'; 
            eval("pop" + String(i) + " = new Function(\"pop = window.open('" + im.src + " ','fullscale','width=400,height=400,scrollbars=1,resizable=1'); pop.focus();\")"); 
            eval("im.onclick = pop" + String(i) + ";"); 
            if (document.all) im.style.cursor = 'hand'; 
            if (!document.all) im.style.cursor = 'pointer'; 
            im.title = 'Click Here To See Image Full Size '; 
         } 
      } 
   } 
} 

</script> 

# 
#-----[ OPEN ]------------------------------------------ 
# 
styles/subsilver2/template/viewtopic_body.html 
# 
#-----[ FIND ]------------------------------------------ 
# 
<!-- INCLUDE overall_header.html -->
#
#-----[ AFTER , ADD ]------------------------------------------ 
# note : you may change( 600px) to whatever you want 

<script> 
window.onload = resizeimg; 
function resizeimg() 
{ 
   if (document.getElementsByTagName) 
   { 
      for (i=0; i<document.getElementsByTagName('img').length; i++) 
      { 
         im = document.getElementsByTagName('img')[i]; 
         if (im.width > 600) 
         { 
            im.style.width = '600px'; 
            eval("pop" + String(i) + " = new Function(\"pop = window.open('" + im.src + " ','fullscale','width=400,height=400,scrollbars=1,resizable=1'); pop.focus();\")"); 
            eval("im.onclick = pop" + String(i) + ";"); 
            if (document.all) im.style.cursor = 'hand'; 
            if (!document.all) im.style.cursor = 'pointer'; 
            im.title = 'Click Here To See Image Full Size '; 
         } 
      } 
   } 
} 

</script> 

# 
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ 
# 
# EoM

Re: Automatisch foto's verkleinen???

Geplaatst: 02 dec 2007, 20:18
door protege
Easy Resize Posted Images heb ik ook (op RC8), werkt vooralsnog uitstekend.

Re: Automatisch foto's verkleinen???

Geplaatst: 02 dec 2007, 20:33
door lifeguard
werkt hier ook perfect! op RC8