Announcement

  •  » Extensions
  •  » Upload file to album for videojs

#1 2013-01-08 20:36:22

smarmie
Member
2013-01-08
2

Upload file to album for videojs

Hi all,

I'm using latest Piwigo version (updated from the admin interface) and i would like to add some movies to some albums, and to embed them with videojs.
While this works OK for older albums, where the is a physical path galleries/Album, I don't know how to approach this with newer albums, created entirely using the "Add" from the Photos tab in the admin section. The pictures here are all in upload/year/month directories, and only logically linked to albums.

Could you help me out with some ideas?

Thanks.

Offline

 

#2 2013-01-08 21:21:54

pewe
Member
2012-03-16
439

Re: Upload file to album for videojs

Have you tried adding the movies to a folder (album) in Galleries using ftp (- adding the thumbnail also), then 'moving' them to one of the other galleries in the admin panel.
I seem to remember I did this once (I think)

Offline

 

#3 2013-01-09 07:19:42

smarmie
Member
2013-01-08
2

Re: Upload file to album for videojs

Hmmm... It works like that. Thanks for the workaround.

Offline

 

#4 2013-01-09 13:45:05

julien1311
Member
1970-01-01
18

Re: Upload file to album for videojs

Hi,
You can also use the plugin [extension by julien1311] File Uploader that makes the process of uploading easier.
Julien

Offline

 

#5 2013-01-09 18:10:07

pewe
Member
2012-03-16
439

Re: Upload file to album for videojs

julien1311 wrote:

Hi,
You can also use the plugin [extension by julien1311] File Uploader that makes the process of uploading easier.
Julien

I have 2 problems with this plugin.

The first -
When I upload a file (eg a pdf) with thumbnail the upload page refreshes with this error:
--------------------

Warning:  [mysql error 1062] Duplicate entry '6-4' for key 'PRIMARY'

INSERT  INTO piwigo_image_category
  (image_id,category_id,rank)
  VALUES('6','4','1')
  , ('6','4','2') in /home2/webi8726/public_html/domain.com/photos/include/dblayer/functions_mysql.inc.php on line 770


Warning: Cannot modify header information - headers already sent by (output started at /home2/webi8726/public_html/domain.com/photos/include/dblayer/functions_mysql.inc.php:769) in /home2
/webi8726/public_html/remotetutorials.com/photos/include/page_header.php on line 105
-------------------------
HOWEVER - the file is uploaded, recorded in the database and stored in the 'galleries' directory.

The second -
Although the thumbnail is stored correctly it does not display in the 'catalogue'.

Offline

 

#6 2013-01-10 11:09:14

julien1311
Member
1970-01-01
18

Re: Upload file to album for videojs

pewe wrote:

julien1311 wrote:

Hi,
You can also use the plugin [extension by julien1311] File Uploader that makes the process of uploading easier.
Julien

I have 2 problems with this plugin.

The first -
When I upload a file (eg a pdf) with thumbnail the upload page refreshes with this error:
--------------------

Warning:  [mysql error 1062] Duplicate entry '6-4' for key 'PRIMARY'

INSERT  INTO piwigo_image_category
  (image_id,category_id,rank)
  VALUES('6','4','1')
  , ('6','4','2') in /home2/webi8726/public_html/domain.com/photos/include/dblayer/functions_mysql.inc.php on line 770


Warning: Cannot modify header information - headers already sent by (output started at /home2/webi8726/public_html/domain.com/photos/include/dblayer/functions_mysql.inc.php:769) in /home2
/webi8726/public_html/remotetutorials.com/photos/include/page_header.php on line 105
-------------------------
HOWEVER - the file is uploaded, recorded in the database and stored in the 'galleries' directory.

The second -
Although the thumbnail is stored correctly it does not display in the 'catalogue'.

Thank you for reporting the bugs.
I'll fix it in the next release.
Julien

Offline

 

#7 2013-01-10 12:54:01

pewe
Member
2012-03-16
439

Re: Upload file to album for videojs

julien1311 wrote:

pewe wrote:

The second -
Although the thumbnail is stored correctly it does not display in the 'catalogue'.

Thank you for reporting the bugs.
I'll fix it in the next release.
Julien

Not sure what happened, but suddenly the thumbnail is now showing correctly!!

Offline

 
  •  » Extensions
  •  » Upload file to album for videojs

Board footer

Powered by FluxBB

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