Need help with BBCODE image resizer.. !

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Ideas Centre
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
scottybt
Registered User
Posts: 130
Joined: Sun May 11, 2008 5:39 pm

Need help with BBCODE image resizer.. !

Post by scottybt » Mon Apr 25, 2011 6:28 pm

Hi,

Got some problems using this simple image resizer/thumbnail.

In Firefox, Internet Explorer, etc it works just fine. It resizes with %.
However in Safari, it makes all images aprox 400x400.

See picture: http://www.ts-ogn.no/phpBB3/download/fi ... &mode=view
In other browsers the pictures are viewed correctly. It's only Safari that does this.

BBCode usage

Code: Select all

[thumbnail]{URL}[/thumbnail]
HTML replacement

Code: Select all

<a href="{URL}"><img src="{URL}" width="40%" height="40%" alt="Thumbnail Image" title="Thumbnailed Image" /></a>
What is wrong and what needs to be altered?

Thanks!!

scottybt
Registered User
Posts: 130
Joined: Sun May 11, 2008 5:39 pm

Re: Need help with BBCODE image resizer.. !

Post by scottybt » Wed Apr 27, 2011 8:25 pm

anyone?

Drakken
Registered User
Posts: 144
Joined: Thu Jun 12, 2003 6:59 pm
Contact:

Re: Need help with BBCODE image resizer.. !

Post by Drakken » Wed Apr 27, 2011 8:30 pm

Code: Select all

<a href="{URL}"><img src="{URL}" style="width:40%;height:40%" alt="Thumbnail Image" title="Thumbnailed Image" /></a>
Maybe :?:

scottybt
Registered User
Posts: 130
Joined: Sun May 11, 2008 5:39 pm

Re: Need help with BBCODE image resizer.. !

Post by scottybt » Tue May 03, 2011 1:47 pm

Thanks for reply! Tried your code, didn't change anything. Picture is still displayed as a square image.

Other suggestions?

User avatar
Puchahawa
Registered User
Posts: 768
Joined: Sat Jan 01, 2011 10:33 pm
Name: Randy

Re: Need help with BBCODE image resizer.. !

Post by Puchahawa » Tue May 03, 2011 6:20 pm

Rather than using a BBcode to adjust image size you may want to try this mod. image resizer

There are only 4 simple file edits and adding a few new files to your board.
Avatar courtesy of artist Faith Coyotë

scottybt
Registered User
Posts: 130
Joined: Sun May 11, 2008 5:39 pm

Re: Need help with BBCODE image resizer.. !

Post by scottybt » Tue May 03, 2011 8:47 pm

I'm aware of the mods that are availble.. it's just that the leaders on the board don't really want to edit or install anything. So a BBCODE would be the best solution. Thanks anyway.

Locked

Return to “[3.0.x] Support Forum”