ReIMG Image Resizer

Any and all modifications I have created for phpBB3 will be listed here and support will be provided.
DavidIQ
Site Admin
Posts: 619
Joined: Thu Sep 07, 2006 4:31 pm
Location: Earth
Contact:

Re: ReIMG Image Resizer

Post by DavidIQ »

I've uploaded version 1.0.1 which is pending validation by my colleagues :lol:
captain_mic
Posts: 1
Joined: Fri Aug 21, 2009 12:02 am
Location: Lahore

Re: ReIMG Image Resizer

Post by captain_mic »

hi DavidIQ, the relmg imager resizer is very good software for imaging files. thanks for this software.
eman80
Posts: 5
Joined: Mon Aug 31, 2009 12:09 am
Location: Saudi Arabia

Re: ReIMG Image Resizer

Post by eman80 »

Hello David

I have tested last version 1.0.1 on my localhost and it seems this feature (Loading image now shows as images are loaded on the page) does not work. :(
DavidIQ
Site Admin
Posts: 619
Joined: Thu Sep 07, 2006 4:31 pm
Location: Earth
Contact:

Re: ReIMG Image Resizer

Post by DavidIQ »

What exactly happens? Hard to help when this is on a local install that doesn't have access from the Internet.
eman80
Posts: 5
Joined: Mon Aug 31, 2009 12:09 am
Location: Saudi Arabia

Re: ReIMG Image Resizer

Post by eman80 »

DavidIQ wrote:What exactly happens? Hard to help when this is on a local install that doesn't have access from the Internet.
just like version 1.0.0 the pictures does not appear before the complete load.
DavidIQ
Site Admin
Posts: 619
Joined: Thu Sep 07, 2006 4:31 pm
Location: Earth
Contact:

Re: ReIMG Image Resizer

Post by DavidIQ »

The only thing that is supposed to happen is that an image loading icon (Image) is supposed to show while the image is loading. This may not show if the image has started loading onto the page.
eman80
Posts: 5
Joined: Mon Aug 31, 2009 12:09 am
Location: Saudi Arabia

Re: ReIMG Image Resizer

Post by eman80 »

DavidIQ wrote:The only thing that is supposed to happen is that an image loading icon (Image) is supposed to show while the image is loading. This may not show if the image has started loading onto the page.
Hi David

I didn't see image loading icon maybe because of as you said "This may not show if the image has started loading onto the page"

but my request is:

I would like to keep this (image loading icon) during the loading of image in the page, I don't want to the icon disappears unless the picture has completed.

Is that possible?
:)
TaleTN
Posts: 2
Joined: Sat Sep 05, 2009 7:10 am
Location: The Netherlands
Contact:

Re: ReIMG Image Resizer

Post by TaleTN »

Yes, that is exactly what is supposed to happen. But a certain person (me to be precise :oops: ) has forgotten the edit that initiates the "loading" images. Sorry! But there will probably be a fix for this soon.
DavidIQ
Site Admin
Posts: 619
Joined: Thu Sep 07, 2006 4:31 pm
Location: Earth
Contact:

Re: ReIMG Image Resizer

Post by DavidIQ »

That explains it all :lol:

I will be submitting version 1.0.2 later on today.
eman80
Posts: 5
Joined: Mon Aug 31, 2009 12:09 am
Location: Saudi Arabia

Re: ReIMG Image Resizer

Post by eman80 »

Thank u so much TaleTN and DavidIQ :)

waiting for the new version :D

Regards
TaleTN
Posts: 2
Joined: Sat Sep 05, 2009 7:10 am
Location: The Netherlands
Contact:

Re: ReIMG Image Resizer

Post by TaleTN »

Here is a hotfix that enables the "loading" image in version 1.0.1:


Open: styles/prosilver/template/overall_footer.htm

Find:

Code: Select all

</body>
Add before:

Code: Select all

<!-- IF S_REIMG -->
	<script type="text/javascript">
	// <![CDATA[
		if (window.reimg_version)
		{
			reimg_loading();
		}
	// ]]>
	</script>
<!-- ENDIF -->
Optionally you will have to repeat this edit on styles/subsilver2/template/overall_footer.htm.
eman80
Posts: 5
Joined: Mon Aug 31, 2009 12:09 am
Location: Saudi Arabia

Re: ReIMG Image Resizer

