{"id":45516,"date":"2006-04-06T17:54:58","date_gmt":"2006-04-06T17:54:58","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/inline-gallery\/"},"modified":"2008-03-31T18:21:41","modified_gmt":"2008-03-31T18:21:41","slug":"inline-gallery","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/inline-gallery\/","author":17351,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.3.9","stable_tag":"0.3.9","tested":"2.5.0","requires":"2.0.0","requires_php":"","requires_plugins":"","header_name":"Inline Gallery","header_author":"m0n5t3r","header_description":"","assets_banners_color":"","last_updated":"2008-03-31 18:21:41","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_donations&business=iacobs%40gmail%2ecom&item_name=Support%20for%20Inline%20Gallery&no_shipping=1&no_note=1&tax=0&currency_code=EUR&lc=RO&bn=PP%2dDonationsBF&charset=UTF%2d8","header_plugin_uri":"http:\/\/m0n5t3r.info\/work\/wordpress-plugins\/inline-gallery\/","header_author_uri":"http:\/\/m0n5t3r.info\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":27845,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","other_notes"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1","0.2","0.3.3","0.3.4","0.3.5","0.3.6","0.3.7","0.3.8","0.3.9"],"block_files":[],"assets_screenshots":{"screenshot-4.jpg":{"filename":"screenshot-4.jpg","revision":"1539234","resolution":"4","location":"plugin"},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":"1539234","resolution":"2","location":"plugin"},"screenshot-3.jpg":{"filename":"screenshot-3.jpg","revision":"1539234","resolution":"3","location":"plugin"},"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"1539234","resolution":"1","location":"plugin"}},"screenshots":{"1":"Plug-in options page","2":"Gallery browser, showing available galleries","3":"Image caption editor","4":"The gallery button showing up in the visual editor"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[210,163,4096,86,4094],"plugin_category":[50],"plugin_contributors":[91905],"plugin_business_model":[],"class_list":["post-45516","plugin","type-plugin","status-closed","hentry","plugin_tags-gallery","plugin_tags-images","plugin_tags-iptc","plugin_tags-post","plugin_tags-xmp","plugin_category-media","plugin_contributors-m0n5t3r","plugin_committers-m0n5t3r"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/inline-gallery.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/inline-gallery\/trunk\/screenshot-1.jpg?rev=1539234","caption":"Plug-in options page"},{"src":"https:\/\/ps.w.org\/inline-gallery\/trunk\/screenshot-2.jpg?rev=1539234","caption":"Gallery browser, showing available galleries"},{"src":"https:\/\/ps.w.org\/inline-gallery\/trunk\/screenshot-3.jpg?rev=1539234","caption":"Image caption editor"},{"src":"https:\/\/ps.w.org\/inline-gallery\/trunk\/screenshot-4.jpg?rev=1539234","caption":"The gallery button showing up in the visual editor"}],"raw_content":"<!--section=description-->\n<p><strong>The author has no time and plans of supporting this plugin. You are on your own. You have been warned!<\/strong>\nThis plugin offers a way of including arbitrary amounts of images in posts; \nthe basic ideas came from <a href=\"http:\/\/kyrres.net\/2005\/02\/04\/autogallery\/\">AutoGallery<\/a>. \nHere is a <a href=\"http:\/\/m0n5t3r.info\/work\/wordpress-plugins\/inline-gallery\/inline-gallery-demo\/\">little demo<\/a> \nof what it can do; also see <a href=\"http:\/\/m0n5t3r.info\/photo-galleries\/\">my photos<\/a> \nfor another flavour :-)<\/p>\n\n<p><strong>Features<\/strong>:<\/p>\n\n<ul>\n<li>plug and play, just like any other Wordpress plug-in<\/li>\n<li>easy to configure<\/li>\n<li>does no processing on the images (except for getting the image metadata), \nso it's lightning fast<\/li>\n<li>you can have multiple galleries per post<\/li>\n<li>integrated with Wordpress 2.0's wysiwyg editor (the way QuickTags is implemented \ndoesn't allow easy placing of buttons in the toolbar, but that's not a big problem, \nsince you are editing code, anyway)<\/li>\n<li>(since 0.2) output is customizable with templates<\/li>\n<li><p>(since 0.3.0) supports XMP, IPTC and EXIF captions; The order of preference is:<\/p>\n\n<ul>\n<li>XMP Dublin Core title and description<\/li>\n<li>XMP Photoshop Headline text<\/li>\n<li>IPTC caption<\/li>\n<li>EXIF comment<\/li>\n<\/ul>\n\n<p>This means you can also set captions for your files using Photoshop or Picasa, \nif you don't particularly enjoy editing ini files.<\/p><\/li>\n<li>(since 0.3.0) Picasa.ini support (Picasa writes captions there for files that \ndo not support IPTC)<\/li>\n<li>(since 0.3.1) Admin page AJAX-ish gallery browser and caption editor using mootools \n(needs write access to your image files)<\/li>\n<li>(since 0.3.5) Ships with Lightbox v2, Slimbox, Slimebox, Thickbox and\nallows to switch between them from the options page<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>download<\/li>\n<li>unzip and copy the <code>inline_gallery<\/code> folder into <code>wp-content\/plugins<\/code><\/li>\n<li>activate the plugin<\/li>\n<li>go to Options &rarr; Inline Gallery to set it up. Here is an explanation of the\nsettings:\n\n<ul>\n<li>the root folder is the path relative to your site URL, so if you access\nyour wordpress at <code>http:\/\/example.com\/blog\/<\/code> and the images are under\nhttp:\/\/example.com\/blog\/wp-content\/galleries, you should set the\ngallery root to <code>wp-content\/galleries<\/code><\/li>\n<li>the image types list is simply a comma separated list of file extensions<\/li>\n<\/ul><\/li>\n<li>you're done<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>How is it licensed?<\/dt>\n<dd><p>GPL<\/p><\/dd>\n<dt>Does it require PHP safe mode to be off?<\/dt>\n<dd><p>laboratory tests say it doesn't; however, this needs testing in the wild\n(hosting environments can be very different, depending on the host's\nwillingness to pay for a good sysadmin).<\/p><\/dd>\n<dt>Requirements?<\/dt>\n<dd><ul>\n<li>Wordpress 2.0 or later<\/li>\n<li>the gd library enabled in PHP<\/li>\n<\/ul><\/dd>\n<dt>Plugin could not be activated because it triggered a fatal error. wtf?<\/dt>\n<dd><p>it's most probably due to exceeding memory_limit; Inline Gallery uses a big\nlibrary (the PHP JPEG Metadata Toolkit), and eats up about 3MB of server memory \nwhen fully loaded.<\/p>\n\n<p>Version 0.3.9 delays loading the code until it is actually needed, so this \nshouldn't happen any more. If it does, it probably wouldn't work anyway in\nyour current setup (try disabling some plugins).<\/p><\/dd>\n<dt>How many images can it display?<\/dt>\n<dd><p>It depends on the available memory; benchmarks in this area are still needed.<\/p><\/dd>\n<dt>How about speed?<\/dt>\n<dd><p>Since version 0.3.9, Inline Gallery uses the Wordpress caching framework, so \nit can take advantage of high performance caching if needed; and since PJMT\n(the biggest memory hog) is loaded only when needed, a cache hit usually\nresults in lower overall memory consumption.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=other_notes-->\n<h3>Usage<\/h3>\n\n<ul>\n<li>write post<\/li>\n<li>upload photos to a directory with the same name as the post slug; subalbums \nare subdirectories of the main gallery with the same structure<\/li>\n<li>if you intend to use the default template, upload thumbnails to a\nsubdirectory of the gallery called \"thumbs\"<\/li>\n<li>use <code>&lt;!--gallery--&gt;<\/code> in the post where you want the main gallery to appear,<\/li>\n<li>or <code>&lt;!--gallery[subname]--&gt;<\/code> for a subgallery<\/li>\n<\/ul>\n\n<p>You can add captions to the images in several ways:<\/p>\n\n<ul>\n<li>using the admin page ajax-ish caption editor; it needs write access to your\nphotos, as it stores the captions inside the images (JPEG only for now)<\/li>\n<li><p>using a text editor: create a file called \"desc.txt\" and write descriptions\nthere; it is standard ini format, like this:<\/p>\n\n<pre><code>#comment\n;another comment\n[keyword]               ;comments can stay here, too\nvariable=value\n<\/code><\/pre>\n\n<p>Recognized section names:<\/p>\n\n<ul>\n<li>meta: gallery-wide information, like gallery name, headline, etc; passed to\nheader and footer templates<\/li>\n<li>template: must contain values for header, footer, item; can contain other\ntemplate metadata (recognized so far: group_count, group_before, group_after)<\/li>\n<li>image file name: image metadata<\/li>\n<\/ul><\/li>\n<li>using Google Picasa (the desktop application, not the web service); add\ncaptions to your images before uploading and don't forget to also upload\nPicasa.ini<\/li>\n<li>using Adobe Photoshop and any other desktop image processing software that\nsupports either XMP or the older IPTC standard<\/li>\n<\/ul>\n\n<p>a desc.txt file could look like this:<\/p>\n\n<pre><code>[meta]\nname=This is a short description of the gallery\n\n[image1.jpg]\ncaption=this is an alt text\n...\n<\/code><\/pre>\n\n<p>The thumbnail dimensions are of your choice. The thumbnails can be easily generated \nusing Photoshop's batch mode or ImageMagick's convert in a shell one-liner \n(bash example: <code>for a in *.JPG; do convert --resize $a thumbs\/thumb-$a<\/code>)<\/p>\n\n<h3>Installing the sample gallery<\/h3>\n\n<ul>\n<li>Copy the \"sample\" directory under the gallery root you chose<\/li>\n<li>create a post or a page called \"sample\", enter <code>&lt;!--gallery--&gt;<\/code> as the\ncontents or press the \"insert gallery\" button and then OK without entering\nanything, publish, view post<\/li>\n<li>if you see a black cat, then you have everything working correctly :D<\/li>\n<\/ul>\n\n<h3>Inserting a gallery in a post<\/h3>\n\n<ul>\n<li>in code edit mode: \n\n<ul>\n<li>enter <code>&lt;!--gallery--&gt;<\/code> where you want your main gallery to appear, or                        <\/li>\n<li>enter <code>&lt;!--gallery[subfolder]--&gt;<\/code> if you want to insert a sub-gallery<\/li>\n<\/ul><\/li>\n<li>in visual editing mode, click the \"insert gallery\" button (it kind of looks\nlike the \"insert image\" button), and enter <code>subfolder<\/code> in the input box for\na 2nd level gallery, leave it blank or press cancel for the top gallery<\/li>\n<\/ul>\n\n<p>Note that the top folder doesn't need to contain images, it can be just a place \nto store sub-galleries.<\/p>\n\n<h3>The gallery browser<\/h3>\n\n<ul>\n<li>Is located under Manage &rarr; Galleries<\/li>\n<li>Uses a folder icon from the Etiquette icon theme<\/li>\n<li>Is tested in Firefox 2.0, Opera 9 and Internet Exploder 6, so far, both\nwith the default theme and wp-admin-tiger; pixel-perfect in Firefox and\nOpera, some CSS problems make it unusable in MSIE (patches welcome, i.e. I\nwon't fix it)<\/li>\n<li>Is designed for lazy people:\n\n<ul>\n<li>click a gallery, the first image is loaded<\/li>\n<li>click the caption field, edit, press enter, it is saved<\/li>\n<li>the next image is loaded and the caption field is already active<\/li>\n<li>allows quick navigation among the images in the loaded gallery by using \nthe left and right arrow keys or <strong>n<\/strong> and <strong>p<\/strong> when the caption editing \nfield is not active<\/li>\n<\/ul><\/li>\n<li>Needs write access to the gallery folder and files to update the captions\nand will reset file ownership to the uid of the web server process; on shared\nhosts that run the web server process under the same uid as the one you use\nto connect via (s)ftp it is not an issue<\/li>\n<li>Is in the \"works for me\" phase, needs testing and may also kill your pet :P<\/li>\n<\/ul>","raw_excerpt":"An easy way to turn posts into image galleries. Very customizable. Not supported any more. Can read and set IPTC and XMP captions","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/45516","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=45516"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/m0n5t3r"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=45516"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=45516"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=45516"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=45516"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=45516"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=45516"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}