[Beta] Easy Resize Posted Images - phpbb3.0.x

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Get Involved
GameVixenZone
Registered User
Posts: 166
Joined: Mon Aug 17, 2009 9:26 am

Re: [Beta] Easy Resize Posted Images - phpbb3.0.x

Post by GameVixenZone »

Hi, How can I stop this from resizing my header?

sakm
Registered User
Posts: 572
Joined: Sun Jan 21, 2007 8:14 pm
Location: Hull, uk
Name: Stu
Contact:

Re: [Beta] Easy Resize Posted Images - phpbb3.0.x

Post by sakm »

you could split your header image in to 2 images ? i know a few people have done that im sure there is other work arounds just have to read back



also is anyone having problems with IE9 not showing images :?

User avatar
kber
Registered User
Posts: 986
Joined: Sun May 07, 2006 9:22 am
Location: Egypt
Contact:

Re: [Beta] Easy Resize Posted Images - phpbb3.0.x

Post by kber »

sakm wrote:you could split your header image in to 2 images ? i know a few people have done that im sure there is other work arounds just have to read back



also is anyone having problems with IE9 not showing images :?
it is working fine with ie9
Image
Hello All

sakm
Registered User
Posts: 572
Joined: Sun Jan 21, 2007 8:14 pm
Location: Hull, uk
Name: Stu
Contact:

Re: [Beta] Easy Resize Posted Images - phpbb3.0.x

Post by sakm »

must just be my forum then :?

have to use the compatability mode for it to show images :?

anothernovice
Registered User
Posts: 10
Joined: Thu Apr 21, 2011 2:16 pm

Re: [Beta] Easy Resize Posted Images - phpbb3.0.x

Post by anothernovice »

Excellent mod! Works great, thanks! :D

BigDrago
Registered User
Posts: 359
Joined: Fri Dec 10, 2004 5:16 pm
Location: Norway

Re: [Beta] Easy Resize Posted Images - phpbb3.0.x

Post by BigDrago »

Hello.

Will this MOD resize the image in header?
What about attachments that is already resized by GD?

User avatar
kber
Registered User
Posts: 986
Joined: Sun May 07, 2006 9:22 am
Location: Egypt
Contact:

Re: [Beta] Easy Resize Posted Images - phpbb3.0.x

Post by kber »

Mikaelft wrote:Hello.

Will this MOD resize the image in header?
What about attachments that is already resized by GD?
1- Yes , in view topic pages
2- will not effect
Hello All

molomolo
Registered User
Posts: 4
Joined: Sun Jun 19, 2011 10:13 am

Re: [Beta] Easy Resize Posted Images - phpbb3.0.x

Post by molomolo »

When the post with attached images is in preview - the image is shown in full size.

Can somebody help to figure out how to auto-size large images from attachment in preview mode?

It must be a right place in /template/*.html file for
<!-- INCLUDE easy_resizer.html -->

Thanks

User avatar
kber
Registered User
Posts: 986
Joined: Sun May 07, 2006 9:22 am
Location: Egypt
Contact:

Re: [Beta] Easy Resize Posted Images - phpbb3.0.x

Post by kber »

molomolo wrote:When the post with attached images is in preview - the image is shown in full size.

Can somebody help to figure out how to auto-size large images from attachment in preview mode?

It must be a right place in /template/*.html file for
<!-- INCLUDE easy_resizer.html -->

Thanks
the re size function should only active in the view topic page only
Hello All

molomolo
Registered User
Posts: 4
Joined: Sun Jun 19, 2011 10:13 am

Re: [Beta] Easy Resize Posted Images - phpbb3.0.x

Post by molomolo »

kber wrote: the re size function should only active in the view topic page only
Hi kber,

Thank you for quick reply.

Is there way to have the re size function in preview page?
It looks weird from user prospective when user uploads (as attachment) a big resolution image, writes post and clicks 'Preview' button. The preview page shows the original big image (breaks layout, adds horizontal scroll etc). The user is pretty sure that something goes wrong. But after posting - it looks fine in the view topic page.

Thanks

User avatar
kber
Registered User
Posts: 986
Joined: Sun May 07, 2006 9:22 am
Location: Egypt
Contact:

Re: [Beta] Easy Resize Posted Images - phpbb3.0.x

Post by kber »

molomolo wrote:
kber wrote: the re size function should only active in the view topic page only
Hi kber,

Thank you for quick reply.

Is there way to have the re size function in preview page?
It looks weird from user prospective when user uploads (as attachment) a big resolution image, writes post and clicks 'Preview' button. The preview page shows the original big image (breaks layout, adds horizontal scroll etc). The user is pretty sure that something goes wrong. But after posting - it looks fine in the view topic page.

Thanks
what is your template based on ( prosilver or subsilver2)
Hello All

molomolo
Registered User
Posts: 4
Joined: Sun Jun 19, 2011 10:13 am

Re: [Beta] Easy Resize Posted Images - phpbb3.0.x

Post by molomolo »

kber wrote: what is your template based on ( prosilver or subsilver2)
The template is based on subsilver2.

User avatar
kber
Registered User
Posts: 986
Joined: Sun May 07, 2006 9:22 am
Location: Egypt
Contact:

Re: [Beta] Easy Resize Posted Images - phpbb3.0.x

Post by kber »

open your style/template/posting_preview.html
and add

Code: Select all

<!-- INCLUDE easy_resizer.html -->
at the very first line
it should work !
Hello All

molomolo
Registered User
Posts: 4
Joined: Sun Jun 19, 2011 10:13 am

Re: [Beta] Easy Resize Posted Images - phpbb3.0.x

Post by molomolo »

kber wrote:open your style/template/posting_preview.html
and add

Code: Select all

<!-- INCLUDE easy_resizer.html -->
at the very first line
it should work !
I swear I did it before, but must forgot about 'template refresh'.

Works like a charm!
Thanks a lot, kber

You should put it to install instruction too.

User avatar
kber
Registered User
Posts: 986
Joined: Sun May 07, 2006 9:22 am
Location: Egypt
Contact:

Re: [Beta] Easy Resize Posted Images - phpbb3.0.x

Post by kber »

molomolo wrote:
kber wrote:open your style/template/posting_preview.html
and add

Code: Select all

<!-- INCLUDE easy_resizer.html -->
at the very first line
it should work !
I swear I did it before, but must forgot about 'template refresh'.

Works like a charm!
Thanks a lot, kber

You should put it to install instruction too.
Glad to hear that you pass it :)
Hello All

Locked

Return to “[3.0.x] MODs in Development”