Version Description
= 7.6.07 =
- This version addresses various minor bug fixes and feature requests.
Download this release
Release Info
Developer | opajaap |
Plugin | WP Photo Album Plus |
Version | 7.6.07.003 |
Comparing to | |
See all releases |
Code changes from version 7.6.07.002 to 7.6.07.003
- changelog.txt +1 -0
- theme/wppa-theme.php +3 -0
- wppa-thumbnails.php +1 -1
- wppa.php +2 -2
changelog.txt
CHANGED
@@ -6,6 +6,7 @@ WP Photo Album Plus Changelog
|
|
6 |
This reduces the number of db queries in certain circumstances e.g. when the coverimage selection method is set to random or most recent from subalbums.
|
7 |
* The new photo description as defined in Table IX-D5 is now applied to all media types, if not overruled by the user and required by Table IX-D3.
|
8 |
* Fixed a layout issue in masonry thumbnails while using Tabby.
|
|
|
9 |
|
10 |
= 7.6.06 =
|
11 |
|
6 |
This reduces the number of db queries in certain circumstances e.g. when the coverimage selection method is set to random or most recent from subalbums.
|
7 |
* The new photo description as defined in Table IX-D5 is now applied to all media types, if not overruled by the user and required by Table IX-D3.
|
8 |
* Fixed a layout issue in masonry thumbnails while using Tabby.
|
9 |
+
* The number of colums on mobile devices when thumbnail type is Masonry Columns is now half the number on pc.
|
10 |
|
11 |
= 7.6.06 =
|
12 |
|
theme/wppa-theme.php
CHANGED
@@ -156,6 +156,9 @@ global $wppa_show_statistics; // Can be set to true by a custom page templa
|
|
156 |
$relpage = wppa_switch( 'thumbs_first' ) ? $curpage : $curpage - $n_album_pages;
|
157 |
$cont_width = wppa_get_container_width();
|
158 |
$count_cols = ceil( $cont_width / ( wppa_opt( $is_alt_thumbsize ? 'thumbsize_alt' : 'thumbsize' ) + wppa_opt( 'tn_margin' ) ) );
|
|
|
|
|
|
|
159 |
$correction = wppa_opt( 'tn_margin' ) * ( $cont_width / $count_cols ) / 100;
|
160 |
|
161 |
// Init the table
|
156 |
$relpage = wppa_switch( 'thumbs_first' ) ? $curpage : $curpage - $n_album_pages;
|
157 |
$cont_width = wppa_get_container_width();
|
158 |
$count_cols = ceil( $cont_width / ( wppa_opt( $is_alt_thumbsize ? 'thumbsize_alt' : 'thumbsize' ) + wppa_opt( 'tn_margin' ) ) );
|
159 |
+
if ( wppa_is_mobile() ) {
|
160 |
+
$count_cols = ceil( $count_cols / 2 );
|
161 |
+
}
|
162 |
$correction = wppa_opt( 'tn_margin' ) * ( $cont_width / $count_cols ) / 100;
|
163 |
|
164 |
// Init the table
|
wppa-thumbnails.php
CHANGED
@@ -1195,7 +1195,7 @@ global $wpdb;
|
|
1195 |
|
1196 |
$imgurl = wppa_get_thumb_url( $id, true, '', $popwidth, $popheight );
|
1197 |
$events = wppa_get_imgevents( 'thumb', $id );
|
1198 |
-
$imgalt = $plus ? '' : ' alt="
|
1199 |
$title = esc_attr( wppa_get_masonry_title( $id ) ); // esc_attr( wppa_get_photo_name( $id ) );
|
1200 |
|
1201 |
// Feed ?
|
1195 |
|
1196 |
$imgurl = wppa_get_thumb_url( $id, true, '', $popwidth, $popheight );
|
1197 |
$events = wppa_get_imgevents( 'thumb', $id );
|
1198 |
+
$imgalt = $plus ? '' : ' alt="'.$id.'"'; // wppa_get_imgalt( $id ); // returns something like ' alt="Any text" '
|
1199 |
$title = esc_attr( wppa_get_masonry_title( $id ) ); // esc_attr( wppa_get_photo_name( $id ) );
|
1200 |
|
1201 |
// Feed ?
|
wppa.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
* Plugin Name: WP Photo Album Plus
|
4 |
* Description: Easily manage and display your photo albums and slideshows within your WordPress site.
|
5 |
-
* Version: 7.6.07.
|
6 |
* Author: J.N. Breetvelt a.k.a. OpaJaap
|
7 |
* Author URI: http://wppa.opajaap.nl/
|
8 |
* Plugin URI: http://wordpress.org/extend/plugins/wp-photo-album-plus/
|
@@ -24,7 +24,7 @@ global $wp_version;
|
|
24 |
|
25 |
/* WPPA GLOBALS */
|
26 |
global $wppa_revno; $wppa_revno = '7607'; // WPPA db version
|
27 |
-
global $wppa_api_version; $wppa_api_version = '7.6.07.
|
28 |
|
29 |
/* Init page js data */
|
30 |
global $wppa_js_page_data; $wppa_js_page_data = '';
|
2 |
/*
|
3 |
* Plugin Name: WP Photo Album Plus
|
4 |
* Description: Easily manage and display your photo albums and slideshows within your WordPress site.
|
5 |
+
* Version: 7.6.07.003
|
6 |
* Author: J.N. Breetvelt a.k.a. OpaJaap
|
7 |
* Author URI: http://wppa.opajaap.nl/
|
8 |
* Plugin URI: http://wordpress.org/extend/plugins/wp-photo-album-plus/
|
24 |
|
25 |
/* WPPA GLOBALS */
|
26 |
global $wppa_revno; $wppa_revno = '7607'; // WPPA db version
|
27 |
+
global $wppa_api_version; $wppa_api_version = '7.6.07.003'; // WPPA software version
|
28 |
|
29 |
/* Init page js data */
|
30 |
global $wppa_js_page_data; $wppa_js_page_data = '';
|