[2.0.19] Post Image Max. Size

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!
25
60%
Very Good
7
17%
Good
6
14%
Fair
1
2%
Poor
3
7%
 
Total votes: 42

Beatlesteve
Registered User
Posts: 5
Joined: Sun May 14, 2006 6:29 am

Post by Beatlesteve »

I've installed this mod and it works fine at 1280x1024 but at 1024x768 it resizes images that do not exceed the specified 600pixel width. Has anyone else ahd this happen?

Also, I'm running 2.0.18
User avatar
Saeru
Registered User
Posts: 622
Joined: Sun Feb 19, 2006 5:44 am
Location: Under a pile of PHP code.
Contact:

Post by Saeru »

Beatlesteve wrote: I've installed this mod and it works fine at 1280x1024 but at 1024x768 it resizes images that do not exceed the specified 600pixel width. Has anyone else ahd this happen?

Also, I'm running 2.0.18


You need to update to 2.0.21, this mod works fine in it.. plus you'd be fixing a load of security holes.
"Naku ga yousuru ichidanto tsuyosa kyaku ga icchuu wo yusuru."[/size]
User avatar
Makc666
Registered User
Posts: 358
Joined: Fri Mar 07, 2003 12:03 pm
Location: MSK-RU
Name: Maxim
Contact:

Post by Makc666 »

bafitor wrote: Hi.
I have a little problem.
The mod works fine, but if i put this:

Code: Select all

[url=www.lalala.com][img]http://domain/image.jpg[/img][/url]
the image shows, but there isn't any url on image.
i love this mod! please someone help me....

You don't understand how this mod works.
If you post a big image say 1200x1200 and you limited size to 600x600 than in your post you will see image downgraded by javescript to 600x600.
And when you click on that "thumbnail" a new window will be opened with 1200x1200 image.

It can't open any URL of any page by left click on downgraded image.

If you use that format

Code: Select all

[url=www.lalala.com][img]http://domain/image.jpg[/img][/url]
you have to make right click on that downgraded image and select Open Link or Open Link in a new window.
User avatar
Makc666
Registered User
Posts: 358
Joined: Fri Mar 07, 2003 12:03 pm
Location: MSK-RU
Name: Maxim
Contact:

Post by Makc666 »

Trancemaster wrote: Hi,
I tried adding this mod using Easymod on my MobtownBlues template and come up with the follwing error:
How can i fix this?

Code: Select all

Critical Error

FIND FAILED: In file [includes/bbcode.php] could not find:

$patterns[] = "#\[img:$uid\]([^?].*?)\[/img:$uid\]#i"; 

MOD script line #206 :: FAQ :: Report
EDIT - I have phpbb v2.0.21 and noticed the coding for the above line was different.

I had

Code: Select all

$patterns[] = "#\[img:$uid\]([^?](?:[^\[]+|\[(?!url))*?)\[/img:$uid\]#i";
and changed it to

Code: Select all

$patterns[] = "#\[img:$uid\]([^?].*?)\[/img:$uid\]#i"; 
and then i used Easymod to add the mod which has worked.
Question is, by substituting what i had already, will it cause a problem now?


Return that line in includes/bbcode.php back to

Code: Select all

 	$patterns[] = "#\[img:$uid\]([^?](?:[^\[]+|\[(?!url))*?)\[/img:$uid\]#i";
User avatar
Makc666
Registered User
Posts: 358
Joined: Fri Mar 07, 2003 12:03 pm
Location: MSK-RU
Name: Maxim
Contact:

Post by Makc666 »

Beatlesteve wrote: I've installed this mod and it works fine at 1280x1024 but at 1024x768 it resizes images that do not exceed the specified 600pixel width. Has anyone else ahd this happen?

Also, I'm running 2.0.18

Give as your settings.
Give as that image in archive.
And we shall test it.
Beatlesteve
Registered User
Posts: 5
Joined: Sun May 14, 2006 6:29 am

Post by Beatlesteve »

I have just patched up to 2.0.21 and here is a link to demonstrate what is happening...

