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
Greyhaunt
Registered User
Posts: 3
Joined: Sat Mar 20, 2010 10:33 pm

Re: ReIMG Image Resizer

Post by Greyhaunt » Sun Mar 28, 2010 10:03 pm

DavidIQ wrote:That is pretty weird...never seen that before. What happens if you try using the Highslide JS method?
I haven't tried that yet - but I'll give it a shot and see what happens.

It figures I have to have the wierd problem :lol: :lol: :lol:

EDIT: OMG, thank you so much for that suggestion! It worked just perfectly and I love how it looks as well - much better than opening in a new window. I'm going to get that installed on the main forum now :)

thanks for the awesome mod!

User avatar
GanjaGarden
Registered User
Posts: 44
Joined: Wed Feb 24, 2010 6:27 am

Re: ReIMG Image Resizer

Post by GanjaGarden » Mon Mar 29, 2010 10:46 am

I tried installing this to my website which has an APPLE style. I can't seem to get it to work, has anyone had any success with this?

Cheers,
-GG
http://www.GanjaGarden.org - Medical Marijuana Growing

tHeWiZaRdOfDoS
Registered User
Posts: 13
Joined: Fri Mar 12, 2010 1:54 pm

Re: ReIMG Image Resizer

Post by tHeWiZaRdOfDoS » Fri Apr 02, 2010 7:20 am

First of all: thanks for the great mod!
Second... I have a rather strange issue. I'm running phpBB3.0.7-PL1 and added your mod. At first, it looked like everything worked properly, but I encountered a (random!?) problem. If you enter some threads, then one of the attached images will be opened automatically which is pretty annoying for the users.
I already tried different HighSlide/Letterbox settings but to no avail. I'm also pretty sure that I added all edits properly. Additionally, I already tried this:
DavidIQ wrote:Replace your reimg/reimg.js file with this one and hard-refresh:
reimg.js
but it didn't solve the problem :(

Here's the code from my header:

Code: Select all

<script type="text/javascript">
// <![CDATA[
	/**
	* Resize too large images
	*/
	var reimg_maxWidth = 640, reimg_maxHeight = 480, reimg_relWidth = 0;
	
		var reimg_swapPortrait = true;
	
	var reimg_loadingImg = "./images/spacer.gif";
	var reimg_loadingStyle = "width: 16px; height: 16px; background: url(./styles/DMRv/imageset/icon_reimg_loading.gif) top left no-repeat; filter: Alpha(Opacity=50); opacity: .50;";
	var reimg_loadingAlt = "Loading...";
	
			var reimg_zoomImg = reimg_loadingImg;
			var reimg_zoomStyle = "width: 20px; height: 20px; background: url(./styles/DMRv/imageset/icon_reimg_zoom_in.gif) top left no-repeat; filter: Alpha(Opacity=50); opacity: .50;";
			var reimg_zoomHover = "background-position: 0 100%; cursor: pointer; filter: Alpha(Opacity=100); opacity: 1.00;";
		
		var reimg_zoomAlt = "Zoom in (real dimensions: %1$d x %2$d)";
		var reimg_zoomTarget = "_highslide";
	
		
	function reimg(img, width, height)
	{
		if (window.reimg_version)
		{
			reimg_resize(img, width, height);
		}
	}
// ]]>
</script>

<script type="text/javascript" src="./reimg/reimg.js"></script>


	<style type="text/css" media="screen, projection">
	<!--
		#topicreview .reimg-zoom { display: none; }
	-->
	</style>

		<script type="text/javascript" src="./reimg/highslide/highslide-full.packed.js"></script>
		<link rel="stylesheet" type="text/css" href="./reimg/highslide/highslide.css" />
	

	<script type="text/javascript">
	// <![CDATA[
		/**
		* Light box for resized images
		*/
	
		if (window.hs)
		{
			hs.graphicsDir = "./reimg/highslide/graphics/";
			// Language settings for Highslide JS
			hs.lang.cssDirection = "ltr";
			hs.lang.loadingText = "Loading...";
			hs.lang.loadingTitle = "Click to cancel";
			hs.lang.focusTitle = "Click to bring to front";
			hs.lang.fullExpandTitle = "Expand to actual size (f)";
			hs.lang.creditsText = "Powered by <i>Highslide JS</i>";
			hs.lang.creditsTitle = "Go to the Highslide JS homepage";
			hs.lang.previousText = "Previous";
			hs.lang.nextText = "Next";
			hs.lang.moveText = "Move";
			hs.lang.closeText = "Close";
			hs.lang.closeTitle = "Close (esc)";
			hs.lang.resizeTitle = "Resize";
			hs.lang.playText = "Play";
			hs.lang.playTitle = "Play slideshow (spacebar)";
			hs.lang.pauseText = "Pause";
			hs.lang.pauseTitle = "Pause slideshow (spacebar)";
			hs.lang.previousTitle = "Previous (arrow left)";
			hs.lang.nextTitle = "Next (arrow right)";
			hs.lang.moveTitle = "Move";
			hs.lang.number = "Image %1 of %2";
			hs.lang.restoreTitle = "Click to close image, click and drag to move. Use arrow keys for next and previous.";
		}
	
	// ]]>
	</script>
And here's the example code of such an image (looks alright to me?):

Code: Select all

<img src="http://img30.imageshack.us/img30/7168/promonv.png" alt="Image" class="reimg" onload="reimg(this);" onerror="reimg(this);" /> 
Finally, here's and example: *click*
I hope you can help me :geek:

User avatar
Mickroz
Registered User
Posts: 656
Joined: Thu Mar 06, 2003 11:20 pm
Location: Netherlands
Contact:

