Changeset 197391
- Timestamp:
- 01/24/2010 01:32:18 PM (16 years ago)
- Location:
- picasaview/trunk
- Files:
-
- 1 added
- 2 edited
-
languages/picasaView-nl_NL.mo (added)
-
picasaview.php (modified) (2 diffs)
-
readme.txt (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
picasaview/trunk/picasaview.php
r182265 r197391 5 5 Plugin URI: http://www.sattes-faction.de/picasaview 6 6 Description: Allows you to show all albums or a specific one from Google's picasaWeb in your posts. 7 Version: 1.1. 17 Version: 1.1.2 8 8 License: GPL 9 9 Author: Simon Sattes … … 404 404 '%IMAGETITLE%' => htmlentities($e->title, ENT_QUOTES, get_option('blog_charset')), 405 405 '%THUMBNAILPATH%' => $thumbnail, 406 '%INDEX%' => $idx 406 407 //'%MODIFICATIONDATE%' => date( 'd.m.Y', intval((string) $gPhoto->timestamp) ) 407 408 )); -
picasaview/trunk/readme.txt
r182265 r197391 4 4 Tags: picasa, picasaweb, picasaview, gallery 5 5 Requires at least: 2.7 6 Tested up to: 2. 8.66 Tested up to: 2.9.1 7 7 Stable tag: trunk 8 8 … … 76 76 Supported placeholders: `%ALBUMLINK%`, `%ALBUMTITLE%`, `%THUMBNAILPATH%`, `%ALBUMSUMMARY%`, `%TOTAL_RESULTS%`, `%TOTAL_RESULTS_LABEL%`, `%CREATIONDATE%`, `%CREATIONDATE%` 77 77 * **albumDetails.html**: This is the template that's used for the image thumbnails when viewing all images of an album: 78 Supported placeholders: `%ALBUMID%`, `%IMAGEID%`, `%IMAGEPATH%`, `%IMAGETITLE%`, `%THUMBNAILPATH%`, `%IMAGEDESCRIPTION%` 78 Supported placeholders: `%ALBUMID%`, `%IMAGEID%`, `%IMAGEPATH%`, `%IMAGETITLE%`, `%THUMBNAILPATH%`, `%IMAGEDESCRIPTION%`, `%INDEX%` 79 79 * **albumDetailsHeader.html**: The header for the album details view before all thumbnails are printed. 80 80 Supported placeholders: `%ALBUMTITLE%`, `%ALBUMSUMMARY%`, `%TOTAL_RESULTS%`, `%TOTAL_RESULTS_LABEL%`, `%LOCATION%`, `%LOCATION_LABEL%`, `%PREVIOUS_PAGE_LINK%`, `%PREVIOUS_PAGE_LABEL%`, `%NEXT_PAGE_LINK%`, `%NEXT_PAGE_LABEL%`, `%SHOWING_RESULTS%`, `%SHOWING_RESULTS_LABEL%`, `%TOTAL_RESULTS_LABEL%`, `%TOTAL_RESULTS%`, `%BACKTOPOST_LINK%`, `%BACKTOPOST_LABEL%` … … 108 108 * **`%BACKTOPOST_LINK%`**: the permalink of the page where the picasaView has been called 109 109 * **`%BACKTOPOST_LABEL%`**: the localized string "Back to post" 110 * **`%INDEX%`**: the index number of each image starting with 1 and counting up 110 111 111 112 Furthermore there are some IF-Blocks which can be used in the templates *albumDetailsHeader.html and *albumDetailsFooter.html* … … 141 142 albums can't be shown (obviously, because they are private). 142 143 144 = I've specified an album in the tag but get an error message saying this album was not available = 145 Be sure to use the shorted album name picasaweb generates, not the original one. For example the album "Cats And Dogs" is shrinked to "CatsAndDogs". 146 You can see the shortened album name if you click on an album in picasaweb and look at the url: "http://picasaweb.google.com/username/CatsAndDogs". 147 143 148 == Changelog == 144 149 … … 147 152 Changes in this version: 148 153 149 ADD: unique Image-ID can now be used via %IMAGEID% in the template albumDetails.html (for JavaScript-purposes, e.g.) 150 ADD: album creation/modification date can now be used via %CREATIONDATE% and %MODIFICATIONDATE% in the template album.html 151 CHG: replaced own remote connection routine by Wordpress' remote class. Helps keeping the plugin code simple and slick (and I can blame other people if the connection fails) 152 CHG: use wordpress' shortcode api (http://codex.wordpress.org/Shortcode_API) instead of own placeholder parsing (can blame other people for errors, again), and it will not add p or br tags anymore when the placeholder stands alone on a line by themself 153 FIX: multiple picasaview-tags in the same post caused some duplicate content 154 FIX: a bug with floating elements due to css-settings 155 FIX: when JavaScript-Paging was enabled the bottom text could overlap the images if their heights were different 154 ADD: placeholder `%INDEX%` for use in the template `albumDetails.html` that simply outputs the index number of the current image 155 ADD: Dutch translation (thanks to Stef Segers) 156 156 157 157 == To Do == 158 158 159 * 159 * add link to the original album on picasaweb 160 * anchor link to the detail view of an album 160 161 * sidebar widget with random images 161 162 * directly insert single images in your posts
Note: See TracChangeset
for help on using the changeset viewer.