Page 4 of 5

Re: [2.0.18] Simple Mod Resize Images

Posted: Fri May 11, 2007 9:35 am
by achievehigh.org
I wonder if this Post Image Max Size mod or the one in the first post of this thread has more functions (allows more convenience). Please advise a mod to resize images that is best and include the direct link to that mod. Thanks.

Re: [2.0.18] Simple Mod Resize Images

Posted: Mon Sep 03, 2007 5:27 pm
by Natassia
All this mod did was turn our posted images into links that opened a new page and the page was blank!

It didnt shrink the larger images at all.

I have java enabled, and its not my browser, and the install was very simple so I doubt it was a screw up there...I think this mod needs to be retested.

Re: [2.0.18] Simple Mod Resize Images

Posted: Sat Nov 17, 2007 2:59 am
by MamaKat
I just installed this and it works great. . .except for signatures. It resizes them to be pretty small, including tickers. How can I change this?

Re: [2.0.18] Simple Mod Resize Images

Posted: Sun Nov 18, 2007 5:26 pm
by joeydee
Im trying to figure out how I can set the images to auto-resize to 520x width and proportionally to whatever height.

Can anyone help me please?
-Joey

Re: [2.0.18] Simple Mod Resize Images

Posted: Sun Nov 18, 2007 5:39 pm
by nycore
Open the file SMRcode.js in a word editor (like wordpad). The 4th line down is the size option :

SMR_confMaxDim = 350; // pixels

Re: [2.0.18] Simple Mod Resize Images

Posted: Sun Nov 18, 2007 6:07 pm
by joeydee
nycore wrote:Open the file SMRcode.js in a word editor (like wordpad). The 4th line down is the size option :

SMR_confMaxDim = 350; // pixels
So just only change that line to 520 (the size I would like)...?

-Joey

Re: [2.0.18] Simple Mod Resize Images

Posted: Sun Nov 18, 2007 7:30 pm
by joeydee
I don't know what is going on with my mod...

check it out: http://pumatalk.com/forum/viewtopic.php ... &start=135

I didn't do the modifications in the header cause my header size is 720px but check out the images in the body (post topics).

-Joey

Re: [2.0.18] Simple Mod Resize Images

Posted: Sun Nov 18, 2007 8:06 pm
by nycore
Yes, change that number to with WIDTH that you want. Also, make sure that the SMRcode.js file is in the TEMPLATES folder. If its not there then the MOD doesnt function.

With all MODS, you must perform all commands or they dont work. You need to edit the overall_header.tpl file for sure. Some MODS you can get away with leaving parts out but in general you shouldnt do that. Without editing the header file you arent telling the web-browser to use the java script to resize the images :)

Re: [2.0.18] Simple Mod Resize Images

Posted: Mon Nov 19, 2007 6:23 am
by joeydee
nycore wrote:With all MODS, you must perform all commands or they dont work. You need to edit the overall_header.tpl file for sure. Some MODS you can get away with leaving parts out but in general you shouldnt do that. Without editing the header file you arent telling the web-browser to use the java script to resize the images :)
Fa Fa Fa FIXXXX IT :) hahaha...

Thanks a lot bro! Sorry for being ignorant at first and making you repeat the instructions! Its just I thought it would resize the head as well! but all is good now.. thanks again!

Now - All I'm missing is a really COOL bbcode... do you know any good one, with a lot a good amount of features and that looks nice?

-Joey

Re: [2.0.18] Simple Mod Resize Images

Posted: Wed Jan 16, 2008 9:20 pm
by SpitfireNL
Is it possible to use this MOD with version phpbb3 ??????
I really need such a MOD for mine

Re: [2.0.18] Simple Mod Resize Images

Posted: Tue Jan 29, 2008 1:48 pm
by allymcbeal
I have installed this mod on my forum. But now I have a problem.
Usually I put an image and under this image I put a link

Code: Select all

[url=http://www.serialit.com/isa/index.htm][img]http://www.serialit.com/isa/images/layout/banner01_isa2008.jpg[/img][/url]
so when you push on image you are redirect to the web page of link inside.

But now, with the resize mod, the links don't work and open a blak page with the image and nothing else.
Please, how can I do to risolve this problem?

Re: [2.0.18] Simple Mod Resize Images

Posted: Mon Mar 03, 2008 12:34 pm
by Whacko
this mod work good and not good for me :s
and i hope that someone could help me with this

i installed it, and images that are to big are getting smaller (it does what is need to do)
but when someone upload a picture with imageshack, or another site and post is in a link with thumbail then when we click on it it doenst show us the bigger images, but still stay in the thumbail on a new webpage :s

so the problem was fixed after i changed this again

this is the original thing that you had to change

Code: Select all

#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/bbcode.tpl

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

#
#-----[ REPLACE WITH ]------------------------------------------
#
<!-- BEGIN img --><a href="" onMouseOver="SMR_setLink(this);" target="_blank"><img src="{URL}" border="0" onLoad="SMR_resize(this);"  /></a><!-- END img -->
so what you need to replace i deleted it again, and set it back to the original

then the thumbail thing is fixed, but not that the images resize :s

i hope you understand what i mean, and i hope someone could help me

greetz...

Re: [2.0.18] Simple Mod Resize Images

Posted: Mon Mar 03, 2008 12:40 pm
by Brf
This was already explained on the previous page.
You can only have one link on an image, therefore you cannot have both an imageshack link and a resize link.

Re: [2.0.18] Simple Mod Resize Images

Posted: Mon Mar 03, 2008 1:33 pm
by Whacko
sorry about it, i missed it i guess

thx for letting me know ;)
then i need to search for a other resize mod

Re: [2.0.18] Simple Mod Resize Images

Posted: Mon Mar 03, 2008 1:38 pm
by Brf
I doubt you will find one suitable for imageshack.
You need to educate your users to use imageshack's full image link, instead of the thumbnail link.