Re: ReIMG Image Resizer

Post by Mickroz » Sat Apr 03, 2010 12:23 pm

great job! but i would love to see this mod to be lytebox compatible :D
I don't need to "get a life." I'm a Gamer, I have lots of lives!
Q: Whats a hash and a root password?
A: hash gets you high, root password gives you god powers, combine the 2 and you are invincible.

lovelysummer
Registered User
Posts: 437
Joined: Fri Mar 20, 2009 1:49 pm

Re: ReIMG Image Resizer

Post by lovelysummer » Sun Apr 04, 2010 4:02 pm

After update phpbb Gallery Mod to 1.0.5 today, the highslide function in reimg image resizer not work :?
I use Lytebox-plugin in Gallery and highside in reimg resizer , they works fine in the past.
:cry: Is there anyone have the same situation :?:

edit: I found out the problem. I have to delete the highside folder in Gallery/plugins. Now they both works. ;)

Phil7789
Registered User
Posts: 32
Joined: Mon Mar 22, 2010 3:16 pm
Location: Germany

Re: ReIMG Image Resizer

Post by Phil7789 » Mon Apr 05, 2010 8:46 am

Could anyone report how this is working together with Imagemagick? I am using this serverside script to resize the images and wanted to keep it as this mod resizes only when using java or have i missunderstood that point?

Thats a great mod i really like to use, so any help is appreciated

Phil

Bill Hildyard
Registered User
Posts: 15
Joined: Fri Mar 26, 2010 8:26 pm
Name: Bill Hildyard

Re: ReIMG Image Resizer

Post by Bill Hildyard » Mon Apr 05, 2010 12:42 pm

Help just installed this on my board and it only sort of works:

http://www.bcss.org.uk/foruma/viewtopic.php?f=2&t=1#p7

Yes it resizes and opens but that's it I have no ACP settings etc, I tried automod to install but it failed, so I manually installed everything but it's not working right, my eyes have gone wonky looking at the code trying to find out where I have gone wrong, anyone care to have a look at the attached files and see if I have missed anything.

Forgot I have prosilver and a modified prosilver se installed and it makes no difference which I use.
Cheers

Bill
Attachments

[The extension zip has been deactivated and can no longer be displayed.]

Bill Hildyard

tHeWiZaRdOfDoS
Registered User
Posts: 13
Joined: Fri Mar 12, 2010 1:54 pm

Re: ReIMG Image Resizer

Post by tHeWiZaRdOfDoS » Mon Apr 05, 2010 2:06 pm

@Bill Hildyard: did you check in the right place?
It's in the ACP under General --> Post Settings --> Image resize settings

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 17090
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: ReIMG Image Resizer

Post by DavidIQ » Mon Apr 05, 2010 3:13 pm

Phil7789 wrote:Could anyone report how this is working together with Imagemagick? I am using this serverside script to resize the images and wanted to keep it as this mod resizes only when using java or have i missunderstood that point?

Thats a great mod i really like to use, so any help is appreciated

Phil
Using imagemagick shouldn't conflict with this MOD as they are 2 different methods. You've somehow gotten imagemagick to resize images using the img bbcode tag?
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.

Phil7789
Registered User
Posts: 32
Joined: Mon Mar 22, 2010 3:16 pm
Location: Germany

Re: ReIMG Image Resizer

Post by Phil7789 » Mon Apr 05, 2010 3:52 pm

I thought Imagemagick could perhaps conflict with this mod as they both are resizing images, but to answer your question i used Imagemagick until know just for resizing images as attachements. I did not try out the bbcode case yet.

I am not able to test this right know so I'll have to check this tomorrow.

But i have a question:

Can this mod be applied to work with the attachements?

Phil
Last edited by Phil7789 on Mon Apr 05, 2010 4:03 pm, edited 1 time in total.

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 17090
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: ReIMG Image Resizer

Post by DavidIQ » Mon Apr 05, 2010 4:03 pm

Phil7789 wrote:Can this mod be applied to work with the attachements?
Yes although you'd have to disable the thumbnail feature for attachments. I'll probably do something about that in a future release but for now that's the option. Note that changing this option does not affect older attachments and is only applicable to image attachments done from that point on.
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.

Phil7789
Registered User
Posts: 32
Joined: Mon Mar 22, 2010 3:16 pm
Location: Germany

Re: ReIMG Image Resizer

Post by Phil7789 » Mon Apr 05, 2010 4:06 pm

So to say i would have to disable imagemagick or better the function inside the forum which creates the thumbnails and can't use imagemagick when i want to use your mod for the attachements until you are publishing a new version of the mod?

Phil

tHeWiZaRdOfDoS
Registered User
Posts: 13
Joined: Fri Mar 12, 2010 1:54 pm

Re: ReIMG Image Resizer

Post by tHeWiZaRdOfDoS » Mon Apr 05, 2010 4:07 pm

Excuse me, what about my issue? Any idea?

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 17090
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: ReIMG Image Resizer

Post by DavidIQ » Mon Apr 05, 2010 4:12 pm

Phil7789 wrote:So to say i would have to disable imagemagick or better the function inside the forum which creates the thumbnails and can't use imagemagick when i want to use your mod for the attachements until you are publishing a new version of the mod?

Phil
Well it will likely be in a future release of the MOD but it's not on my todo list at the moment. ;)
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
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 17090
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: ReIMG Image Resizer

Post by DavidIQ » Mon Apr 05, 2010 4:13 pm

tHeWiZaRdOfDoS wrote:Excuse me, what about my issue? Any idea?
Your site doesn't even finish loading for me. Also I see a javascript error on loading of the page you linked to...
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.

Locked

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