Hello
Why after few weeks ago this plugin doesnt show any more latest albums created in google photos?
Hello,
I am using kPicasa Gallery plugin for my wordpress site. May be because of picasa upgradation, I am not finding the permission setup(i.e., Only you, Public, Limited) to a single album.
When I set that permission it shows that album on my webpage(Gallery) i could not find that configuration in new picasa pannel. Kindly suggest me as soon as possible.
]]>Hi,
is there any possibility to change the fancybox Version from 1.2.6 to 1.3.4. Otherwise I habe conflicts with an other plugin.
Thanks
]]>we are trying to change the css. we prefer to make the changes in our css file, but that doesn’t seem to have any impact on your template. we also updated your css file and still no impact. which css are you using? how do we control the style of the gallery and the albums?
]]>Looking to see if there’s a shortcode or params we can pass to EXCLUDE a gallery or set of galleries, similar to your include method. Any assistance you can provide would be appreciated.
]]>Hi.
Not sure it is a kPicasa-Gallery issue per say, but here is the scenario: When I browse my website with IE11 and go to the GALLERY section, the album thumbnails appear normal for a brief moment, but then they start decreasing in size until not visible anymore. Same happens to pictures once in the picture list. I could not recreate the behavior with Firefox or Safari.
When I disabled other plugins – WP Lightbox2, Cleaner Gallery – no change in behavior. When I disabled jetpack – all was well.
So, is it an IE11 issue? a compatibility issue with JetPack? Both? None? What can I do to resolve it other than not using JetPack or KPicasa? I do like them both!
Hello,
I’ve some problems with the Picassa plugin for wordpress
I got following error in the site
“couldn’t connect to host”
don’t find any problem
hope for help
thanks
br
roman
I would like do know if there is a specific code for insert more than one private album…
Thanks a lot!
Simone
]]>I love your plugin. It’s simple, it works, I can make some changes on CSS to look different. But I would like more. Some sites needs different number of pictures to show per row in some albums. Is there any way of doing it? Who knows, maybe in the short code, or using CSS… Could you think about it?
Thanks a lot,
Simone
]]>i want to integrate gallery in the theme file (index.php), not using the shortcode. Is there a way out?
]]>Hi,
Everything was working perfect until a few days ago, but now I am getting this error message:
Operation timed out after 5507 milliseconds with 759 out of -1 bytes received
]]>Everything works fine, except that I would like to remove the album title displayed (in a yellow box) before the gallery. I don’t need it since in my case it’s a duplicate of the page title. Is there a way to remove it?
]]>Hi,
I’m using the most recent version of the plug-in (3.6) and for some reason the shortcode from the plug-in is showing up after the gallery. I’ve tried a few things but I haven’t been able to remove it.
You can see the issue here…https://anfrel.org/resources/our-photos/
Is there a fix or is this an issue with the plug-in? Thanks for your help!
]]>Hello, the plugin worked fine for few days, but now I’m getting this all the time: Couldn’t resolve host ‘picasaweb.google.com’
Please help…
Regards
Marko
]]>Have been using kpicasa for years very successfully. We upgraded to google+ (because there didn’t appear to be an option not to). Consequently, our village website gallery is now showing ‘Error: the communication with Picasa Web Albums didn’t go as expected. Here’s what Picasa Web Albums said: Invalid user’. ‘ Also, our profile on google+ has been suspended because we didn’t put in an individual’s name – because we are a village, not a single person. There does appear to be an option to disable google+ but I am concerned about what effect this may have. We don’t need it. We just want to display photos on our website gallery. Could anyone help? Many thanks. Our site is
]]>Hi there, I have upgraded my Picasa account to google plus and entered a new album and deleted another – however the deleted one is still showing – any ideas – (i’ve removed the deleted from the bin also
]]>My kPicasa gallery isn’t working when I’m using pretty permalinks with the post/page name in the url (i.e. https://www.mysite.com/photos). It works just fine when I use default permalinks (i.e., https://www.mysite.com/?page_id=4), however I’d much prefer to use a more user friendly url. When I have non-default permalinks all the albums show on the main gallery page, however when you click on an individual album it doesn’t show that album’s photos. The url updates with the correct address, however when the page reloads, it’s just the main gallery page.
Does anybody know why this is happening or what I can do to fix it? Otherwise this is a great plug-in! Thank you!
]]>How to set slideshow widget from picasa gallery?
]]>Hi,
From today (02/02/2013) the plugin kPicasa Gallery is giving a connection error when displaying the thumbnails, does anyone know how to solve?
error:
Failed to connect to 2607: f8b0: 400c: c01 :: 88: Network is unreachable
Thank you.
]]>Hi All
I am finding this with all my kpicasa lightbox galleries, it will work in firefox without any right/left image etc but nothing in Chrome.
it has stripped the lightbox completely from my website
]]>How can I select albums to show in kPicasa ? I want to show only albums that beginning with number 2012 (for example : 2012-06-12 New Year convention….) to make the year selection.
]]>First of all, thank you for this great plugin. I am looking to transition from Joomla to WordPress and your plugin is the best solution I’ve found for the same functionality I had in Joomla.
I want to have a page where the album thumb/summary will be displayed and when those are clicked the whole album will be displayed.
I use your syntax in order to display the albums from picasa and I get the desired result:
KPICASA_GALLERY(myalbum1, myablum2)
A thumbnail, along with the album Title are displayed for each album I have defined.
-> But when the album title or the thumb is clicked, the page simply reloads without showing any images/album content.
Playing with the plugin I found that the album pagination does not work either.
I guess this is an issue of compatibility with WP 3.5, unless I am missing something. Really hope this can be addressed.
]]>Hey,
Firstly, great plugin ??
Secondly:
I’ve updated it slightly to remove the use of tables. (ver 0.2.9)
It now uses divs, <figure> and <figcaption>.
You can see the changes to kpg.class.php below. To apply the update simply replace the code in kpg.class.php with the code below.
Happy coding all. If you need any help drop me a tweet @s_moloney
<?php
if ( !class_exists('KPicasaGallery') )
{
class KPicasaGallery
{
private $username;
private $showOnlyAlbums;
private $cacheTimeout;
private $config;
public function __construct($username = null, $showOnlyAlbums)
{
global $kpg_config;
$this->config = $kpg_config;
$this->username = $username != null ? $username : $kpg_config['username'];
$this->showOnlyAlbums = is_array( $showOnlyAlbums ) ? $showOnlyAlbums : array();
$this->cacheTimeout = 60 * 60 * 1;
if ( !strlen( $this->username ) )
{
if ( $this->checkError( new WP_Error('kpicasa_gallery-username-required', '<strong>'.__('Error', 'kpicasa_gallery').':</strong> '.__('You must go to the admin section and set your Picasa Web Album Username in the Options section.', 'kpicasa_gallery') ) ) )
{
return false;
}
}
if ( count($this->showOnlyAlbums) == 1 || (isset($_GET['album']) && strlen($_GET['album'])) )
{
if ( count($this->showOnlyAlbums) == 1 )
{
$tmp = explode('#', $this->showOnlyAlbums[0]);
$album = $tmp[0];
$direct = true;
$authKey = isset($tmp[1]) ? $tmp[1] : '';
}
else
{
$album = $_GET['album'];
$direct = false;
$authKey = '';
}
if ( $this->checkError( $this->displayPictures($album, $direct, $authKey) ) )
{
return false;
}
}
else
{
if ( $this->checkError( $this->displayAlbums() ) )
{
return false;
}
}
}
private function displayAlbums()
{
//----------------------------------------
// Get the XML
//----------------------------------------
$data = wp_cache_get('kPicasaGallery', 'kPicasaGallery');
if ( false === $data )
{
$url = 'https://picasaweb.google.com/data/feed/api/user/'.urlencode($this->username).'?kind=album';
$data = wp_remote_get( $url, array('kind' => 'album') );
if ( is_wp_error($data) )
{
return $data;
}
$data = $data['body'];
$data = str_replace('gphoto:', 'gphoto_', $data);
$data = str_replace('media:', 'media_', $data);
wp_cache_set('kPicasaGallery', $data, 'kPicasaGallery', $this->cacheTimeout);
}
$xml = @simplexml_load_string($data);
if ( $xml === false )
{
return new WP_Error( 'kpicasa_gallery-invalid-response', '<strong>'.__('Error', 'kpicasa_gallery').':</strong> '.__('the communication with Picasa Web Albums didn\'t go as expected. Here\'s what Picasa Web Albums said', 'kpicasa_gallery').':<br /><br />'.$data );
}
//----------------------------------------
// Prepare some variables
//----------------------------------------
$page = isset($_GET['kpgp']) && intval($_GET['kpgp']) > 1 ? intval($_GET['kpgp']) : 1; // kpgp = kPicasa Gallery Page
$url = get_permalink();
if ( $page > 1 )
{
$url = add_query_arg('kpgp', $page, $url);
}
if ( $this->config['albumPerPage'] > 0 )
{
$start = ($page - 1) * $this->config['albumPerPage'];
$stop = $start + $this->config['albumPerPage'] - 1;
}
else
{
$start = 0;
$stop = count( $xml->entry ) - 1;
}
// Set the class, depending on how many albums per row
$class = $this->config['albumPerRow'] == 1 ? 'kpg-thumb-onePerRow' : 'kpg-thumb-multiplePerRow';
//----------------------------------------
// Loop through the albums
//----------------------------------------
print '<div class="gallery-container">';
$i = -1; $j = -1;
foreach( $xml->entry as $album )
{
if ( count($this->showOnlyAlbums) && !in_array((string) $album->gphoto_name, $this->showOnlyAlbums) )
{
continue;
}
if ( $this->config['showGooglePlus'] == 0 && in_array((string) $album->gphoto_name, array('ScrapbookPhotos', 'ProfilePhotos')) )
{
continue;
}
$i++;
if ($i < $start || $i > $stop)
{
continue;
}
$j++;
if ( $j % $this->config['albumPerRow'] == 0 )
{
$remainingWidth = 100;
if ($j > 0)
{
print '</figure>';
}
print '<figure>';
}
// if last cell of the row, simply put remaining width
$width = ( ($j+1) % $this->config['albumPerRow'] == 0 ) ? $remainingWidth : round( 100 / $this->config['albumPerRow'] );
$remainingWidth -= $width;
print "<td width='$width%'>";
$name = (string) $album->gphoto_name;
$title = wp_specialchars( (string) $album->title );
$summary = wp_specialchars( (string) $album->summary );
$location = wp_specialchars( (string) $album->gphoto_location );
$published = wp_specialchars( date($this->config['dateFormat'], strtotime( $album->published ))); // that way it keeps the timezone
$nbPhotos = (string) $album->gphoto_numphotos;
$albumURL = add_query_arg('album', $name, $url);
$thumbURL = (string) $album->media_group->media_thumbnail['url'];
$thumbW = (string) $album->media_group->media_thumbnail['width'];
$thumbH = (string) $album->media_group->media_thumbnail['height'];
if ( $this->config['albumThumbSize'] != null && $this->config['albumThumbSize'] != 160 )
{
$thumbURL = str_replace('/s160-c/', '/s'.$this->config['albumThumbSize'].'-c/', $thumbURL);
$thumbH = floor( ($this->config['albumThumbSize'] / 160) * $thumbH );
$thumbW = floor( ($this->config['albumThumbSize'] / 160) * $thumbW );
}
print "<a href='$albumURL'><img src='$thumbURL' height='$thumbH' width='$thumbW' alt='".str_replace("'", "'", $title)."' class='kpg-thumb $class' />";
print "<figcaption class='kpg-title'>$title</figcaption></a>";
if ( $this->config['albumSummary'] == true && strlen($summary) )
{
print "<figcaption class='kpg-summary'>$summary</figcaption>";
}
if ( $this->config['albumLocation'] == true && strlen($location) )
{
print "<figcaption class='kpg-location'>$location</figcaption>";
}
if ( $this->config['albumPublished'] == true )
{
print "<figcaption class='kpg-published'>$published</figcaption>";
}
if ( $this->config['albumNbPhoto'] == 1 )
{
print '<figcaption class="kpg-nbPhotos">'.sprintf(__ngettext('%d photo', '%d photos', $nbPhotos, 'kpicasa_gallery'), $nbPhotos).'</figcaption>';
}
print '</td>';
}
// never leave the last row with insuficient cells
if ($this->config['photoPerRow'] > 0)
{
while ($j % $this->config['photoPerRow'] > 0)
{
print '<td> </td>';
$j++;
}
}
print '</tr>';
print '</div>';
print '<br style="clear: both;" />';
//----------------------------------------
// Paginator
//----------------------------------------
$nbItems = count($this->showOnlyAlbums) > 0 ? count($this->showOnlyAlbums) : $i + 1;
$this->paginator( $page, 'kpgp', $this->config['albumPerPage'], $nbItems );
return true;
}
private function displayPictures($album, $direct = false, $authKey = '')
{
//----------------------------------------
// Get the XML
//----------------------------------------
$data = wp_cache_get('kPicasaGallery_'.$album, 'kPicasaGallery');
if ( false === $data )
{
$url = 'https://picasaweb.google.com/data/feed/api/user/'.urlencode($this->username).'/album/'.urlencode($album).'?kind=photo';
if ( strlen($authKey) > 0 )
{
$url .= '&authkey='.$authKey;
}
$data = wp_remote_get( $url, array('kind' => 'photo') );
if ( is_wp_error($data) )
{
return $data;
}
$data = $data['body'];
$data = str_replace('gphoto:', 'gphoto_', $data);
$data = str_replace('media:', 'media_', $data);
wp_cache_set('kPicasaGallery_'.$album, $data, 'kPicasaGallery', $this->cacheTimeout);
}
$xml = @simplexml_load_string($data);
if ( $xml === false )
{
return new WP_Error( 'kpicasa_gallery-invalid-response', '<strong>'.__('Error', 'kpicasa_gallery').':</strong> '.__('the communication with Picasa Web Albums didn\'t go as expected. Here\'s what Picasa Web Albums said', 'kpicasa_gallery').':<br /><br />'.$data );
}
//----------------------------------------
// Display "back" link
//----------------------------------------
if ( !$direct )
{
$backURL = remove_query_arg('album');
$backURL = remove_query_arg('kpap', $backURL);
print "<div id='kpg-backLink'><a href='$backURL'> ".__('Back to album list', 'kpicasa_gallery').'</a></div>';
}
//----------------------------------------
// Display album information
//----------------------------------------
$albumTitle = wp_specialchars( (string) $xml->title );
$albumSummary = wp_specialchars( (string) $xml->subtitle );
$albumLocation = wp_specialchars( (string) $xml->gphoto_location );
//$albumPublished = wp_specialchars( date($this->config['dateFormat'], strtotime( $xml->published ))); // that way it keeps the timezone
$albumNbPhotos = (string) $xml->gphoto_numphotos;
$albumSlideshow = (string) $xml->link[2]['href'];
print '<div id="kpg-album-description">';
print "<div id='kpg-title'>$albumTitle</div>";
if ( $this->config['albumSummary'] == true && strlen($albumSummary) )
{
print "<div id='kpg-summary'>$albumSummary</div>";
}
if ( $this->config['albumLocation'] == true && strlen($albumLocation) )
{
print "<div id='kpg-location'>$albumLocation</div>";
}
if ( $this->config['albumPublished'] == true )
{
//print "<div id='kpg-published'>$albumPublished</div>";
}
if ( $this->config['albumNbPhoto'] == 1 )
{
print '<div id="kpg-nbPhotos">'.sprintf(__ngettext('%d photo', '%d photos', $albumNbPhotos, 'kpicasa_gallery'), $albumNbPhotos).'</div>';
}
if ( $this->config['albumSlideshow'] == 1 )
{
print "<div id='kpg-slideshow'><a href='$albumSlideshow'>".__('Slideshow', 'kpicasa_gallery')."</a></div>";
}
print '</div>';
//----------------------------------------
// Prepare some variables
//----------------------------------------
$page = isset($_GET['kpap']) && intval($_GET['kpap']) > 1 ? intval($_GET['kpap']) : 1; // kpap = kPicasa Album Page
if ( $this->config['photoPerPage'] > 0 )
{
$start = ($page - 1) * $this->config['photoPerPage'];
$stop = $start + $this->config['photoPerPage'] - 1;
}
else
{
$start = 0;
$stop = count( $xml->entry ) - 1;
}
//----------------------------------------
// Loop through the pictures
//----------------------------------------
print '<div class="gallery-sub-pictures-container" id="kpg-pictures">';
$i = -1; $j = -1;
foreach( $xml->entry as $photo )
{
$i++;
if ($i < $start || $i > $stop)
{
continue;
}
$j++;
if ($j % $this->config['photoPerRow'] == 0)
{
$remainingWidth = 100;
if ($j > 0)
{
print '</figure>';
}
print '<figure>';
}
// if last cell, simply put remaining width
$width = ( ($j+1) % $this->config['photoPerRow'] == 0 ) ? $remainingWidth : round( 100 / $this->config['photoPerRow'] );
$remainingWidth -= $width;
print "<td width='$width%'>";
$isVideo = (string) $photo->media_group->media_content[1]['medium'] == 'video' ? true : false;
$summary = wp_specialchars( (string) $photo->summary );
$thumbURL = (string) $photo->media_group->media_thumbnail[1]['url'];
$thumbW = (string) $photo->media_group->media_thumbnail[1]['width'];
$thumbH = (string) $photo->media_group->media_thumbnail[1]['height'];
if ( $this->config['photoThumbSize'] != null && $this->config['photoThumbSize'] != 144 )
{
$thumbURL = str_replace('/s144/', '/s'.$this->config['photoThumbSize'].'/', $thumbURL);
$thumbH = floor( ($this->config['photoThumbSize'] / 144) * $thumbH );
$thumbW = floor( ($this->config['photoThumbSize'] / 144) * $thumbW );
}
if ( $isVideo == true )
{
$fullURL = (string) $photo->media_group->media_content[1]['url'];
$fullURL = 'https://video.google.com/googleplayer.swf?videoUrl='.urlencode($fullURL).'&autoplay=yes';
$videoWidth = (string) $photo->media_group->media_content[0]['width'];
$videoHeight = (string) $photo->media_group->media_content[0]['height'];
if ( in_array($this->config['picEngine'], array('thickbox', 'shadowbox', 'fancybox')) )
{
if ( in_array($this->config['picEngine'], array('thickbox', 'fancybox')) )
{
print '<div id="kpicasa_gallery_video_'.$i.'" style="width: '.$videoWidth.'px; height: '.$videoHeight.'px; display: none;">'."\n";
print ' <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'.$videoWidth.'" height="'.$videoHeight.'" id="kpg_'.$i.'">'."\n";
print ' <param name="movie" value="'.$fullURL.'" />'."\n";
if ( strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') === false )
{
print ' <object type="application/x-shockwave-flash" data="'.$fullURL.'" width="'.$videoWidth.'" height="'.$videoHeight.'">'."\n";
}
print ' <a href="https://www.adobe.com/go/getflashplayer">'."\n";
print ' <img src="https://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />'."\n";
print ' </a>'."\n";
if ( strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') === false )
{
print ' </object>'."\n";
}
print ' </object>'."\n";
print '</div>'."\n";
if ( $this->config['picEngine'] == 'shadowbox' )
{
// foo=bar because of a Thickbox bug: https://groups.google.com/group/jquery-plugins/browse_thread/thread/079abdf9b068ddce?pli=1
$fullURL = "#TB_inline?foo=bar&width=$videoWidth&height=".(5 + $videoHeight)."&inlineId=kpicasa_gallery_video_$i";
$markup = "class='thickbox' rel='kpicasa_gallery'";
}
elseif ( $this->config['picEngine'] == 'fancybox' )
{
$fullURL = "#kpicasa_gallery_video_$i";
$markup = "class='fancybox-kpicasa_gallery' rel='kpicasa_gallery' id='kpicasa_gallery_video_link_$i'";
}
}
elseif ( $this->config['picEngine'] == 'shadowbox' )
{
$markup = "rel='shadowbox[kpicasa_gallery];height=$videoHeight;width=$videoWidth'";
}
if ( strlen($summary) )
{
print "<a href='$fullURL' title='".str_replace("'", "'", $summary)."' $markup><img src='$thumbURL' height='$thumbH' width='$thumbW' alt='".str_replace("'", "'", $summary)."' class='kpg-thumb' /></a>";
print "<figcaption class='kpg-summary'>$summary</figcaption>";
}
else
{
print "<a href='$fullURL' $markup><img src='$thumbURL' height='$thumbH' width='$thumbW' alt='' class='kpg-thumb' /></a>";
}
}
else
{
$fullURL = (string) $photo->link[1]['href'];
if ( strlen($summary) )
{
print "<a href='$fullURL' title='".str_replace("'", "'", $summary)."' target='_blank'><img src='$thumbURL' height='$thumbH' width='$thumbW' alt='".str_replace("'", "'", $summary)."' class='kpg-thumb' /></a>";
print "<figcaption class='kpg-summary'>$summary</figcaption>";
}
else
{
print "<a href='$fullURL' target='_blank'><img src='$thumbURL' height='$thumbH' width='$thumbW' alt='' class='kpg-thumb' /></a>";
}
}
}
else
{
$fullURL = (string) $photo->media_group->media_thumbnail[1]['url'];
if ( $this->config['photoSize'] != null )
{
$fullURL = str_replace('/s144/', '/s'.$this->config['photoSize'].'/', $fullURL);
}
else
{
$fullURL = str_replace('/s144/', '/s800/', $fullURL);
}
if ( in_array($this->config['picEngine'], array('lightbox', 'slimbox2', 'thickbox', 'shadowbox', 'fancybox')) )
{
if ( $this->config['picEngine'] == 'lightbox' )
{
$markup = "rel='lightbox[kpicasa_gallery]'";
}
elseif ( $this->config['picEngine'] == 'slimbox2' )
{
$markup = "rel='lightbox-kpicasa_gallery'";
}
elseif ( $this->config['picEngine'] == 'thickbox' )
{
$markup = "class='thickbox' rel='kpicasa_gallery'";
}
elseif ( $this->config['picEngine'] == 'shadowbox' )
{
$markup = "rel='shadowbox[kpicasa_gallery]'";
}
elseif ( $this->config['picEngine'] == 'fancybox' )
{
$markup = "class='fancybox-kpicasa_gallery' rel='kpicasa_gallery'";
}
if ( strlen($summary) )
{
print "<a href='$fullURL' title='".str_replace("'", "'", $summary)."' $markup><img src='$thumbURL' height='$thumbH' width='$thumbW' alt='".str_replace("'", "'", $summary)."' class='kpg-thumb' />";
print "<figcaption class='kpg-summary'>$summary</figcaption></a></figure><figure>";
}
else
{
print "<a href='$fullURL' $markup><img src='$thumbURL' height='$thumbH' width='$thumbW' alt='' class='kpg-thumb' /></a>";
}
}
else
{
if ( strlen($summary) )
{
print "<a href='$fullURL' title='".str_replace("'", "'", $summary)."'><img src='$thumbURL' height='$thumbH' width='$thumbW' alt='".str_replace("'", "'", $summary)."' class='kpg-thumb' />";
print "<figcaption class='kpg-summary'>$summary</figcaption></a></figure><figure>";
}
else
{
print "<a href='$fullURL'><img src='$thumbURL' height='$thumbH' width='$thumbW' alt='' class='kpg-thumb' /></a>";
}
}
}
print '</td>';
}
// never leave the last row with insuficient cells
if ($this->config['photoPerRow'] > 0)
{
while ($j % $this->config['photoPerRow'] > 0)
{
print '<td> </td>';
$j++;
}
}
print '</div>';
print '</table>';
print '<br style="clear: both;" />';
//----------------------------------------
// Paginator
//----------------------------------------
$extraArgs = array('album' => $album);
if (isset($_GET['kpgp']) && intval($_GET['kpgp']) > 1)
{
$extraArgs['kpgp'] = intval($_GET['kpgp']);
}
$this->paginator( $page, 'kpap', $this->config['photoPerPage'], count($xml->entry), $extraArgs );
return true;
}
private function paginator ($page, $argName, $perPage, $nbItems, $extraArgs = array())
{
if ($perPage > 0)
{
$nbPage = ceil( $nbItems / $perPage );
if ($nbPage > 1)
{
$url = get_permalink();
foreach($extraArgs as $key => $value)
{
$url = add_query_arg($key, $value, $url);
}
print '<div id="kpg-paginator">'.__('Page', 'kpicasa_gallery').': ';
for($i = 1; $i <= $nbPage; $i++)
{
$pageURL = add_query_arg($argName, $i, $url);
if ($i == $page)
{
print " <span class='kpg-on'>$i</span>";
}
else
{
print " <a href='$pageURL'>$i</a>";
}
}
print '</div>';
}
}
}
private function checkError( $error )
{
if ( is_wp_error($error) )
{
//wp_die( $error, 'kPicasa Gallery Error' );
foreach( $error->get_error_messages() as $message )
{
print $message;
}
print '<br /><br />';
return true;
}
return false;
}
}
}
?>
]]>
Hi many thanks for this great plugin that work fine in my case on WordPress 3.4.2.
I’m just having an issue lately as it seems that I cannot display more than one gallery on the same page?
Here only the first tag will display the related gallery!
text text text …
KPICASA_GALLERY(username:text,text)
text text text text …
KPICASA_GALLERY(username:text,text)
]]>I configured the steps, tried both my login name (e-mail) and my username (lots of digits number), there is some code generated, like a table and stuff. So there is something happening. but not a single picture or album is shown.
]]>This plugin does not show the albums anymore if you click on de page it wil show the short cut.
]]>Hello,
I tried to hide scrapbook and profile photo but tick box in plug-in configuration (Show Google+ profile and scrapbook albums) doesn’t want to work. It doesn’t matter if it is on or off it’s shows both photos. Should I do something more or it is known issue?
regards,
]]>Hi,
I use Kpicasa gallery since more than a year and a few days ago, I got this error message:
Error: the communication with Picasa Web Albums didn’t go as expected. Here’s what Picasa Web Albums said:
Invalid user
The strange thing is that I haven’t change anything lately so I’m wondering if someone could help me to deal with that error?
Thakns ??
]]>I love the plugin. Because this one enables me to show private albums from multiple users. Thats what differentiates it from others. I use it for a family site where every member posts with its own google account.
My request is if you can create an option to hide the captions at the picture thumbnails in an album. I would like to show only captions in the lightbox. Thanks in advance.
]]>Hello,
kpicasa-gallery works perfectly fine in a single wordpress installation, but unfortunately it doesn’t work in a multiuser installation. More specifically, the settings link does NOT point to wp-admin/plugins.php?page=kpicasa-gallery/param.php but it points to wp-admin/var/path/to/wordpress/plugins/kpicasa-gallery/param.php which gives 500 as expected.
If I manually set KPICASA_GALLERY(username:$username) in the post, I can see my picasa albums fine, but I need to do more configuration though. If there is a way to specify more parameters inside the post I am fine with that as well (eg KPICASA_GALLERY(number_of_pictures_per_row:3). Feel free to ask for any additional information regarding my setup.
Thank you in advance
]]>