Announcement

#1 2013-03-24 01:16:37

lockheed
Member
2013-03-24
12

Problem with panoramas

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

 

#2 2013-03-24 07:45:13

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
6745

Re: Problem with panoramas

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';


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#3 2013-03-24 11:23:46

lockheed
Member
2013-03-24
12

Re: Problem with panoramas

Thank you. But which file exactly am I supposed to add this things to?

Offline

 

#4 2013-03-24 19:31:26

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
6745

Re: Problem with panoramas

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;
  }


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#5 2013-03-24 23:18:24

lockheed
Member
2013-03-24
12

Re: Problem with panoramas

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

 

#6 2013-03-25 06:47:32

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
6745

Re: Problem with panoramas

Hi :-)

You can change size large go to Administration -> configuration -> options -> tab 'photo sizes'

Clic on 'show details'  [top - right]


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#7 2013-03-25 06:49:49

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
6745

Re: Problem with panoramas

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]


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#8 2013-03-25 09:52:00

lockheed
Member
2013-03-24
12

Re: Problem with panoramas

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

 

#9 2014-06-13 22:27:35

lockheed
Member
2013-03-24
12

Re: Problem with panoramas

Still wonder.

Offline

 

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2019 · Contact