Variable column width

Some themes have a floating main column, that adjusts itself to the width of the browser window, or the device where the page is viewed on.
In such WP installations you might wish that (Full Size) photos be automatically adapted to the working space in the main display column.

For this, there is the possibility to enter auto in the Photo Albums -> Settings admin page in the Column Width field.

Alternatively one could enter %%size=auto%% in the scripting interface.

To simulate the behaviour of this in the current theme I constructed this page, where you can select a column width.
Apart from some sneeky code to do this, is the contents of this page simply:

%%wppa%% %%slide=1%% %%size=auto%%
%%wppa%% %%cover=1%%
%%wppa%% %%album=1%%

Select columnwidth in pixels and watch what happens:

This is the description of the first album. It has a € sign in the description.
Average rating  1 2 3 4 5 1 2 3 4 5 My rating
HPIM0467
HPIM1531
HPIM1530
HPIM2380
HPIM1529
HPIM0467
HPIM1531
HPIM1530
HPIM2380
HPIM1529
HPIM0467
HPIM1531
HPIM1530

First album

This is the description of the first album. It has a € sign in the description.


This is the description of the first album. It has a € sign in the description.
HPIM1529.JPG (Opa Jaap)
Views: 12106 times
Rating: 2.83
Views: 12106
HPIM0467.jpg (Opa Jaap)
Views: 1482 times
Rating: 3.00
Views: 1482
HPIM1531.JPG (Opa Jaap)
Views: 3049 times
Rating: 3.00
Views: 3049
HPIM1530.JPG (Opa Jaap)
Views: 1249 times
Rating: 3.43
Views: 1249
HPIM2380.JPG (Opa Jaap)
Views: 1135 times
Rating: 4.33
Views: 1135

The scripting command %%size=auto%% is only given the at first %%wppa%% line. As in all size commands, the setting is kept until a different size command is encountered.

« Previous pageNext page »