I am using Panoramas extension and even though I set Viewport width to 100%, it is still taking only half of the width of my screen.
I tried changing "Viewport minimal width" but it did not help, either. It is like the panorama viewport is being limited by something.
At the same time, the non-panoramic photos take exactly as much width as they should.
Here's an example:
Normal picture: http://panzorjackhammer.com/foto/pictur … category/4 (change to XL)
Panorama: http://panzorjackhammer.com/foto/pictur … category/4
Also, I want to change the default picture size to XL instead of M. But I can't find that setting anywhere.
Offline
Hi:-)
for center panorama you can add on local file css
#Panorama
{
margin: 0 auto;
}
fo change default size you can use local file config
// 'small', 'medium' or 'large'
$conf['derivative_default_size'] = 'medium';
Offline
Thank you. But which file exactly am I supposed to add this things to?
Offline
Hi :-)
1/ Go to Administration -> plugins -> manage
activate [extension by Piwigo Team] LocalFiles Editor
2/ Go to Administration -> plugins -> localfile editor -> tab local
paste
<?php
$conf['derivative_default_size'] = 'large';
?>
3/ Go to Administration -> plugins -> localfile editor -> tab css
paste
#Panorama
{
margin: 0 auto;
}
Offline
Thank you again. However:
ddtddt wrote:
1/ Go to Administration -> plugins -> manage
activate [extension by Piwigo Team] LocalFiles Editor
2/ Go to Administration -> plugins -> localfile editor -> tab local
paste<?php
$conf['derivative_default_size'] = 'large';
?>
That worked, but I'd like to make it 'extra large'. And if I type that, the picture page doesn't load at all, but displays php error.
ddtddt wrote:
3/ Go to Administration -> plugins -> localfile editor -> tab css
paste#Panorama
{
margin: 0 auto;
}
Now panorama viewport is centered, but it still has the same limited width as before.
Offline
Hi :-)
You can change size large go to Administration -> configuration -> options -> tab 'photo sizes'
Clic on 'show details' [top - right]
Offline
lockheed wrote:
ddtddt wrote:
3/ Go to Administration -> plugins -> localfile editor -> tab css
paste#Panorama
{
margin: 0 auto;
}Now panorama viewport is centered, but it still has the same limited width as before.
Yes I know but for now I don't found other solution
[Also think of those who have smaller screen than yours]
Offline
ddtddt wrote:
lockheed wrote:
Now panorama viewport is centered, but it still has the same limited width as before.
Yes I know but for now I don't found other solution
I appreciate your help, but I'm not exactly sure what you call a solution. The problem was viewport was too narrow, and it still is as narrow as it was before. Only now it's centred.
What does it depend on? A theme, a plugin or some inner piwigo codding?
Offline