hunterchristy Posted August 17, 2009 Share Posted August 17, 2009 i'm using drupal views to create a grid view of photos (a gallery). the max number of columns is 4, the max rows is 2. so essentially, i have 8 photos total, 4 on each row. i've got it styled to fit the confined space in the div layer. but, for example, when there are less than 4 photos, the php only generates 1 row, with that number of columns. i'm thinking if i can set up a "if the number of rows is less than 2, still set up that second row" and "if the number of columns is less than 4, still set up those extra columns" argument, it will display as if place-holder images are there, right? any help would be greatly appreciated! Link to comment https://forums.phpfreaks.com/topic/170745-views-grid-gallery/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.