{"id":43787,"date":"2011-04-17T19:17:38","date_gmt":"2011-04-17T19:17:38","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/a-gallery\/"},"modified":"2012-02-07T11:00:58","modified_gmt":"2012-02-07T11:00:58","slug":"a-gallery","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/a-gallery\/","author":7813463,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1","stable_tag":"1.1","tested":"3.3.2","requires":"3.1","requires_php":"","requires_plugins":"","header_name":"A. Gallery","header_author":"Sevastyan Rabdano","header_description":"","assets_banners_color":"","last_updated":"2012-02-07 11:00:58","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/rabdano.ru\/","header_plugin_uri":"http:\/\/rabdano.ru\/wordpress-plugins\/a-gallery\/","header_author_uri":"http:\/\/rabdano.ru\/","rating":0,"author_block_rating":0,"active_installs":20,"downloads":9681,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.1":"<ul>\n<li>Large amount of code were rewritten. Lightbox gallery replaced by Fancybox. Script with security problems <code>timthumb.php<\/code> was removed. Images are now scaled and cropped with biultin WordPress functions. A lot of bugs have been fixed.<\/li>\n<\/ul>","0.9.1":"<ul>\n<li>Security update. This update is necessary for all. Make it immediately. Vulnerability was founded in timthumb.php script. More information at http:\/\/b23.ru\/33za<\/li>\n<\/ul>","0.9":"<ul>\n<li>Pre release. In next version (1.0) some bugs will be fixed and added some features.<\/li>\n<\/ul>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.9","0.9.1","1.1"],"block_files":[],"assets_screenshots":{"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1539079","resolution":"2","location":"plugin"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1539079","resolution":"3","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1539079","resolution":"1","location":"plugin"}},"screenshots":{"1":"Full size view.","2":"Slider with 4 columns.","3":"Sort and detach box."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[221,1347,1346,133,216],"plugin_category":[50,59],"plugin_contributors":[88532],"plugin_business_model":[],"class_list":["post-43787","plugin","type-plugin","status-closed","hentry","plugin_tags-ajax","plugin_tags-attach","plugin_tags-attachments","plugin_tags-image","plugin_tags-picture","plugin_category-media","plugin_category-utilities-and-tools","plugin_contributors-sevastyan","plugin_committers-sevastyan"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/a-gallery.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/a-gallery\/trunk\/screenshot-1.png?rev=1539079","caption":"Full size view."},{"src":"https:\/\/ps.w.org\/a-gallery\/trunk\/screenshot-2.png?rev=1539079","caption":"Slider with 4 columns."},{"src":"https:\/\/ps.w.org\/a-gallery\/trunk\/screenshot-3.png?rev=1539079","caption":"Sort and detach box."}],"raw_content":"<!--section=description-->\n<p>A. Gallery provide a shortcode [a_gallery]. With attributes you can easily customize size of thumbnails and gallery slider. You can attach, detach and sort post pictures with drag and drop, post edit page reloading not needed for this.<\/p>\n\n<p>Features:<\/p>\n\n<ul>\n<li>Show gallery wherever you want using shortcode.<\/li>\n<li>Attach or detach images to post.<\/li>\n<li>Sort photos in gallery right on post edit page with drag and drop and AJAX.<\/li>\n<li>Manage default view of slider.<\/li>\n<li>Extend shortcode by using <code>add_filter( 'post_a_gallery', 'your_function_name' )<\/code> hook.<\/li>\n<\/ul>\n\n<p>Plugin settings page allow to edit default shortcode attributes values. There are:<\/p>\n\n<ul>\n<li>\"post_id\" is the ID of post which attachments you want to show in gallery;<\/li>\n<li>\"count\" is number of images to show in gallery slider;<\/li>\n<li>\"border\" is width of thumbnails slider border;<\/li>\n<li>\"border_color\" is color of thumbnails slider border;<\/li>\n<li>\"item_w\" is thumbnail width;<\/li>\n<li>\"item_h\" is thumbnail height;<\/li>\n<li>\"columns\" is number of visible pictures (number of columns);<\/li>\n<li>\"exclude\" is IDs of attachments which you don't want to show;<\/li>\n<li>\"max_width\" is max width of full size image;<\/li>\n<li>\"max_height\" is max height of full size image.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>a-gallery<\/code> folder unpacked from archive to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Place <code>[a_gallery]<\/code> shortcode wherever you want in your site.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>How to add a gallery to post?<\/dt>\n<dd><p>Simply type <code>[a_gallery]<\/code> and upload some pictures (<strong>do not insert<\/strong> it in post\nif you don't want add images in post content).<\/p><\/dd>\n<dt>How to detach image?<\/dt>\n<dd><p>If post have attached photos you can detach it by clicking Delete link located below of item in \"Manage images\" meta box.<\/p><\/dd>\n<dt>How to attach image?<\/dt>\n<dd><p>There are two options:\n1. Upload pictures from edit post page and save changes, but <strong>do not insert<\/strong> it in post if you don't want add images in post content.\n2. Upload pictures from media tab in admin and then navigate to post and in \"Manage images\" meta box click \"Add from library button\". Then you can select pictures and save it.<\/p><\/dd>\n<dt>What settings can I change?<\/dt>\n<dd><p>You can customize:<\/p>\n\n<ul>\n<li>\"post_id\" is the ID of post which attachments you want to show in gallery;<\/li>\n<li>\"count\" is number of images to show in gallery slider;<\/li>\n<li>\"border\" is width of thumbnails slider border;<\/li>\n<li>\"border_color\" is color of thumbnails slider border;<\/li>\n<li>\"item_w\" is thumbnail width;<\/li>\n<li>\"item_h\" is thumbnail height;<\/li>\n<li>\"columns\" is number of visible pictures (number of columns);<\/li>\n<li>\"exclude\" is IDs of attachments which you don't want to show;<\/li>\n<li>\"max_width\" is max width of full size image;<\/li>\n<li>\"max_height\" is max height of full size image.<\/li>\n<\/ul>\n\n<p>For example <code>[a_gallery post_id=\"1\" count=\"7\" border=\"3\" border_color=\"#ff0000\" item_h=\"100\" item_w=\"120\" columns=\"3\" exclude=\"2,3\"]<\/code>\nwill insert a gallery with 7 images attached to post \"Hello World!\" (post ID = 1), exclude attachments with ID 2,3. Slider will\ncontain 3 visible and 4 hidden thumbnails with size 120px by 100px and <code>#ff0000<\/code> border of 3px width.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1<\/h4>\n\n<ul>\n<li>Large amount of code were rewritten. Lightbox gallery replaced by Fancybox. Script with security problems <code>timthumb.php<\/code> was removed. Images are now scaled and cropped with biultin WordPress functions. A lot of bugs have been fixed. <\/li>\n<\/ul>\n\n<h4>0.9.1<\/h4>\n\n<ul>\n<li>Security update. This update is necessary for all. Make it immediately. Vulnerability was founded in timthumb.php script. More information at http:\/\/b23.ru\/33za<\/li>\n<\/ul>\n\n<h4>0.9<\/h4>\n\n<ul>\n<li>Pre release. In next version (1.0) some bugs will be fixed and added some features.<\/li>\n<\/ul>","raw_excerpt":"A. Gallery provide a shortcode [a_gallery]. With attributes you can easily customize size of thumbnails and gallery slider.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/43787","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=43787"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/sevastyan"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=43787"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=43787"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=43787"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=43787"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=43787"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=43787"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}