Current Version: 2.2
Released: 27th July 2007
WordPress: Version 2.1 and above
Version 2.2 corrects the problem with IE6 and IE7 where the image could only be enlarged once.
This little plugin came about when I read a request for it on the WP forums.
Of course, I don’t recall who was asking for it but it seemed like quite a nice idea at the time. And it really is very simple.
To see how it works, visit the examples page from the link above. I have also used it on the Simple Forum Features page to show screen captures.
Using the plugin is simply a matter of adding another clause to the standard IMG tag although there are a few simple rules.
Of course, it does rely on Javascript but it seems to be increasingly rare that a user has this turned off.
A Read Me with full use instructions is included in the download zip file.
Please Note:
I offer support for my plugins via the Support Forum only. I will NOT respond to support queries left in the comment section below and, in most cases, will also not publish them. Of course, if you’d like to say something nice or helpful, then feel free to leave a comment! I do prune them from time to time.
Great plugin! I am using it now on images that are too big that effects the layout of my sidebar.
Is there anyway this plugin can automatically embed xenlarge=”400″ code to images that are bigger than 400 in width?
@Raymond.CC
If I understand you correctly you mean can it both resize to a small thumbnail but also restrict the enlarged size - yes? Sorry but no - well only by changing the code so that it would then be specific to that image instead of dynamic.
Surely what you should be doing is sizing the image so that it is no bigger than fits your site? Or am I not understanding…?
Sorry for the confusion…
If I use images that is bigger than 400px in width, my templates design becomes a mess.
So everytime I need to include the code xenlarge=”400″ to images that are bigger than 400px.
Is there anyway to “automatically” include the xenlarge=”400″ when I am embedding an image bigger than 400px?
@Raymond.CC
No - I know no way of automatically doing it. Remember though that this plugin downloads the large image. You really should be sizing your images down to fit what you need - not relying on a plugin to resize them on display. It’s only fair on your visitors bandwidth and the time it will take them to open pages on your site.
You can specify width and height in the IMG tag withoout using this plugin if you feel you must have oversized images.
thanks for lovely plug in! it will really enhance the blog-it! service i’m about to launch!
I wonder, how to modify this plugin in such manner to use thumbnails on load and full image on click. I’m dying for this..
Well this can be done. But… if you are talking about automatically enlarging a small graphic into a bigger one the loss of quality would be awful. The only sensible way to do this is to load a second, enlarged image and there are other plugins that will do.
Hi Andy
I installed the plugin (also the admin one - thanks heaps) but use the rs-discuss forum which requires the wysiwyg editor. I suspect that this is why nothing happens as I write a post. The images are in the way they are uploaded.
I can resize them in the dialog box for inserting the image in the editor, but this is ‘disallowed’ in your readme - is that right?
Can you suggest a workaround?
I’m not going to be much help here as every time I try and use the WYSIWYG editor I find everything gets is such a mess that I have to abandon it! Anyway - as far as I know about the editor, it tends to strip out any tags that it doesn’t understand anyway so I very much doubt you can get it to work. Unless, of course, anyone else knows differently…
another simple but efficient plugin. i modified it to scale to the window.width and am using it to view panoramic pictures. loving it!
cheers&thanks,
-tmb
I’ve problem validating (xHTML) my blog after activating this plugin.
It reported that onClick and onLoad aren’t attribute, so i tried changing them in lower-case (onclick and onload) and only the first error disappeared, but not the second.
What’s the matter with onload, anyhow?
Yes - I see this. You’re right that they should be all lowercase and I’ll change that. But I have no idea why it is complaining about the onload call. It’s certainly valid to use it in an img tag (according to my book anyway!) but js is not one of my strong points. I’ll ask around…
I’ve installed enlarger and it works on these three browsers flawlessly: Firefox 2.0, Camino Version 2006021400 (1.0) and Opera 9.02. Safari version 2.0.4 (419.3) does not rejustify the text, but leaves a space where the thumbnail was. This plugin is really a joy.
I hadn’t noticed that with Safari - I seldom use it. Sad. I’ll see if there is any way around it but I’m not hopeful.
hi. i uploaded the plugin as you directed. i don’t know how to make it work. how’s the uploading procedure? just as without the plugin? do I place the original or a thumbnail image on the post?
thanks,
max
The plugin is only for display of images - that’s all. You still need to upload them as you usually do. And you need to include the full image in the post and the thumbnail details in the image tag. As it says in the read me file that is in the plugins zip folder.
LOVE THE IDEA . . . I just can’t get it to work. Thought someone may be able to lend a hand.
I downloaded the Plugin
I activated
I used the code (without richtext editor) in the readme.
When I view the page, all I see is the full size image.
I can’t think of what would be wrong.
Thanks in advance.
Can you give me a link to the page where you are using it please and I’ll take a look…
For some reason . . . overnight it corrected itself.
However, If you just want to see it in action on my wife’s site (still in development) take a look!
http://www.alillywilson.com/?p=23
Actually . . . I am wrong. It works in one location . . . and doesn’t in the other.
Look at http://www.alillywilson.com/?cat=5 for the one not working.
Fascinating! I am intrigued!
I don’t know how much you know about the workings of WP but the plugin works on a very simple principle. When the post content is being dynamically built it uses the hook ‘the_content’ (which corresponds to the template tag used in the template) to scan the text and if it finds an ‘xenlarge’ image, rebuilds the img tag. Simple!
This rebuild has taken place on the first example but has not taken place on the second.
So - can you look in the temlate that is responsible for the one not working and tell me how the ‘content’ is beng delivered? even better - send me a copy if possible…? Because at first glance, it appears to be by-passing the hook.
I see why now . . . Just hope you can provide me with a solution.
I am using the http://guff.szub.net/the-excerpt-reloaded/ to create my excerpts. This has to be what is corrupting the enlarger.
The code looks like this in my template:
', 'none', TRUE, 'More Information', FALSE, 1, TRUE); ?>
If you think you can . . . Please find a way for this to work. I am limited in my knowledge, but his plugin site has a good tutorial for use . . . I know that you can specify allowed codes in the second field area above I have allowed (img) but maybe there is a way to allow the code required for your plugin also . . .
If this is a problem, let me know how I can customize the WP excerpt to do what I need . . . THANKS FOR THE AWESOME PLUGIN . . . I looked all over the place to do something just like this.
Additionally . . . I had ideally wanted for the img in the excerpt to only be a thumbnail and not expandable at all . . . If there is a way to achieve this with the single post view still working with your enlarge plugin, that would be great too…
Mike - I am going to send you an email with the detailks you need.
But yes - the excerpt reloaded plugin bypasses the content filter - very annoyingly. It effects two of my plugins!
Oh, yes, it would be very nice, I mean today you have 2 “convenient” ways to show images in your post:
- The Ajax pop-up, which I did not find for wordpress, and has the default of “loosing” your viewer, he has to go through all images to find the one in big, or close the ajax popup and then continue.
- Enlarger, which is very nice as you can go through images of your choice easily, but requires to load all images in big. definitely enlarger would benefit from the possibility mentionned by Bloggero: click on the thumbnail and the bigger image is downloaded and appears within the page in bigger, as for enlarger today.
By the way, thank you for what you already did !
It’s a great plugin if I use Firefox. Unfortunately it’s pointless to put it on our website when it doesn’t work properly with Internet Explorer (90% of our viewers are using IE6 or IE7). You obviously know of the problem as you refer to it in the description. On this page in IE7 you can enlarge the first two photos just once each. The last one can be enlarged & reduced as many times as you like. If you reload the page then you can again enlarge the first two pictures.
Cheers
Nigel
IE is such a frustration! And IE7 is really no better than IE6. I do have it on my list to take another look at this problem. Whilst it IS an IE bug I should try and spend longer to see if I can find a workable hack.
meanwhile there is a lovely js system that does a similar thing only much, much better and smoother at highslide that might suit you. I have a set of instructions for using it in WP. If you fancy having aq go, email me and I will let you have them.
[...] Enlarger [...]
Wah…is cool….but i still prefer using the lightbox plugin as turns linked images into neat Javascript-powered overlay popups.
Enlarger is no competitor to Lightbox. It is intended for lightweight use only and has a very small code overhead. For heavyweight uses then yes - Lightbox is excellent and much better.
is there a way that i can achieve the same result in blogger? thanks!
I should imagine so but I really don’t know how Blogger works.
Hi, I downloaded and installed the plugin just now but the readme file was not included. The only two files that existed in the zip file were enlarger.js and enlarger.php.
Any thoughts? Thanks, Richard
[...] have been testing the Enlarger Plugin for Wordpress. It works well on all versions that I have tested (2.0+) and is a very useful plugin [...]
thanks . i’ve been using v.2.1 for along time .
and still fine in wp 2.5.1
blog-w.co.ccs last blog post..Notepad++ v4.9.2 as Portable Application