http://www.iraclan.net/forum/viewtopic.php?p=3464#3460

Please change your resolution to 1028x768 as it doesn't happen at 1280x1024

You can see the width of the real images is only 374 pixels where we allow up to 650.

Thanks.
User avatar
Makc666
Registered User
Posts: 358
Joined: Fri Mar 07, 2003 12:03 pm
Location: MSK-RU
Name: Maxim
Contact:

Post by Makc666 »

Beatlesteve wrote: I have just patched up to 2.0.21 and here is a link to demonstrate what is happening...

http://www.iraclan.net/forum/viewtopic.php?p=3464#3460

Please change your resolution to 1028x768 as it doesn't happen at 1280x1024

You can see the width of the real images is only 374 pixels where we allow up to 650.

Thanks.

Sorry. What resolution do you speak about?

Your picture

Code: Select all

http://www.iraclan.net/mikey/yeah!.JPG
Has size 374x528.

Why do you speak about 650 I can't understand.
How the picture with size 374x528 can become 650.
Beatlesteve
Registered User
Posts: 5
Joined: Sun May 14, 2006 6:29 am

Post by Beatlesteve »

No, no. I mean that the picture has a resolution of 574 pixels wide and is still being resized despite the board having a maximum posting width of 650 pixels.
User avatar
Makc666
Registered User
Posts: 358
Joined: Fri Mar 07, 2003 12:03 pm
Location: MSK-RU
Name: Maxim
Contact:

Post by Makc666 »

Beatlesteve wrote: No, no. I mean that the picture has a resolution of 574 pixels wide and is still being resized despite the board having a maximum posting width of 650 pixels.


Your picture
Code:
http://www.iraclan.net/mikey/yeah!.JPG

Has size 374x528.

Where do you 574?
There are two settings for width and hight. You have both 650?
nicc
Registered User
Posts: 17
Joined: Wed May 24, 2006 2:08 am

Post by nicc »

Hi! does this mod apply to images posted in signatures?

Also, has anyone used it with the Categories Heirarchy Mod?
User avatar
Saeru
Registered User
Posts: 622
Joined: Sun Feb 19, 2006 5:44 am
Location: Under a pile of PHP code.
Contact:

Post by Saeru »

nicc wrote: Hi! does this mod apply to images posted in signatures?

Also, has anyone used it with the Categories Heirarchy Mod?


Yes it also effects images in Sig's.

And not sure on the other one.
"Naku ga yousuru ichidanto tsuyosa kyaku ga icchuu wo yusuru."[/size]
Beatlesteve
Registered User
Posts: 5
Joined: Sun May 14, 2006 6:29 am

Post by Beatlesteve »

Our page has now moved to www.theblackrevolution.com/forum and the image you speak of can be found here

Image

The image size is set to a maximum of 650 wide by 2000 high as I dont care how tall the images are, I just don't want the tables being blown out. This is why I am concerned that an image of width 524 is being resized as it is less than the specified 650.
nicc
Registered User
Posts: 17
Joined: Wed May 24, 2006 2:08 am

Post by nicc »

Saeru wrote:
nicc wrote:Hi! does this mod apply to images posted in signatures?

Also, has anyone used it with the Categories Heirarchy Mod?


Yes it also effects images in Sig's.

And not sure on the other one.


I installed the mod, and it's working wonderfully in the posts, but not working in member's signatures - any guidance you can give me would help - I'm a novice :)
sblueman
Registered User
Posts: 83
Joined: Mon Aug 02, 2004 2:01 am
Location: San Jose
Contact:

Post by sblueman »

I was wondering if the speed issues are new resolved with this mod. That's the only thing holding me backl from installing it.
Mp34Play
Registered User
Posts: 8
Joined: Thu Jun 15, 2006 6:53 am

Post by Mp34Play »

Here is an example of what is happening on my site.

[IMG:568:496:6c6f8d826e]http://i40.photobucket.com/albums/e222/ ... iction.png[/img:6c6f8d826e]

I know the 598:496 is supposed to be there in the image code but what could possibly be making the 6c6f8d826e apear?
Post Reply

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