[ABD] Auto Image Resizer w Lytebox - phpBB 3.0.1 GOLD

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
User avatar
darkera13
Registered User
Posts: 91
Joined: Sun Jun 03, 2007 7:12 pm
Location: Ha Noi, Viet Nam
Contact:

[ABD] Auto Image Resizer w Lytebox - phpBB 3.0.1 GOLD

Postby darkera13 » Wed Jul 04, 2007 8:07 am

phpBB Part: Forum
MOD Name: Auto Image Resizer
MOD Version: 1.3.0 Beta
Author: darkera13
MOD Description: This mod fix the bug of [img] bbcode when you add a huge image has width larger than the width of post content(on IE the forum layout broken, on FF it only show a part of image).
Works with: Any phpBB3 Version (Include Beta)
Works with Styles: Prosilver & Subsilver
Installation Level: Easy
Installation Time: ~5 Minutes

DOWNLOAD

Please remove any previous version before install this version.

Screenshot:

Image

Image

Change log:

2007-07-05 - Version 1.0.1

Code: Select all

        *  Add lang variable to common.php
        *  Change file: styles/*/templates/over_header.html
        *  Change file: styles/*/templates/imageResize.js

2007-07-07 - Version 1.1.0

Code: Select all

        *  Optimize script auto image resize(reduce size) and combine with Lytebox. Seperate language variable.
        *  And the error of method "onload" call on tag "img" solved when you check your site by W3C validate tool.


2007-07-16 - Version 1.2.0

Code: Select all

        *  Updated Lytebox library from 3.1.0 to 3.2.0.


2008-04-17 - Version 1.3.0

Code: Select all

        *  Updated Lytebox library from 3.2.0 to 3.2.2.
        *  Add ACP control


ATTACHMENT IMAGE

PROSILVER
OPEN

Code: Select all

styles/prosilver/template/attachment.html

FIND

Code: Select all

<dt><a href="{_file.U_DOWNLOAD_LINK}">

REPLACE WITH

Code: Select all

<dt><a href="{_file.U_DOWNLOAD_LINK}" rel="lytebox">

FIND

Code: Select all

<dt class="attach-image"><img src="{_file.U_INLINE_LINK}" alt="{_file.DOWNLOAD_NAME}" onclick="viewableArea(this);" /></dt>

REPLACE WITH

Code: Select all

<dt><a href="{_file.U_INLINE_LINK}" rel="lytebox" class="image-resize"><img src="{_file.U_INLINE_LINK}" alt="{_file.DOWNLOAD_NAME}" /></a></dt>


SUBSILVER2
OPEN

Code: Select all

styles/subsilver2/template/attachment.html

FIND

Code: Select all

<!-- IF _file.S_THUMBNAIL -->
         <a href="{_file.U_DOWNLOAD_LINK}">

REPLACE WITH

Code: Select all

<!-- IF _file.S_THUMBNAIL -->
         <a href="{_file.U_DOWNLOAD_LINK}" rel="lytebox">

FIND

Code: Select all

<!-- IF _file.S_IMAGE -->
         <img src="{_file.U_INLINE_LINK}" alt="{_file.DOWNLOAD_NAME}" />

REPLACE WITH

Code: Select all

<!-- IF _file.S_IMAGE -->
         <a href="{_file.U_INLINE_LINK}" rel="lytebox" class="image-resize"><img src="{_file.U_INLINE_LINK}" alt="{_file.DOWNLOAD_NAME}" /></a>



LYTEBOX BBCODE :

Group Images :

Code: Select all

[glytebox={TEXT2}]{TEXT1}[/glytebox]

Code: Select all

<a href="{TEXT1}" rel="lytebox[{TEXT2}]" title="" class="image-resize"><img src="{TEXT1}" alt=""
/></a>

{TEXT2} is group name
{TEXT1} is link to image

Slide Show Images:

Code: Select all

[slytebox={TEXT2}]{TEXT1}[/slytebox]

Code: Select all

<a href="{TEXT1}" rel="lyteshow[{TEXT2}]" title="" class="image-resize"><img src="{TEXT1}" alt="" /></a>

