{"id":48296,"date":"2009-07-23T09:19:59","date_gmt":"2009-07-23T09:19:59","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/z-lightview\/"},"modified":"2009-09-16T23:23:53","modified_gmt":"2009-09-16T23:23:53","slug":"z-lightview","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/z-lightview\/","author":496535,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.3.0","stable_tag":"1.3.0","tested":"2.9.2","requires":"2.8","requires_php":"","requires_plugins":"","header_name":"z-Lightview","header_author":"<a href=\"http:\/\/www.zaikos.com\/\">Dave Zaikos<\/a>","header_description":"","assets_banners_color":"","last_updated":"2009-09-16 23:23:53","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.zaikos.com\/donate\/","header_plugin_uri":"http:\/\/www.zaikos.com\/wp-plugins\/z-lightview\/","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":10,"downloads":4667,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.2","1.2.1","1.2.1-RC1","1.3.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[210,163,12058,215,214],"plugin_category":[50],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-48296","plugin","type-plugin","status-closed","hentry","plugin_tags-gallery","plugin_tags-images","plugin_tags-lightview","plugin_tags-photo","plugin_tags-pictures","plugin_category-media","plugin_committers-dzaikos"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/z-lightview.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Allows WordPress to utilize Nick Stakenburg's <a href=\"http:\/\/www.nickstakenburg.com\/projects\/lightview\/\" title=\"Lightview\">Lightview<\/a> for images in posts and pages, including the WordPress image gallery. Lightview provides a clean, simple JavaScript image and gallery viewer.<\/p>\n\n<p>After installing, the plugin will automatically use Lightview for all links to images and when the WordPress gallery is used. Lightview's use can be configured in the settings page.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>z-lightview<\/code> folder to the <code>wp-content\/plugins\/<\/code> directory.<\/li>\n<li><a href=\"http:\/\/www.nickstakenburg.com\/projects\/download\/?project=lightview\" title=\"Download Lightview\">Download Lightview<\/a> from Nick Stakenburg's web site.<\/li>\n<li>Extract the Lightview zip file.<\/li>\n<li>Upload the <code>css<\/code> and <code>images<\/code> directories to the <code>wp-content\/plugins\/z-lightview<\/code> directory.<\/li>\n<li>Upload the <code>js\/lightview.js<\/code> file to the <code>wp-content\/plugins\/z-lightview\/js<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<\/ol>\n\n<p>That's it! Links to image files and uses of the gallery shortcode, <code>[gallery]<\/code>, will be updated to use Lightview. You can configure additional options in the Settings, z-Lightview page.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>What image types are supported?<\/dt>\n<dd><p>Creating a link to a file that ends with a JPEG, JPG, PNG, GIF or BMP extension will be handled by Lightview.<\/p><\/dd>\n<dt>Lightview isn't working when I click a link.<\/dt>\n<dd><p>Lightview doesn't intercept links until the page is completely loaded. If a link is clicked before the page finishes loading then it will be handled as per usual (i.e. the image will load in the browser screen instead of being handled by Lightview).<\/p><\/dd>\n<dt>Internet Explorer 8 doesn't work properly.<\/dt>\n<dd><p>No, it doesn't. But that's not any surprise either.<\/p>\n\n<p>This is a result of the Protocol JavaScript library not working properly with Internet Explorer 8. To fix this add the following to your <code>header.php<\/code> file <strong>immediately<\/strong> after the <code>&lt;head&gt;<\/code> tag:<\/p>\n\n<pre><code>&lt;meta http-equiv=\"X-UA-Compatible\" content=\"IE=EmulateIE7\" \/&gt;\n<\/code><\/pre>\n\n<p>Alternatively, you can uncomment line 515 in the <code>z-lightview.php<\/code> file. Please read the comments on lines 329-331 first though.<\/p><\/dd>\n<dt>I get a fatal error when activating which says files are missing.<\/dt>\n<dd><p>Due to licensing issues, Lightview cannot be included with the download. You must <a href=\"http:\/\/www.nickstakenburg.com\/projects\/download\/?project=lightview\">download<\/a> Lightview separately and upload the folders included there (css, images, and js) to this plugin's folder.<\/p><\/dd>\n<dt>How does this plugin backup Lightview files during a plugin update?<\/dt>\n<dd><p>When the plugin is deactivated it attempts to make a backup copy of Lightview's files in a directory named <code>wp-content\/plugins\/.z-lightview-backup<\/code>. This folder is prefixed with a period which will cause it to be hidden on most web sites so as not to appear out of place. You can prevent this folder and backup from being created by disabling it from the z-Lightview settings page.<\/p><\/dd>\n<dt>Does disabling the backup of Lightview files remove the hidden backup directory?<\/dt>\n<dd><p>No. If a backup was created at any point it will not be deleted by unchecking the backup option. To delete the backup folder use an FTP program, or similar. To prevent the backup folder from being created in the first place, disable backups from the settings page immediately after activating the plugin. This setting will be remembered for subsequent activations and deactivations, as well as during future updates to the plugin. It is recommended that you allow the plugin to make a backup to ensure updates are successful with minimal user intervention.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.3.0<\/h4>\n\n<p><strong>Note:<\/strong> As of version 1.3.0 the plugin will (by default) automatically backup installed Lightview files during updates; however, you'll need to install these files just once more--my apologies folks, I have addressed this issue going forward to ensure you are not inconvenienced again.<\/p>\n\n<ul>\n<li>Revised filters to better determine when Lightview should be used.<\/li>\n<li>Updated bundled Prototype library to version 1.6.1. This should provide better support for Internet Explorer 8.<\/li>\n<li>Revised Scriptaculous library to prevent it from trying to load additional, unnecessary add-ons (previously it would cause several 404 errors).<\/li>\n<li>Created a settings page (under the main Settings menu) to manage where and how the plugin should use Lightview.<\/li>\n<li>Added an option to prevent Lightview from being used on images linked to from external sites (configurable in the new settings page).<\/li>\n<li>Added an option to backup Lightview's JavaScript, CSS, and image files during updates to the plugin (this will ensure you do not have to re-download Lightview in future updates). This is configurable in the new settings page.<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Update to support PHP 4. This should fix the line 34 syntax error that would cause a fatal error when running in a PHP 4 environment.<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>First public release on the WordPress Plugins directory.<\/li>\n<\/ul>","raw_excerpt":"Enables Lightview for images in posts and pages, including the WordPress image gallery.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/48296","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=48296"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/dzaikos"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=48296"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=48296"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=48296"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=48296"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=48296"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=48296"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}