ReIMG Image Resizer

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
Locked
Extensions Robot
Extensions Robot
Extensions Robot
Posts: 29216
Joined: Sat Aug 16, 2003 7:36 am

ReIMG Image Resizer

Post by Extensions Robot »

Modification name: ReIMG Image Resizer
Author: DavidIQ
Modification description: Resizes user-posted images, including or excluding signatures, that are too large, optionally overlaying a zoom button to view the original-sized image (optionally in a lightbox or even using Highslide JS).
Modification version: 2.0.3
Tested on phpBB version: 3.0.12

Download file: reimg_image_resizer.zip
File size: 196.88 KiB

Modification overview page: View

The phpBB Team is not responsible nor required to provide support for this modification. By installing this MOD, you acknowledge that the phpBB Support Team or phpBB Extension Customisations Team may not be able to provide support.

-->Modification support<--
Last edited by Extensions Robot on Mon Sep 19, 2022 7:33 pm, edited 22 times in total.
(this is a non-active account manager for the phpBB Extension Customisations Team)
User avatar
tumba25
Former Team Member
Posts: 4430
Joined: Wed Jun 06, 2007 6:42 am
Location: Kokkola, Finland.
Name: Jari Kanerva
Contact:

ReIMG Image Resizer

Post by tumba25 »

Modification validated/released

Notes:
Need a mod/extension created/installed, other custom-coded solution or a server admin? https://tumba25.net
User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 18282
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

ReIMG Image Resizer

Post by DavidIQ »

Features:
  • Images are resized (downscaled) client-side using javascript.
  • Images don't first load in large format and then collapse, but instead appear only after they have been resized already.
  • An optional zoom button is overlayed on top of resized images, so you can click to the original-sized image. This button will not mess up a URL the poster might have placed around the image. :)
  • The original-sized image can open in the current window, in a new window, or in a cool lightbox or highslide. 8-)
  • Only user-posted images posted using Img BBCode or uploaded as attachment are resized. However, any other image can be resized (and/or equipped with a zoom button ;)) by adding onload and onerror events to the <img> XHTML tag.
  • You can specify the maximum dimensions in pixels (e.g. 640x480) and/or a maximum relative width (e.g. 80%).
  • All settings (maximum dimensions, zooming method) can be changed from the Administration Control Panel.
  • This MOD comes with default, neutral style sheeting built in, so you don't need to alter all your theme files. However, you can override these defaults from within your theme files, and thus unleash your own style sheeting magic on the resized images.
  • Quick loading, compressed/stripped javascript files as well as full javascript source code files are included.
  • I've successfully tested this MOD in Internet Explorer 7, Internet Explorer 6, Internet Explorer 8, Firefox 3, Firefox 2, Firefox 1.5, Firefox 1.0, Opera 9.5, Opera 9.27, Safari 3.1 and Mozilla 1.7.
Screenshots:
(Yes...shamelessly copied from TaleTN's site :lol: )
Image
Resized images with overlayed resizing button.

Image
Lightbox-resized image.

Image
Configuration in ACP.

Demo URL: http://phpbb.davidiq.com/viewtopic.php?f=9&t=353


I'd like to take this opportunity to thank TaleTN for coming up with this idea in the first place and allowing me to complete his work. Kudos to him for the ReIMG javascript.
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.
User avatar
austin881
Registered User
Posts: 287
Joined: Wed Jan 30, 2008 9:58 pm
Location: Texas, USA
Name: Austin Maddox
Contact:

Re: ReIMG Image Resizer

Post by austin881 »

I'd love to see this Mod in action before I install it. Any chance of a demo or would someone please post a link once they have it installed so I can see it.
Available for paid phpBB help! PM me.

My Extensions/MODS: 475 Narius Categorized Smilies for phpBB3, Simplified & Compacted All-Members page, Flash Animated Cumulus Tag Cloud, "Hello" Name Tag of Newest User, AWS S3
phpBB portfolio: chevy truck forum, chevy astro van forum
User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 18282
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: ReIMG Image Resizer

Post by DavidIQ »

Demo site's not updated yet. In the meantime I have provided screenshots above 8-)
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.
WastedJoker
Registered User
Posts: 74
Joined: Mon Nov 17, 2008 10:20 pm

Re: ReIMG Image Resizer

Post by WastedJoker »

Doh!

Sorry :oops:
Last edited by WastedJoker on Tue Jul 21, 2009 1:12 pm, edited 1 time in total.
WastedJoker
Registered User
Posts: 74
Joined: Mon Nov 17, 2008 10:20 pm

Re: ReIMG Image Resizer

Post by WastedJoker »

Doh!

Sorry :oops:
Last edited by WastedJoker on Tue Jul 21, 2009 1:12 pm, edited 1 time in total.
User avatar
jmaraujo
Registered User
Posts: 240
Joined: Fri Jun 01, 2007 9:48 pm
Location: Rivera - Uruguay
Name: Juan

Re: ReIMG Image Resizer

Post by jmaraujo »

Thanks, DavidIQ! 8-)
User avatar
ChriZathens
Registered User
Posts: 1477
Joined: Tue Apr 18, 2006 9:11 pm
Location: Athens, Greece
Name: Chris