{TEXT2} is group name
{TEXT1} is link to image

Frame:

Code: Select all

[flytebox={TEXT2}]{TEXT1}[/flytebox]

Code: Select all

<a href="{TEXT2}" rel="lyteframe" title="{TEXT2}" rev="width: 700px; height: 500px; scrolling: yes;">{TEXT1}</a>

{TEXT2} is link to target
{TEXT1} is title

Frame Group:

Code: Select all

[fglytebox={TEXT3},{TEXT1}]{TEXT2}[/fglytebox]

Code: Select all

<a href="{TEXT3}" rel="lyteframe[{TEXT2}]" title="{TEXT3}" rev="width: 700px; height: 500px; scrolling: yes;">{TEXT1}</a>

{TEXT3} is link to target
{TEXT2} is group name
{TEXT1} is title
Last edited by DavidIQ on Tue Feb 17, 2009 2:52 am, edited 23 times in total.
Reason: Marked as abandoned

saaiberke
Registered User
Posts: 1126
Joined: Wed Jul 20, 2005 8:13 am
Location: Gent/Belgium
Contact:

Re: [BETA] Auto Image Resizer 1.0.0 for phpBB 3.0 RC2

Postby saaiberke » Wed Jul 04, 2007 8:43 am

Nice mod. Thank you very much. :)

Can I send you a Dutch translation of the script?

Grtz,

Nic


User avatar
darkera13
Registered User
Posts: 91
Joined: Sun Jun 03, 2007 7:12 pm
Location: Ha Noi, Viet Nam
Contact:

Re: [BETA] Auto Image Resizer 1.0.0 for phpBB 3.0 RC2

Postby darkera13 » Wed Jul 04, 2007 9:56 am

internet1 wrote:link dead :cry:


Check your internet connect, it live now.

carmelomvp
Registered User
Posts: 85
Joined: Sun Sep 10, 2006 1:37 pm

Re: [BETA] Auto Image Resizer 1.0.1 for phpBB 3.0 RC2

Postby carmelomvp » Wed Jul 04, 2007 11:57 am

Hi I installed the mod and works fine, but you can tell me how install the mod using the templete serenity?please this mod is very important for me. Thanks

The skin is here: viewtopic.php?f=74&t=546345&hilit=

User avatar
darkera13
Registered User
Posts: 91
Joined: Sun Jun 03, 2007 7:12 pm
Location: Ha Noi, Viet Nam
Contact:

Re: [BETA] Auto Image Resizer 1.0.1 for phpBB 3.0 RC2

Postby darkera13 » Wed Jul 04, 2007 12:07 pm

Do same action for prosilver. Repalce the url path to prosilver template by serenity and edit theme.

User avatar
okada1314
Registered User
Posts: 209
Joined: Sat Oct 29, 2005 10:51 am
Location: China, Hong Kong
Contact:

Re: [BETA] Auto Image Resizer 1.0.1 for phpBB 3.0 RC2

Postby okada1314 » Wed Jul 04, 2007 12:10 pm

carmelomvp wrote:Hi I installed the mod and works fine, but you can tell me how install the mod using the templete serenity?please this mod is very important for me. Thanks

The skin is here: viewtopic.php?f=74&t=546345&hilit=


try it

Code: Select all

#
#-----[OPEN]-----
#
styles/serenity/template/overall_header.html
#
#-----[FIND]-----
#
</head>

#
#-----[BEFORE ADD]-----
#
<script type="text/javascript" src="{T_TEMPLATE_PATH}/imageResize.js"></script>
<script type="text/javascript" >
NcodeImageResizer.MODE = 'newwindow';
NcodeImageResizer.IMAGE = '{T_THEME_PATH}/images/img_warn.gif';
NcodeImageResizer.MAXWIDTH = 640;
NcodeImageResizer.MAXHEIGHT = 0;
</script>

#
#-----[OPEN]-----
#
serenity/template/bbcode.html
#
#-----[FIND]-----
#

