Changeset 1029855
- Timestamp:
- 11/21/2014 04:24:07 AM (11 years ago)
- Location:
- image-wall/trunk
- Files:
-
- 2 edited
-
image-wall.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
image-wall/trunk/image-wall.php
r1022691 r1029855 4 4 Plugin URI: http://www.themodernnomad.com/image-wall-plugin/#utm_campaign=Image_Wall&utm_source=wordpress&utm_medium=website&utm_content=plugin_link 5 5 Description: Browse posts/pages by their images, displayed randomly on an infinitely scrollable page. The images link back to the posts where they are attached. 6 Version: 2.1 66 Version: 2.17 7 7 Author: Gustav Andersson, Marco Catellani 8 8 Author URI: http://www.themodernnomad.com/about/#utm_campaign=Image_Wall&utm_source=wordpress&utm_medium=website&utm_content=author_link … … 710 710 } 711 711 712 $max_number_of_columns = intval(( $width ) / $column_width); 712 $max_number_of_columns = min(10, intval(($width + $gutter_pixels) / $column_width)); 713 714 if($max_number_of_columns < 1) { 715 // This image is not wide enough to fill even a single column. Skip it. 716 continue; 717 } 713 718 714 719 if($use_column_proportion_restrictions && $height != 'unknown'){ -
image-wall/trunk/readme.txt
r1022691 r1029855 3 3 Tags: gallery, galleries, images, ajax, image, media, photo, photos, shortcode, 4 4 Requires at least: 3.5 5 Tested up to: 4.0 5 Tested up to: 4.0.1 6 6 Stable tag: trunk 7 7 Donate link: http://www.themodernnomad.com/#utm_campaign=Image_Wall&utm_source=wordpress&utm_medium=website&utm_content=donation … … 115 115 116 116 Thanks to Marco Catellani for the code for link_to_image, only_this_page and only_pages_number. 117 118 = 2.17 = 119 * Fixed a bug where images that were just big enough to span a number of columns would not be deemed big enough and a smaller number of columns used. 120 * Fixed a bug where it was possible for an image to span zero number of columns, breaking the stylesheet. Thanks to David Rector for alerting me to this problem.
Note: See TracChangeset
for help on using the changeset viewer.