Re: ReIMG Image Resizer

Post by ChriZathens »

This is a really cool one...! :D
WastedJoker wrote:I got it working on my board but you made a mistake in the install.xml file:
.....
Nope... he made no mistake... 8-)
My mods in MODDB:
Add Homepage link in header - Change user activity post limit - Post number in viewtopic
If you need support click on the support tab there and post your question.
Do not PM me - chances of viewing my PMs are way thinner than viewing the support question in the customization DB...
drhime
Registered User
Posts: 27
Joined: Wed Jul 30, 2008 5:00 am

Re: ReIMG Image Resizer

Post by drhime »

@WastedJoker

What I see in your test is that the image gets smaller when I click the zoom icon(FF3.5)

Moreover, unlike the claim, the image DOES load in large form first & then gets resized!!!
WastedJoker
Registered User
Posts: 74
Joined: Mon Nov 17, 2008 10:20 pm

Re: ReIMG Image Resizer

Post by WastedJoker »

drhime wrote:@WastedJoker

What I see in your test is that the image gets smaller when I click the zoom icon(FF3.5)

Moreover, unlike the claim, the image DOES load in large form first & then gets resized!!!
I'm using FF3.5 also - the image is resized correctly and when yuo click on the Zoom icon in opens the image smaller but when you click the + icon it becomes larger.
WastedJoker
Registered User
Posts: 74
Joined: Mon Nov 17, 2008 10:20 pm

Re: ReIMG Image Resizer

Post by WastedJoker »

:oops:
Last edited by WastedJoker on Tue Jul 21, 2009 1:13 pm, edited 1 time in total.
User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 18282
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: ReIMG Image Resizer

Post by DavidIQ »

WastedJoker wrote:I got it working on my board but you made a mistake in the install.xml file:

Where it says:

Code: Select all

		<open src="styles/prosilver/imageset/imageset.cfg">
			<edit>
				<find>img_icon_user_warn =</find>
				<action type="after-add"><![CDATA[
img_icon_reimg_zoom_in = icon_reimg_zoom_in.gif*20*20
img_icon_reimg_zoom_out = icon_reimg_zoom_out.gif*20*20]]></action>
			</edit>
		</open>
It should say:

Code: Select all

		<open src="styles/prosilver/imageset/imageset.cfg">
			<edit>
				<find>img_icon_user_warn = icon_user_warn.gif*20*20</find>
				<action type="after-add"><![CDATA[
img_icon_reimg_zoom_in = icon_reimg_zoom_in.gif*20*20
img_icon_reimg_zoom_out = icon_reimg_zoom_out.gif*20*20]]></action>
			</edit>
		</open>
Sorry to burst your bubble but...there is no mistake in the find. Look at it and think about it. Finding this:
img_icon_user_warn =
is the same as finding this:
img_icon_user_warn = icon_user_warn.gif*20*20

Partial finds are common in MODs.

As for your second problem about attachment.html...well that's not really a problem with the MOD and no changes need to be done to it. That is a problem with AutoMOD. Please either report it in the AutoMOD forum or in the AutoMOD bug tracker.
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.
User avatar
Muad''Dib
Registered User
Posts: 311
Joined: Tue Jun 12, 2007 6:20 pm
Contact:

Re: ReIMG Image Resizer

Post by Muad''Dib »

Thanks DIQ... !
User avatar
spaceace
Registered User
Posts: 1999
Joined: Wed Jan 30, 2008 8:50 pm
Contact:

Re: ReIMG Image Resizer

Post by spaceace »

ok, i can't for the life of me download this mod from this site. i did however download it from DavidIQ's site with no problem..... but seems to be a different file size :roll:

anyway, i'm on dial-up(i know, it's suck to be me :lol: ) and only have the problem with this file on this site. it only gets to 94.14% then errors out. i've tried FF, IE6 and 7, and also have tried IDM(Internet Download Manager) and all are the same.
Locked

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