Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Windy on September 21, 2007, 11:54:42 PM

Title: Image Zoom Tag
Post by: Windy on September 21, 2007, 11:54:42 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=930)

Image Zoom Tag Package v1.0
-----------------------------------
Adds one new tag, which allows images to be zoomed in and out.  Requires Javascript to be enabled, on image hover a box will pop up below with different levels of zoom that can be picked from.
Title: Re: Image Zoom Tag
Post by: kamili34 on September 22, 2007, 11:48:42 AM
Any screens ? It would be grat  :P
Title: Re: Image Zoom Tag
Post by: Windy on September 23, 2007, 01:32:30 AM
There you go.
Title: Re: Image Zoom Tag
Post by: kamili34 on September 23, 2007, 07:25:49 AM
Thanks good job :)  :P
Title: Re: Image Zoom Tag
Post by: MinasC on September 23, 2007, 08:25:54 PM
installed great but i don't see how it is used ! no popup while hovering over a posted image !
Title: Re: Image Zoom Tag
Post by: Windy on September 25, 2007, 04:10:06 AM
whoops, forgot to mention that it's a new tag

[imgzoom]URL HERE[/imgzoom]

for any additional themes you'll also need into include the js file for it.
Title: Re: Image Zoom Tag
Post by: MinasC on September 25, 2007, 03:41:18 PM
ok it works , but shouldn't it put a new button to post.template.php ? i also noticed that when you use this mod , inkImageToOriginalSize mod doesn't work ! (conflict maybe ?)
Title: Re: Image Zoom Tag
Post by: Windy on September 26, 2007, 02:04:59 PM
eh, guess I forgot to give it a button since i'm always typing in bb codes by hand lol

the other mod I assume performs modifications on the img tag, since this is a separate tag there should be no conflict.

if that mod isn't working properly it's probably got something to do with issues with that mod.
Title: Re: Image Zoom Tag
Post by: MinasC on September 26, 2007, 06:25:27 PM
don't know programming details but the other mod makes each image clickable and when you click it a popup shows the image on its original size . when someon uses your mod in an image it's not clickable (i don't know if it's a conflict or not) !

i liked your mod very much but i think the appropriate button is a nessecity ! is it possible for you to add it ?

thnx !
Title: Re: Image Zoom Tag
Post by: tom155 on October 02, 2007, 04:41:55 PM
works good for me to but the button would be a plus thats so the members of the forum would know it is there. ;D
Title: Re: Image Zoom Tag
Post by: Windy on October 03, 2007, 09:47:21 AM
Ok, I've added a new version that's compatible with 1.1.4 and includes a button.
Title: Re: Image Zoom Tag
Post by: MinasC on October 03, 2007, 07:51:06 PM
thnx for that ! do we uninstall first ?
Title: Re: Image Zoom Tag
Post by: Windy on October 03, 2007, 10:37:44 PM
Quote from: MinasC on October 03, 2007, 07:51:06 PM
thnx for that ! do we uninstall first ?
yes.
Title: Re: Image Zoom Tag
Post by: MinasC on October 04, 2007, 06:48:53 PM
done ! much better now , thnx !
Title: Re: Image Zoom Tag
Post by: Garry1953 on October 04, 2007, 08:10:51 PM
Works great.. Thanks.
Title: Re: Image Zoom Tag
Post by: tsmalmbe on October 08, 2007, 05:54:36 PM
The 1x 2x 3x 4x line is pretty ugly - I would prefer something that hovers over the image instead. But it installed ok, and does its job anyway.
Title: Re: Image Zoom Tag
Post by: __mansonklan__ on November 06, 2007, 01:59:30 PM
For any additional themes you'll also need into include the js file for it?????

Please include some instructions for newbies like me, do i just upload the js from your mod in my other themes or do i have to copy a line from the default theme somewhere and paste in my other themes?
it works on my default perfect just would like to add to some other themes.
PLEASE HELP ME!
THANKS FOR THE MOD!
Title: Re: Image Zoom Tag
Post by: kat on November 16, 2007, 03:30:40 PM
I'm just getting a blank post.

Most odd.

Actually, it's only me that can't see anything. It's OK for everyone else.

Weird.

One other thing, if I may be so bold...

In darker themes, such as Helios, Alienation, etc. the "x1 x2 x4 x8" is invisible. Is there an edit that can be made to the js to allow for that, by any chance?
Title: Re: Image Zoom Tag
Post by: falguni1 on December 28, 2007, 11:11:46 AM
very nice.
Title: Re: Image Zoom Tag
Post by: perro88 on January 10, 2008, 08:03:01 AM
hum it should work with the max width/height option of smf
Title: Re: Image Zoom Tag
Post by: MartinB on January 19, 2008, 04:20:33 AM
I have installed this Mod in my test forum{newsgroup}. Installation also ran perfectly. If I now, however, in the contribution write{compose} him meet clicks, appears quite normally [imgzoom] bild [/imgzoom]. However, after the saving this is not indicated bild, but it stops only [imgzoom] bild [/imgzoom] there as a text. If then I look in the database, one can see this clamp "[" as
[imgzoom] bild [/imgzoom]
is registered. How does this come? How can i fix this?

SMF Version 1.1.4

Sorry for my English. I hope one can understand what I mean
Title: Re: Image Zoom Tag
Post by: Windy on February 04, 2008, 01:50:58 AM
I'm going to need a bit more information if I am to solve your problem.
Does this effect more than one user?
Do you see any difference when typing the bbc in manually as opposed to using the button (and vice versa)?
Is this the only bbc that is affected by this?
Title: Re: Image Zoom Tag
Post by: MartinB on February 04, 2008, 03:59:34 AM
Whether the problem with all usern appears I cannot say there it concerns a test level. I have tested it, however, with 6 different computers with different settings. It appears only with image zoom. All other BBC codes are flawless. It not even leaves you on a certain browser determining. If the BBC code is registered by hand it is the same problem.
Title: Re: Image Zoom Tag
Post by: illustrationism on June 29, 2008, 12:31:10 PM
Sorry for the necro post... Any chance that there will be a version for 1.1.5?
Title: Re: Image Zoom Tag
Post by: Windy on July 06, 2008, 04:41:16 AM
Sure, there you go.
Title: Re: Image Zoom Tag
Post by: locau on August 27, 2008, 04:20:10 PM
Hello,

I've installed this on my 1.1.5 and it works but...

you forgot to include the .js file on the lates release (1.2) i had to go to the older release, search the JS file to include on my theme root folder :)
Title: Re: Image Zoom Tag
Post by: Windy on August 28, 2008, 12:41:23 PM
Quote from: locau on August 27, 2008, 04:20:10 PM
Hello,

I've installed this on my 1.1.5 and it works but...

you forgot to include the .js file on the lates release (1.2) i had to go to the older release, search the JS file to include on my theme root folder :)
That was intentional, the newer version modifies smf's script.js file instead of using a separate javascript file in order alleviate the need to include the file script on each theme.
Title: Re: Image Zoom Tag
Post by: Sudhakar Arjunan on March 08, 2009, 01:39:54 PM
Hi Author,

Will there be update for 2.0 RC1.
Title: Re: Image Zoom Tag
Post by: Apllicmz on December 03, 2011, 05:07:34 AM
Yes
when update dont forget portuguese and brazilian

smf 2

<file name="$languagedir/Modifications.portuguese_pt.php" error="skip">
        <operation>
            <search position="end"></search>
       
            <add><![CDATA[
$txt['bbc_imgzoom'] = 'Inserir a Imagem Zoomable';]]></add>
        </operation>
    </file>
    <file name="$languagedir/Modifications.portuguese_pt-utf8.php" error="skip">
        <operation>
            <search position="end"></search>
       
            <add><![CDATA[
$txt['bbc_imgzoom'] = 'Inserir a Imagem Zoomable';]]></add>
        </operation>
    </file>
    <file name="$languagedir/Modifications.portuguese_brazilian.php" error="skip">
        <operation>
            <search position="end"></search>
       
            <add><![CDATA[
$txt['bbc_imgzoom'] = 'Inserir a Imagem Zoomable';]]></add>
        </operation>
    </file>
    <file name="$languagedir/Modifications.portuguese_brazilian-utf8.php" error="skip">
        <operation>
            <search position="end"></search>
       
            <add><![CDATA[
$txt['bbc_imgzoom'] = 'Inserir a Imagem Zoomable';]]></add>
        </operation>
    </file>



SMF 1
<file name="$languagedir/Post.portuguese_pt.php" error="skip">
        <operation>
            <search position="end"></search>
       
            <add><![CDATA[
$txt['bbc_imgzoom'] = 'Inserir a Imagem Zoomable ';]]></add>
        </operation>
    </file>
    <file name="$languagedir/Post.portuguese_pt-utf8.php" error="skip">
        <operation>
            <search position="end"></search>
       
            <add><![CDATA[
$txt['bbc_imgzoom'] = 'Inserir a Imagem Zoomable ';]]></add>
        </operation>
    </file>
    <file name="$languagedir/Post.portuguese_brazilian.php" error="skip">
        <operation>
            <search position="end"></search>
       
            <add><![CDATA[
$txt['bbc_imgzoom'] = 'Inserir a Imagem Zoomable ';]]></add>
        </operation>
    </file>
    <file name="$languagedir/Post.portuguese_brazilian-utf8.php" error="skip">
        <operation>
            <search position="end"></search>
       
            <add><![CDATA[
$txt['bbc_imgzoom'] = 'Inserir a Imagem Zoomable ';]]></add>
        </operation>
    </file>

Title: Re: Image Zoom Tag
Post by: cuongvttt on August 23, 2023, 06:22:28 AM
Hello guys,

Can anyone make this old app compatible with SMF 2.1.3?

Thank you so much