We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Flexible tiles photo page | Forum

Simon S
Simon S Nov 3 '16
Hi all


I recently found this cool photo page  while checking out a plugin demo site: http://demo.oxpro.org/photo/viewlist/latest


The photo tiles on this page appear 'flexible', i.e. they take up different sizes in order to fully display each picture rather than just a a cropped part of it.


Where do I edit custom code to do this?


I was already unhappy with the small size of the picture tiles and therefore increased these the following way:


1. in ow_plugins\photo\views\components\index_photo_list.html

{style}{literal}

.ow_photo_item_widget {

    width: 200px;

height: 200px;

background-size: cover;

background-repeat: no-repeat;

and 2. oxwall\ow_system_plugins\base\views\controllers\user_standard_sign_in.html

.ow_lp_photos .ow_lp_wrapper{

width: 200px;

height: 200px;

padding: 0px;

margin: 0 2px 2px 0;

display: inline-block;

float: none;

text-align: left;

}


However I don't know how to enable the flexible sizing. Any ideas? Much appreciate your help.

Simon S
Simon S Nov 4 '16
figured it out. This one seems to work directly via the plugin settings.