Announcement

  •  » Extensions
  •  » GThumb+ and gdThumb incorrect work with VideoJS

#1 2014-10-13 10:48:34

JanisV
Member
2013-09-25
85

GThumb+ and gdThumb incorrect work with VideoJS

Hello,

With this plugins I can't see a video representative image in album page. Got error: "GET http://.../piwigo/action.php?id=109&part=r 400 (Bad request) ".

Piwigo version: 2.7

Offline

 

#2 2014-10-13 10:52:45

JanisV
Member
2013-09-25
85

Offline

 

#3 2014-10-13 11:45:00

flop25
Piwigo Team
2006-07-06
7037

Re: GThumb+ and gdThumb incorrect work with VideoJS

Hi
did you set the protection of original pictrues?


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#4 2014-10-13 11:53:31

JanisV
Member
2013-09-25
85

Re: GThumb+ and gdThumb incorrect work with VideoJS

Yes:

Code:

$conf['original_url_protection'] = 'all';
$conf['derivative_url_style']=2;

Offline

 

#5 2014-10-13 11:56:43

flop25
Piwigo Team
2006-07-06
7037

Re: GThumb+ and gdThumb incorrect work with VideoJS

disable the all, to try plz


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#6 2014-10-13 11:57:27

flop25
Piwigo Team
2006-07-06
7037

Re: GThumb+ and gdThumb incorrect work with VideoJS

flop25 wrote:

disable the all, to try plz

and without those plugins +
$conf['original_url_protection'] = 'all';
$conf['derivative_url_style']=2;
+ a strandard theme ?


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#7 2014-10-13 13:09:21

JanisV
Member
2013-09-25
85

Re: GThumb+ and gdThumb incorrect work with VideoJS

flop25 wrote:

flop25 wrote:

disable the all, to try plz

and without those plugins +
$conf['original_url_protection'] = 'all';
$conf['derivative_url_style']=2;
+ a strandard theme ?

Work fine if I set
$conf['original_url_protection'] = '';
or disable GThumb+/gdThumb

Problem only when video is a first item in album - fail while updating it with double sized first item.

Problem in JS code - it can't work with derivative->get_url() or similar methods. In GThumb it can be fixed with replace $GThumb_big->get_url() to str_replace('&', '&',  $GThumb_big->get_url())

Offline

 

#8 2014-10-14 03:36:18

Serge D
Member
US
2014-07-15
383

Re: GThumb+ and gdThumb incorrect work with VideoJS

How this can be reproduced?
I tried to enable settings above, yet, all my links to images looks fine.
Please note that page which generates the img.src for thumbs is referencing derived info - ex: i?/galleries/caribbean/samana/2009-03-23-018-cu_s9999x404.JPG - so it should not be affected by the url protection logic.
The only suspicion I have is that video urls are generated differently than normal images, then it is issue with the core and not the plugin

Offline

 

#9 2015-02-17 13:50:47

Sven
Member
2011-10-28
5

Re: GThumb+ and gdThumb incorrect work with VideoJS

Hi,

I'm using GDThumb 1.0.15 & GreyDragon 1.1.21 and have activated the URL protection. Since I did this, the first double size thumb is not shown anymore - but only when it is a video thumb.

If I do not use the double size option, everything works fine or otherwise if I do not use the URL protection also the video thumbs are shown in double size.

Do you have any suggestions how to get it work?

Thanks!

Last edited by Sven (2015-02-17 14:13:51)

Offline

 
  •  » Extensions
  •  » GThumb+ and gdThumb incorrect work with VideoJS

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact