[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.
Locked
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 w Lytebox - phpBB 3.0.1 GOLD

Post by darkera13 » Sat Apr 19, 2008 1:47 am

unhappyboy wrote:Hello,
First of all i want to thank you for this mod.
But i have a problem,
i cant use imagashack.us codes.

Code: Select all

[URL=http://img514.imageshack.us/my.php?image=wallpaperxyanideresurrelw0.jpg][IMG]http://img514.imageshack.us/img514/3627/wallpaperxyanideresurrelw0.th.jpg[/IMG][/URL]
it doesnt go to imageshack to show big image.
Dou you have anything to fix it?
Lytebox is always show the image in own box.
If you want go to link please create a new bbcode img to do this or dont edit bbcode when install and create new one for lytebox effect (like bbcode replace in install instruction).

emrulez
Registered User
Posts: 64
Joined: Thu Dec 01, 2005 5:15 pm
Contact:

Re: [BETA] Auto Image Resizer w Lytebox - phpBB 3.0.1 GOLD

Post by emrulez » Sat Apr 19, 2008 3:44 pm

The older version had a better looking thumbnail all the same size and small.

Do we have to use a new bbcode for this? If yes which one?

autinhyeu
Registered User
Posts: 685
Joined: Mon Apr 14, 2008 6:34 am
Location: Vietnamese
Contact:

Re: [BETA] Auto Image Resizer w Lytebox - phpBB 3.0.1 GOLD

Post by autinhyeu » Sat Apr 19, 2008 4:07 pm

Thanks author this MOD :) nice MOD
Thanks alot
http://www.trangtinhoc.com/forum/viewto ... f=60&t=129
phpBB Community in Vietnamese: http://www.phpbbvn.com

Sorry, my English language is fine impossible

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 w Lytebox - phpBB 3.0.1 GOLD

Post by darkera13 » Sat Apr 19, 2008 6:02 pm

emrulez wrote:The older version had a better looking thumbnail all the same size and small.

Do we have to use a new bbcode for this? If yes which one?
You can config any size if you want.
If you follow the install instruction, you dont need use any new bbcode.

emrulez
Registered User
Posts: 64
Joined: Thu Dec 01, 2005 5:15 pm
Contact:

Re: [BETA] Auto Image Resizer w Lytebox - phpBB 3.0.1 GOLD

Post by emrulez » Sat Apr 19, 2008 8:47 pm

darkera13 wrote:
emrulez wrote:The older version had a better looking thumbnail all the same size and small.

Do we have to use a new bbcode for this? If yes which one?
You can config any size if you want.
If you follow the install instruction, you dont need use any new bbcode.
can it be something like this the tumbnails http://www.tckbb.co.cc/viewtopic.php?f= ... 1d800c4e27

unhappyboy
Registered User
Posts: 59
Joined: Sun Aug 19, 2007 3:00 pm

Re: [BETA] Auto Image Resizer w Lytebox - phpBB 3.0.1 GOLD

Post by unhappyboy » Sat Apr 19, 2008 8:57 pm

darkera13 wrote:
unhappyboy wrote:Hello,
First of all i want to thank you for this mod.
But i have a problem,
i cant use imagashack.us codes.

Code: Select all

[URL=http://img514.imageshack.us/my.php?image=wallpaperxyanideresurrelw0.jpg][IMG]http://img514.imageshack.us/img514/3627/wallpaperxyanideresurrelw0.th.jpg[/IMG][/URL]
it doesnt go to imageshack to show big image.
Dou you have anything to fix it?
Lytebox is always show the image in own box.
If you want go to link please create a new bbcode img to do this or dont edit bbcode when install and create new one for lytebox effect (like bbcode replace in install instruction).
Thanks for your answer.
can you give me the bbcode please?
i tried but i couldnt find the correct one.

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 w Lytebox - phpBB 3.0.1 GOLD

Post by darkera13 » Sun Apr 20, 2008 4:01 am

emrulez wrote:
darkera13 wrote:
emrulez wrote:The older version had a better looking thumbnail all the same size and small.

Do we have to use a new bbcode for this? If yes which one?
You can config any size if you want.
If you follow the install instruction, you dont need use any new bbcode.
can it be something like this the tumbnails http://www.tckbb.co.cc/viewtopic.php?f= ... 1d800c4e27
Sorry, but this is a attach image. If you want lytebox effect on a attach image, please follow these steps.

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>
Clear cache!
Last edited by darkera13 on Sun Apr 20, 2008 4:57 am, edited 3 times in total.

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 w Lytebox - phpBB 3.0.1 GOLD

Post by darkera13 » Sun Apr 20, 2008 4:10 am

unhappyboy wrote:
darkera13 wrote:
unhappyboy wrote:Hello,
First of all i want to thank you for this mod.
But i have a problem,
i cant use imagashack.us codes.

Code: Select all

[URL=http://img514.imageshack.us/my.php?image=wallpaperxyanideresurrelw0.jpg][IMG]http://img514.imageshack.us/img514/3627/wallpaperxyanideresurrelw0.th.jpg[/IMG][/URL]
it doesnt go to imageshack to show big image.
Dou you have anything to fix it?
Lytebox is always show the image in own box.
If you want go to link please create a new bbcode img to do this or dont edit bbcode when install and create new one for lytebox effect (like bbcode replace in install instruction).
Thanks for your answer.
can you give me the bbcode please?
i tried but i couldnt find the correct one.
IMG without Lytebox BBcode:
BBCODE:

Code: Select all

[img]{URL}[/img]
HTML CODE:

Code: Select all

<img src="{URL}" alt="Image" />

IMG with Lytebox BBcode:
BBCODE:

Code: Select all

[limg]{URL}[/limg]
HTML CODE:

Code: Select all

<a href="{URL}" rel="lytebox" class="image-resize" ><img src="{URL}" alt="Lytebox Image" /></a>

IMG with Lytebox BBcode (Show thumbnail):
BBCODE:

Code: Select all

[limg={URL1}]{URL2}[/limg]
HTML CODE:

Code: Select all

<a href="{URL1}" rel="lytebox" title="" class="image-resize" ><img src="{URL2}" alt="Lytebox Image" /></a>
NOTE : URL1 -> link to full image, URL2 -> link to thumbnail

All image link must be direct link

emrulez
Registered User
Posts: 64
Joined: Thu Dec 01, 2005 5:15 pm
Contact:

Re: [BETA] Auto Image Resizer w Lytebox - phpBB 3.0.1 GOLD

Post by emrulez » Sun Apr 20, 2008 10:07 am

darkera13 wrote:
emrulez wrote:
darkera13 wrote:
emrulez wrote:The older version had a better looking thumbnail all the same size and small.

Do we have to use a new bbcode for this? If yes which one?
You can config any size if you want.
If you follow the install instruction, you dont need use any new bbcode.
can it be something like this the tumbnails http://www.tckbb.co.cc/viewtopic.php?f= ... 1d800c4e27
Sorry, but this is a attach image. If you want lytebox effect on a attach image, please follow these steps.

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>
Clear cache!
Thanx but i wanted to know how to make the images lookj like on that topic no matter if it is an attachment.
As far as i know there was an bbcode which looked liek that and created a tumbnail automatically.

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 w Lytebox - phpBB 3.0.1 GOLD

Post by darkera13 » Sun Apr 20, 2008 10:47 am

Go to ACP > Posting > Attachment Setting :

- Enable 'Display images inline'
- Enable 'Create thumbnail'

When a image attached, click on button 'Place Inline' (Prosilver) so you will have image like that.

Kharon
Registered User
Posts: 235
Joined: Thu Oct 26, 2006 5:27 pm

Re: [BETA] Auto Image Resizer w Lytebox - phpBB 3.0.1 GOLD

Post by Kharon » Sun Apr 20, 2008 9:45 pm

Go to /'ACP/ Board / Post Settings/ ...

includes/acp/apc_board.php some errors .. :roll:

Code: Select all

[phpBB Debug] PHP Notice: in file /adm/index.php on line 290: Undefined index: img_resize_enable
[phpBB Debug] PHP Notice: in file /adm/index.php on line 291: Undefined index: img_resize_enable
[phpBB Debug] PHP Notice: in file /adm/index.php on line 290: Undefined index: img_resize_enable
[phpBB Debug] PHP Notice: in file /adm/index.php on line 291: Undefined index: img_resize_enable
[phpBB Debug] PHP Notice: in file /adm/index.php on line 272: Undefined index: max_post_img_resize_width
[phpBB Debug] PHP Notice: in file /adm/index.php on line 272: Undefined index: max_post_img_resize_width
[phpBB Debug] PHP Notice: in file /adm/index.php on line 272: Undefined index: img_resize_warning
[phpBB Debug] PHP Notice: in file /adm/index.php on line 272: Undefined index: img_resize_warning
[phpBB Debug] PHP Notice: in file /adm/index.php on line 328: Undefined index: lytebox_theme
[phpBB Debug] PHP Notice: in file /adm/index.php on line 328: Undefined index: lytebox_theme
[phpBB Debug] PHP Notice: in file /adm/index.php on line 290: Undefined index: lytebox_auto_resize
[phpBB Debug] PHP Notice: in file /adm/index.php on line 291: Undefined index: lytebox_auto_resize
[phpBB Debug] PHP Notice: in file /adm/index.php on line 290: Undefined index: lytebox_auto_resize
[phpBB Debug] PHP Notice: in file /adm/index.php on line 291: Undefined index: lytebox_auto_resize
[phpBB Debug] PHP Notice: in file /adm/index.php on line 290: Undefined index: lytebox_animation
[phpBB Debug] PHP Notice: in file /adm/index.php on line 291: Undefined index: lytebox_animation
[phpBB Debug] PHP Notice: in file /adm/index.php on line 290: Undefined index: lytebox_animation
[phpBB Debug] PHP Notice: in file /adm/index.php on line 291: Undefined index: lytebox_animation

User avatar
alecrust
Registered User
Posts: 348
Joined: Thu Mar 27, 2008 11:24 am
Location: London, UK
Contact:

Re: [BETA] Auto Image Resizer w Lytebox - phpBB 3.0.1 GOLD

Post by alecrust » Wed Apr 23, 2008 2:39 pm

This is great, but it makes all images including signature images links, even non-resized ones.

rickyschuijff
Registered User
Posts: 75
Joined: Mon May 14, 2007 4:50 pm
Contact:

Re: [BETA] Auto Image Resizer w Lytebox - phpBB 3.0.1 GOLD

Post by rickyschuijff » Wed Apr 23, 2008 3:23 pm

i think that's because that it uses the IMG bbCode
Flyff Game go to FlyffWorld

User avatar
alecrust
Registered User
Posts: 348
Joined: Thu Mar 27, 2008 11:24 am
Location: London, UK
Contact:

Re: [BETA] Auto Image Resizer w Lytebox - phpBB 3.0.1 GOLD

Post by alecrust » Wed Apr 23, 2008 3:43 pm

Yes I figured that but is there any way around it?

ithica
Registered User
Posts: 24
Joined: Fri Apr 25, 2008 4:28 pm
Location: Round Rock, TX
Contact:

Re: [BETA] Auto Image Resizer w Lytebox - phpBB 3.0.1 GOLD

Post by ithica » Sun Apr 27, 2008 6:42 pm

Ok I am using Glacier but I read from page 1-30 before I even installed and it still don't work. I go to ACP-Post and nothing is there. So I don't have controls to set the height and width. I aslo used the limg BBCode and it didn't resize it, it just becomes clickable and then goes to a page with just the image. Is there a way to manual change at least the width? I don't know if you need a link or something to check my coding...please let me know..

Thank you
Dave

Locked

Return to “[3.0.x] Abandoned MODs”