Plugin Directory

Changeset 163414


Ignore:
Timestamp:
10/14/2009 05:41:35 PM (16 years ago)
Author:
mindvex
Message:

FIX: CSS-Bug when quickPaging was enabled that caused the layout look ugly when the images were not already loaded
CHG: more detailed error messages when CURL fails to receive data from picsasaweb

Location:
picasaview/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • picasaview/trunk/picasaview.js

    r162251 r163414  
    4343            s.down('a').observe('click', this.previousPage.bind(this));
    4444        }.bind(this));
    45        
    46         this.adjustBlockHeight();
    4745    },
    4846
    4947    nextPage: function(e) {
    5048        e.stop();
     49
     50        this.adjustBlockHeight();
    5151
    5252        $('picasaViewBlock-' + this.id + '-' + this.startIndex).fade({duration: 0.3, queue: { position: 'end', scope: 'picasaview' }});
  • picasaview/trunk/picasaview.php

    r162251 r163414  
    55Plugin URI: http://www.sattes-faction.de/picasaview
    66Description: Allows you to implement all albums or a specific one from picasaWeb
    7 Version: 1.0
     7Version: 1.0.1
    88License: GPL
    99Author: Simon Sattes
     
    4747        'quickPaging'       => false,
    4848        'rssLookupType'     => 'file_get_contents',
    49         'version'           => '1.0',
     49        'version'           => '1.0.1',
    5050        'instantView'       => false
    5151    );
     
    483483        curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
    484484        $feed = curl_exec($ch);
     485        if(!$feed) { // oops, an error occured
     486            $error = "CURL was not able to do a successful request.";
     487            $feed = curl_error($ch);
     488        }
    485489        curl_close($ch);
    486490    } elseif(ini_get('allow_url_fopen') && $tagOptions['rssLookupType'] == 'file_get_contents') {
  • picasaview/trunk/templates/picasaview_styles.css

    r162251 r163414  
    3232    border-collapse:collapse;
    3333    border-spacing:0px;
     34    clear:both;
    3435}
    3536
Note: See TracChangeset for help on using the changeset viewer.