Overview:
Opens a new browser window containing the image specified using JavaScript. You have the option to choose the features as well as choose if you want it to be centered.
Features
- Easy to use and edit.
- Uses JavaScript to open the Window, hence keeps your site XHTML 1.0 Strict and XHTML 1.1 compliant.
- Function can be called multiple times on the same page.
- All features of the window to be opened can be set using JavaScript.
- If required, the window can be centered on the screen.
- A title can be given to the new window, which is also used as
altandtitleattributes for the image. - The window that is opened is perfectly XHTML compliant.
- Opened window autofocuses to bring attention to the picture.
- It works perfectly if you serve your site as
application/xhtml+xml.
Requirements:
- WordPress 1.5 or above
Installing
- Download Open Picture Window Plugin.
- Extract the contents of
ald-openimagewindow.zipto/wp-content/plugins/folder. - If you are upgrading, please delete the
ald-openpicturewindowfrom the/wp-content/plugins/folder. - Activate the Plugin.
- You can insert the code for the plugin by using the Quick Tags button called OPW. You will be asked to specify the URL of the image, width and height of the window and the title. The button is available when you’re WYSIWYG editor is turned of in WordPress 2.x. In 2.1, the button is available in the Code tab of the WYSIWYG editor.
The JavaScript Function:
ald_OpenPictureWindow(theURL, winName, features, myWidth, myHeight, isCenter, myTitle)
- theURL – The URL you want to open in the window.
- winName – Name of the window to be opened.
- features – The features of the windows. viz. The following features are available in most browsers:
toolbar=0|1: Specifies whether to display the toolbar in the new window.location=0|1: Specifies whether to display the address line in the new window.status=0|1: Specifies whether to display the browser status bar.menubar=0|1: Specifies whether to display the browser menu bar.scrollbars=0|1: Specifies whether the new window should have scrollbars.resizable=0|1: Specifies whether the new window is resizable.
- myWidth – Specifies the width of the new window.
- myHeight – Specifies the height of the new window.
- isCenter – Set to
trueto center the window. - myTitle – Specifies the title of the new window. Also used for image
altandtitleattributes.
Demo:
Demo for the same is available on my test blogs.
ChangeLog:
- 1.5.1
- Clicking on the image in the opened window will now close the window
- 1.4
- Fixed an error where the javascript file was not included correctly
- Picture should not get cut off in the new window being opened
- 1.3
- Upgraded to support WordPress 2.6
- Folder has been renamed to
ald-openimagewindow
- 1.2
- Upgraded to support WordPress 2.1.
- Opened window now autofocuses.
- If you specify new window dimensions for the same window, the window will resize to the new dimensions.
- 1.1 – Quick Tags support added
- 1.0 – Release
To Do:
- Internationalization
Downloads
Current Version is 1.5.1
Support the Development
I?ve spent a good deal of time and money developing and maintaining the plugin. If you like the plugin and find it useful and would like to donate something for my work please do click the Paypal Donate button below. The payment is secure. I haven?t filled in any amount. Feel free to donate what you please. Any amount is welcome. Thank you ![]()
License
All files and their contents are licensed under the GNU General Public License (GPL).
Questions or Bugs
If you have any questions or would like to report any bugs then please visit the support forum.
Download Open Picture Window v1.5.1
Home






Hi pepper,
I really feel bad I haven’t released an update so far. Have been really struggling for time.
Will get an update ready in two weeks.
hello ajay!
thx for the info. i will check this site regulary for updates. i just wanted to avoid that i am waiting for an update that will never come.
pepper
Hi Pepper, you can subscribe to the feed.
I can understand what it like to wait and not expect. Thanks for commenting, it’s good to know people use my plugins and expect improvements
You will have that update soon. I’ve learnt how to generate the button.
However, note that it will only be for the quicktags and not the WYSIWYG editor. Unless I learn to figure it out.
Hi. What a pity. Yor Downloadlink is dead…
But good work, especially the XHTML-Compliance
Frank.
Hi Frank,
It should be working now. My download counter got screwed.
It’s okay now. Thank You.
Glad to know that. Hope you like the plugin!
hi ajay! thanks for the plugin. i have a question regarding how to use it though – i’m sorry but i am not tech savy at all and i know practically nothing when it comes to customizing wordpress.
i’ve installed the plugin, activated it, but what do i do from here? i don’t see the quicktag button when i go to write a new entry. do i have to change something in my quicktags.js file?
sorry, i still don’t quite understand quicktags or how to insert new ones.
can you please walk me through this after the activation step?
i’m so sorry for being so unfamiliar with this!
thanks!!
Hello
nice work, this the plug in im searching for
but i got a problem how i can work it together with AAimage browser
AAimage Browser?