Plugin / Glass

Jan-Mark Wams

Frequently Asked Questions (FAQ)

Once activated it will add its magnifying glass functionality to any image on your blog that is wrapped in a link to an image. The linked image is taken to be the hires version of the displayed image. WordPress will generate such a link if the [File URL] button is selected in the “Add an image” window.
In general it will work by default. Most gallery implementation generate a set of thumbnail images that link to something, usually not a hires version. Glass makes an attempt to recognize thumbnails by their -100X100 suffix. If a thumbnail is found, Glass guesses the URL of the hires image (by removing the size suffix).
On OS X, Glass has shown to work on most recent versions of Firefox, Chrome, Safari, Opera, and Camino.
On iOS, Glass has shown to work on the iPhone 3 and iPhone 4, the iPad, and the iPod Touch. However, some large images are scaled down, which might render the resulting enlargement less crispy. Which is a pity, especially on the retina displays. If you know a magic suffix or something that will make it use the full hires image, please let me know at coder at codeblab dot com.
On UNIX-like desktop systems like Auburn, FreeBSD, and Solaris, Glass has been shown to work on recent versions of Firefox, Opera, Chromium, Epiphany, Midori, SeaMonkey, and many others.
On Windows XP and Windows 7, Glass has shown to work on recent versions of Firefox, Safari, Opera, Chrome, and Internet Explorer 9. It does work on Internet Explorer 8, however it has trouble rendering the antialiassed pixels on the solid colored rim which leads to a noticeable outline of the rim.
On Android I can’t test it. Unless it supports a iOS compatible touch interface for JavaScript it won’t work. I don’t have an Android phone or tablet and the simulator does not support multitouch. I would love to test it on this platform. If you are a coder and willing to help me, e-mail me: coder at codeblab dot com.
It might not work correct in combination with some themes or other plugins. It is a lot of work to test it on all combinations. If it malfunctions, please let me know what theme and plugins you are using (including version numbers) at: coder at codeblab dot com.
Because Glass will load a hires version for every thumbnail in your gallery, load times can go up dramatically. Switch hires guessing for thumbnails off is a simple remedy. To do that go to the Glass page in the Settings menu and wipe “Thumb dx dy”. An other solution is to set “Thumb dx dy” to a an existing value, e.g., “800”,”600″, this will force Glass to not use the full resolution version of the image. Be very sure that the image with the proper suffix, e.g., -800×600, does exist.
There are two ways to customize the rim. The first way is to generate ten right sized images and add them to a new directory on the Glass plugin directory. Than select it as the “Glass Rim Path” on the Glass page in the Settings menu. The second way is to wipe the “Glass Rim Path”. This will give a solid colored rim. The color can be set as a 6 digit hex value in “Glass Rim RGB” on the same page.
A lack of proper support of transparency in Microsoft Internet Explorer version 5,6,7, and 8 will mess up the anti aliasing of the rim. I tried to fix this, but after spending more time on this than on the rest, I gave up. Please forgive me. Please try to forgive Microsoft for not getting it right in all those years, causing thousands of frustrated developers to swindle uncountable hours that could have been used to make something useful.
Yes, and I do. Just add iPod, iPhone, iPad to the “Glass Exclude Platforms” on the Glass Settings page.
Add the categories you want to the “Glass Categories” on the Glass Settings page. Leaving it empty means all categories. To exclude all categories use an non existing category like “NOTONE”.
Add the page names you want to the “Glass Pages” on the Glass Settings page. Leaving it empty means all pages. To exclude all pages use an non existing page name like “NONE”.
Safari on iOS silently downsizes larger images sometimes leading to up sizing by the script, which Safari on iOS can’t handle, resulting in the garbled glass image. There are two ways to solve this. One, use smaller upload image, i.e., downsize your image before you upload it to WordPress. Two, lower the Min Enlarge factor in the settings.
Really large images are downsized by the script, leading to sluggish behavior on Firefox but not on other browsers. There are two ways to solve this. One, use smaller upload image, i.e., downsize your image before you upload it to WordPress. Two, up the Max Enlarge factor in the settings.

Ratings

5
10 reviews

Rating breakdown

Details Information

Version

1.3.2

First Released

25 Dec, 2011

Total Downloads

18,723

Wordpress Version

3.0.0 or higher

Tested up to:

3.5.2

Require PHP Version:

-

Tags

Contributors

Languages

The plugin hasn't been transalated in any language other than English.

DIRECTORY DISCLAIMER

The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.

The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.

Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.

While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.

wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.

Keep Leading Your Followers!
Share it for them.