Announcement

#1 2012-07-31 23:38:57

geoffschultz
Member
Marlborough, MA, USA
2012-07-01
148

Replacement for mkget_thumbnail_dir

I'm trying to modify PY GVideo to get it to run on 2.4.  It calls mkget_thumbnail_dir, which was removed in 2.4.  What's the replacement?

-- Geoff

Offline

 

#2 2012-07-31 23:44:03

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

Re: Replacement for mkget_thumbnail_dir


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 2012-07-31 23:47:25

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: Replacement for mkget_thumbnail_dir

I'll update this plugin toworow ;-)

Offline

 

#4 2012-08-01 00:51:45

geoffschultz
Member
Marlborough, MA, USA
2012-07-01
148

Re: Replacement for mkget_thumbnail_dir

I had read it and it simply said "removed".

mistic100 wrote:

I'll update this plugin toworow ;-)

Thanks you, thank you, thank you!  Most of it runs, other than uploading a thumbnail.

-- Geoff

Last edited by geoffschultz (2012-08-01 00:54:08)

Offline

 

#5 2012-08-03 12:43:59

geoffschultz
Member
Marlborough, MA, USA
2012-07-01
148

Re: Replacement for mkget_thumbnail_dir

mistic100 wrote:

I'll update this plugin toworow ;-)

It's been a few days.  By any chance have you worked on this?  Adding my videos into my gallery is the last thing that I need to do.

-- Geoff

Last edited by geoffschultz (2012-08-03 12:44:53)

Offline

 

#6 2012-08-03 12:59:19

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: Replacement for mkget_thumbnail_dir

it's done, not published because the upgrade needs more tests
http://piwigo.org/svn/extensions/gvideo

if you want you can test it but NOT in your production gallery (or make sur to have a backup of the database and the 'upload' folder)

ps: as it's not published on PEM you won't be able to do an auto upgrade, so after replacing the plugin files, go to the plugin management page, unactivate "Embedded Videos " (the new name of the plugin) and then activate it again

Offline

 

#7 2012-08-05 18:56:30

geoffschultz
Member
Marlborough, MA, USA
2012-07-01
148

Re: Replacement for mkget_thumbnail_dir

mistic100 wrote:

it's done, not published because the upgrade needs more tests
http://piwigo.org/svn/extensions/gvideo

I go to this link and all that I find is basically the directory structure & files of the plugin.  Do I have to download the files 1 by 1 in order to test this?

-- Geoff

Offline

 

#8 2012-08-05 20:01:39

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: Replacement for mkget_thumbnail_dir

not pratical isn't it ? :D

anyway a made tests on the upgrade process yesterday and it's bugued, I'll update it tomorrow and give you a zip archive if you want

Offline

 

#9 2012-08-05 20:10:05

geoffschultz
Member
Marlborough, MA, USA
2012-07-01
148

Re: Replacement for mkget_thumbnail_dir

Sounds good (the zip file, that is).

-- Geoff

Offline

 

#10 2012-08-06 10:58:16

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: Replacement for mkget_thumbnail_dir

should work now
http://strangeplanet.fr/files/gvideo.zip

obviously the 2.3 gallery must be updated to 2.4 before updating the plugin

Offline

 

#11 2012-08-06 13:31:13

geoffschultz
Member
Marlborough, MA, USA
2012-07-01
148

Re: Replacement for mkget_thumbnail_dir

I've tested with about 6 videos from YouTube and it looks good.  There's only 2 things that I noted:

1) When you click "view" after loading the video, you get "Error loading page:  Permalink not found" or something like that.

2) Autoplay on YouTube doesn't seem to work.  Not a real issue.

Other than that it looks good!

-- Geoff

Offline

 

#12 2012-08-06 13:50:14

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: Replacement for mkget_thumbnail_dir

1) strange I generate url without permalinks and it must work (it works on my test gallery) for both albums with and without a permalink

can you do right click->copy link url on the "View" link ?

2) ok I'll check the YT api
edit: can't reproduce this

Offline

 

#13 2012-08-06 14:39:03

geoffschultz
Member
Marlborough, MA, USA
2012-07-01
148

Re: Replacement for mkget_thumbnail_dir

Here's the link that "View" is trying to open:

http://www.geoffschultz.org/Test/piwigo … ategory/1-

And here's the link that opens when I click on the thumbnail for the video:

http://www.geoffschultz.org/Test/piwigo … 4_cruising

Note that the autoplay issue was on my end.  I didn't have autoplay set to yet.  Strangely I found that I had to click the "yes" button on the settings tab many times to get it to switch.

-- Geoff

P.S.  You did a very nice job with the changes that you made to the plugin.

Offline

 

#14 2012-08-06 14:49:43

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: Replacement for mkget_thumbnail_dir

you use $conf['category_url_style'] = 'id-name'; right ?

Offline

 

#15 2012-08-06 15:08:04

geoffschultz
Member
Marlborough, MA, USA
2012-07-01
148

Re: Replacement for mkget_thumbnail_dir

I use:

$conf['category_url_style'] = 'id-name';
$conf['picture_url_style'] = 'file';

-- Geoff

Offline

 

Board footer

Powered by FluxBB

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