<!-- BEGIN img --><img src="{URL}" alt="{L_IMAGE}" /><!-- END img -->

#
#-----[Replace With]-----
#

<!-- BEGIN img --><img src="{URL}" alt="{L_IMAGE}" onload="NcodeImageResizer.createOn(this);" /><!-- END img -->

WBASS
Registered User
Posts: 77
Joined: Thu Sep 21, 2006 11:09 am

Re: [BETA] Auto Image Resizer 1.0.1 for phpBB 3.0 RC2

Postby WBASS » Wed Jul 04, 2007 3:22 pm

Hmm..great i need it but not in all my forums :| how can i use it in specifique forums???

searchforme
Registered User
Posts: 47
Joined: Wed May 23, 2007 7:13 pm

Re: [BETA] Auto Image Resizer 1.0.1 for phpBB 3.0 RC2

Postby searchforme » Wed Jul 04, 2007 6:50 pm

thanks once again darkera13.. once again you come thru wit great thangs to share 8-)

& this works great for me as well :!:

saaiberke
Registered User
Posts: 1126
Joined: Wed Jul 20, 2005 8:13 am
Location: Gent/Belgium
Contact:

Re: [BETA] Auto Image Resizer 1.0.0 for phpBB 3.0 RC2

Postby saaiberke » Wed Jul 04, 2007 8:15 pm

saaiberke wrote:Can I send you a Dutch translation of the script?


Grtz,

Nic

User avatar
Algore
Registered User
Posts: 294
Joined: Tue Oct 24, 2006 10:19 am

Re: [BETA] Auto Image Resizer 1.0.1 for phpBB 3.0 RC2

Postby Algore » Wed Jul 04, 2007 11:55 pm

I installed this mod but it had no effect at all

Nor to the previous posted images nor to the new ones

I did the ones written in the .xml file
Uploaded 2 files
edited 3 file

Help pls

User avatar
darkera13
Registered User
Posts: 91
Joined: Sun Jun 03, 2007 7:12 pm
Location: Ha Noi, Viet Nam
Contact:

Re: [BETA] Auto Image Resizer 1.0.1 for phpBB 3.0 RC2

Postby darkera13 » Thu Jul 05, 2007 3:26 am

Algore wrote:I installed this mod but it had no effect at all

Nor to the previous posted images nor to the new ones

I did the ones written in the .xml file
Uploaded 2 files
edited 3 file

Help pls


Refresh template and theme on Styles Section in ACP please. All of here instlled success.

User avatar
lefty74
Registered User
Posts: 3649
Joined: Wed Sep 14, 2005 8:26 pm
Location: NL
Contact:

Re: [BETA] Auto Image Resizer 1.0.1 for phpBB 3.0 RC2

Postby lefty74 » Thu Jul 05, 2007 10:14 am

very nice mod darkera13
lefty74
zoocrew.eu - help us save our wildlife
My MODS | Due to lack of time I unfortunately am unable to work on my mods anymore, anyone who has ideas to improve them and would like to take any of them over, please PM me.

User avatar
Algore
Registered User
Posts: 294
Joined: Tue Oct 24, 2006 10:19 am

Re: [BETA] Auto Image Resizer 1.0.1 for phpBB 3.0 RC2

Postby Algore » Thu Jul 05, 2007 3:43 pm

I refreshed it and i use ur skin darkgreen

I tried in FF2 and IE7

No change ( NO effect at all )

User avatar
darkera13
Registered User
Posts: 91
Joined: Sun Jun 03, 2007 7:12 pm
Location: Ha Noi, Viet Nam
Contact:

Re: [BETA] Auto Image Resizer 1.0.1 for phpBB 3.0 RC2

Postby darkera13 » Thu Jul 05, 2007 3:48 pm

Algore wrote:I refreshed it and i use ur skin darkgreen

I tried in FF2 and IE7

No change ( NO effect at all )


Check your install step by step or try reinstall it on localhost. No one has any problem with this mod.


Return to “[3.0.x] Abandoned MODs”

Who is online

Users browsing this forum: No registered users and 2 guests