Post by eman80 »

yes I just tested that on my localhost and It works perfectly now :D

Thank u Thank u :D

I should install it on my forums now
8-)
DavidIQ
Site Admin
Posts: 619
Joined: Thu Sep 07, 2006 4:31 pm
Location: Earth
Contact:

Re: ReIMG Image Resizer

Post by DavidIQ »

This is just information on upgrading from 0.0.12 to 1.0.0:

Open includes/acp/acp_board.php
Find:

Code: Select all

		$user->add_lang('acp/board');
Add after:

Code: Select all

		$user->add_lang('mods/reimg');

Open includes/acp/acp_styles.php
Find:

Code: Select all

		$user->add_lang('acp/styles');
Add after:

Code: Select all

		$user->add_lang('mods/reimg');

Open language/en/acp/board.php
Find:

Code: Select all

	'REIMG_SETTINGS'				=> 'Image resize settings',
	'REIMG_MAX_SIZE'				=> 'Maximum image dimensions',
	'REIMG_MAX_SIZE_EXPLAIN'		=> 'When an image is larger than this it will be resized. Set to 0 to disable horizontal and/or vertical resizing.',
	'REIMG_REL_WIDTH'				=> 'Maximum relative image width',
	'REIMG_REL_WIDTH_EXPLAIN'		=> 'When an image is wider than this it will be resized. Set to 0 to ignore the relative width.',
	'REIMG_SWAP_PORTRAIT'			=> 'Normalize landscape/portrait',
	'REIMG_SWAP_PORTRAIT_EXPLAIN'	=> 'If set to yes the maximum dimensions are loosely applied, so landscape and portrait images are equally resized. If set to no the maximum width and/or height are strictly enforced.',
	'REIMG_ZOOM_BLANK'				=> 'New window',
	'REIMG_ZOOM_DEFAULT'			=> 'Normal link',
	'REIMG_ZOOM_EXTURL'				=> 'External link',
	'REIMG_ZOOM_LITEBOX'			=> 'Lightbox',
	'REIMG_ZOOM_LITEBOX_1_1'		=> 'Lightbox 1:1',
	'REIMG_ZOOM_LITEBOX_RESIZED'	=> 'Lightbox resized',
	'REIMG_ZOOM_HIGHSLIDE'			=> 'Highslide',
	'REIMG_ZOOM_METHOD'				=> 'Zooming method',
	'REIMG_ZOOM_METHOD_EXPLAIN'		=> 'Select the method that is used to link to the original, larger image.<br/>NOTE on Highslide: If you wish to use Highslide please note that you must first download the Highslide JS ZIP package from <a href="http://highslide.com/download.php">here</a> and place the <em>highslide</em> directory from the downloaded zip file into the <em>reimg</em> directory in your forum.',
	'REIMG_IGNORE_SIG_IMG'			=> 'Ignore images in signatures',
	'REIMG_IGNORE_SIG_IMG_EXPLAIN'	=> 'If set to yes then images in signatures will not be resized.',
Delete all of the above.


Open language/en/acp/styles.php
Find:

Code: Select all

	'IMG_ICON_REIMG_ZOOM_IN'	=> 'Zoom in',
	'IMG_ICON_REIMG_ZOOM_OUT'	=> 'Zoom out',
Delete all of the above.


Save, upload, and upload root directory as well. Done.
Dark Ashelin
Posts: 1
Joined: Sat Oct 10, 2009 7:33 am
Location: Belgium

Re: ReIMG Image Resizer

Post by Dark Ashelin »

I've applied the mod to my forum, and purged the cash. The resizer seems to work, but the zoom button doesn't show up correct. It just gives me a greenish square on the top left of my resized image.

Example: http://www.continentoftheninth.info/for ... p?f=3&t=11

How can I fix this?
DavidIQ
Site Admin
Posts: 619
Joined: Thu Sep 07, 2006 4:31 pm
Location: Earth
Contact:

Re: ReIMG Image Resizer

Post by DavidIQ »

Dark Ashelin wrote:I've applied the mod to my forum, and purged the cash. The resizer seems to work, but the zoom button doesn't show up correct. It just gives me a greenish square on the top left of my resized image.

Example: http://www.continentoftheninth.info/for ... p?f=3&t=11

How can I fix this?
You need to also refresh your imageset.
Locked