[2.0.18] Simple Mod Resize Images

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in here. No new MODs will be accepted into the MOD Database for phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.

Rating:

Excellent!
11
55%
Very Good
4
20%
Good
3
15%
Fair
0
No votes
Poor
2
10%
 
Total votes: 20

achievehigh.org
Registered User
Posts: 300
Joined: Sat Apr 01, 2006 3:08 am
Contact:

Re: [2.0.18] Simple Mod Resize Images

Post by achievehigh.org » Fri May 11, 2007 9:35 am

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.

User avatar
Natassia
Registered User
Posts: 10
Joined: Wed Dec 13, 2006 9:29 am

Re: [2.0.18] Simple Mod Resize Images

Post by Natassia » Mon Sep 03, 2007 5:27 pm

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.

MamaKat
Registered User
Posts: 349
Joined: Sat Jun 16, 2007 11:37 pm

Re: [2.0.18] Simple Mod Resize Images

Post by MamaKat » Sat Nov 17, 2007 2:59 am

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?

joeydee
Registered User
Posts: 292
Joined: Tue Mar 07, 2006 2:05 am

Re: [2.0.18] Simple Mod Resize Images

Post by joeydee » Sun Nov 18, 2007 5:26 pm

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

nycore
Registered User
Posts: 185
Joined: Tue Apr 05, 2005 10:45 pm
Location: NYC
Contact:

Re: [2.0.18] Simple Mod Resize Images

Post by nycore » Sun Nov 18, 2007 5:39 pm

Open the file SMRcode.js in a word editor (like wordpad). The 4th line down is the size option :

SMR_confMaxDim = 350; // pixels
Running site since 93. Current mods: Easy Mod, Custom Title, Avatar Resize, Simple Mod Resize Images, Longer Subject, Simple Quick Reply, URL Friendly Entry

joeydee
Registered User
Posts: 292
Joined: Tue Mar 07, 2006 2:05 am

Re: [2.0.18] Simple Mod Resize Images

Post by joeydee » Sun Nov 18, 2007 6:07 pm

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

joeydee
Registered User
Posts: 292
Joined: Tue Mar 07, 2006 2:05 am

Re: [2.0.18] Simple Mod Resize Images

Post by joeydee » Sun Nov 18, 2007 7:30 pm

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

nycore
Registered User
Posts: 185
Joined: Tue Apr 05, 2005 10:45 pm
Location: NYC
Contact:

Re: [2.0.18] Simple Mod Resize Images

Post by nycore » Sun Nov 18, 2007 8:06 pm

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 :)
Running site since 93. Current mods: Easy Mod, Custom Title, Avatar Resize, Simple Mod Resize Images, Longer Subject, Simple Quick Reply, URL Friendly Entry

joeydee
Registered User
Posts: 292
Joined: Tue Mar 07, 2006 2:05 am

Re: [2.0.18] Simple Mod Resize Images

Post by joeydee » Mon Nov 19, 2007 6:23 am

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

SpitfireNL
Registered User
Posts: 10
Joined: Thu Jul 15, 2004 8:19 am

Re: [2.0.18] Simple Mod Resize Images

Post by SpitfireNL » Wed Jan 16, 2008 9:20 pm

Is it possible to use this MOD with version phpbb3 ??????
I really need such a MOD for mine

allymcbeal
Registered User
Posts: 102
Joined: Fri Jul 27, 2007 11:01 pm

Re: [2.0.18] Simple Mod Resize Images

Post by allymcbeal » Tue Jan 29, 2008 1:48 pm

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?

Whacko
Registered User
Posts: 4
Joined: Sun Aug 26, 2007 6:47 pm

Re: [2.0.18] Simple Mod Resize Images

Post by Whacko » Mon Mar 03, 2008 12:34 pm

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...

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51888
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: [2.0.18] Simple Mod Resize Images

Post by Brf » Mon Mar 03, 2008 12:40 pm

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.

Whacko
Registered User
Posts: 4
Joined: Sun Aug 26, 2007 6:47 pm

Re: [2.0.18] Simple Mod Resize Images

Post by Whacko » Mon Mar 03, 2008 1:33 pm

sorry about it, i missed it i guess

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

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51888
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: [2.0.18] Simple Mod Resize Images

Post by Brf » Mon Mar 03, 2008 1:38 pm

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.

Post Reply

Return to “[2.0.x] MOD Database Releases”