Upload applet (JUpload) : the easiest upload ! - Page 6 Upload applet (JUpload) : the easiest upload ! - Page 6
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Upload applet (JUpload) : the easiest upload !

Started by etienne_sf, April 28, 2007, 10:41:28 AM

Previous topic - Next topic

0 Members and 5 Guests are viewing this topic.

etienne_sf

Quote from: Sami on June 28, 2007, 03:35:26 PM
First of all thank you for such a good App

8)

Quote from: Sami on June 28, 2007, 03:35:26 PM
Etienne , it would be better to attach your new versions to initial post of this thread this way people find it better

Done !


Quote from: Sami on June 28, 2007, 03:35:26 PM
I'm ready to help you if you have any problem with CPg's plugin API

You actually already helped me, probably without knowing it !   
Frantz gave me a sample coming from you. You'll find your name in plugins/jupload/codebase.php !
;)


Regards
Etienne

etienne_sf

Quote from: MatthewSchenker on June 28, 2007, 06:27:32 PM
One quick question: do you know how to disable the old upload feature?

Excellent idea!

  I take it for the next version: replace the standard Upload by JUpload. This, of course, will be an option.

Etienne

MatthewSchenker

Etienne,
Thank you!  Yes, it would be great to have the option of replacing the old upload feature with the new one.  Once your plug-in is installed, I don't need the old one any more.

Thank you again!

Sami

Is there a way to eliminate all files from browse window and have only Jupload filter on the list , I want to force user to   only select pdf files
‍I don't answer to PM with support question
Please post your issue to related board

garbs

QuoteChange log:

[Comfort] The JUpload link in the top menu is now 'contextual': when you're browsing a category (for an admin only) or an album, a click on the JUpload link will put this category and/or album as the current one for upload. Thanks to garbs for this good idea!
[Config param] Add of linkTitle and linkComment configuration parameter. These parameters allows the admin to override the text that will be displayed on the JUpload link button (and on its mouseover comment).

Etienne

Those features are exactly what I wanted.  :)

Excellent Work!
Thank you, Thank you, Thank you!
-David Garbs-

The site I am working on has over 380 galleries and is growing. This is a wonderful [Comfort] feature.
If you are interested: Here is the site I am working on http://forum.solihullsociety.org/cphoto/

etienne_sf

Quote from: Sami on June 28, 2007, 06:54:25 PM
Is there a way to eliminate all files from browse window and have only Jupload filter on the list , I want to force user to   only select pdf files

Everything is possible !   ;)

I was thinking about it. I need to add a little update to the applet.

Added to my TODO list: it will come soon.

Etienne

etienne_sf

Quote from: garbs on June 30, 2007, 05:12:46 AM
The site I am working on has over 380 galleries and is growing. This is a wonderful [Comfort] feature.
If you are interested: Here is the site I am working on http://forum.solihullsociety.org/cphoto/

I took a look. I like the 'Utah Trails' main picture

  Could be nice to add more pictures in the 'Scenery and Nature Photographs' category. The main picture is nice   :)

Etienne

will

Quote from: garbs on June 30, 2007, 05:12:46 AM
Those features are exactly what I wanted.  :)

Excellent Work!
Thank you, Thank you, Thank you!
-David Garbs-

The site I am working on has over 380 galleries and is growing. This is a wonderful [Comfort] feature.
If you are interested: Here is the site I am working on http://forum.solihullsociety.org/cphoto/

How did you get the picture to show just below the album name? ;D

carltonb

Maybe I am missing how to do it but can I upload the pictures to a specific directory.

When I batch upload it asks me what folder the pictures are in and processes them in that directory.

I have my file structure set up as /cpg/albums/smith wedding

Using JUpload how would I direct the pictures that are on my local drive to that directory on my server.

Thanks
Carlton Brooks

etienne_sf

#109
Quote from: carltonb on July 05, 2007, 01:00:25 AM
Maybe I am missing how to do it but can I upload the pictures to a specific directory.

When I batch upload it asks me what folder the pictures are in and processes them in that directory.

I have my file structure set up as /cpg/albums/smith wedding

Using JUpload how would I direct the pictures that are on my local drive to that directory on my server.

You don't have to do this with JUpload: just select the album, and JUpload will store the files into the correct place. That is: into the directory for the selected album.

Simpler is better ...    ;)

Etienne

carltonb

I still do not understand
QuoteYou don't have to do this with JUpload: just select the album, and JUpload will store the files into the correct place. That is: into the directory for the selected album.

I have the files stored on my hard drive (offline).
I log into CPG as an admin.
I click JUpload
I enter the Category and then I create an album name.
I then go to the Applet and click browse, then find the files on my drive that I want.
Then I upload. All files are processed and look great.
I then go and check the file structure on the site.
It created the files in a directory ./cpg/albums/userpics/10062

What I want to do is create the files under a directory in albums called smith wedding.

This is where I am confused how do I do this?

Maybe I do not understand the functions of the applet and CPG

Thanks
Carlton Brooks

etienne_sf

Quote from: carltonb on July 05, 2007, 11:26:45 PM
I still do not understand
I have the files stored on my hard drive (offline).
I log into CPG as an admin.
I click JUpload
I enter the Category and then I create an album name.
I then go to the Applet and click browse, then find the files on my drive that I want.
Then I upload. All files are processed and look great.
I then go and check the file structure on the site.
It created the files in a directory ./cpg/albums/userpics/10062

What I want to do is create the files under a directory in albums called smith wedding.

This is where I am confused how do I do this?

Maybe I do not understand the functions of the applet and CPG

Thanks
Carlton Brooks


Hi,

  You don't have to care about folders, when using JUpload. Just forget about it.

FYI: you can drag'n drop files to the applet. It's easier than browsing to the files.

Question:
1) You created an album. Is the album name 'smith wedding' ?
2) After your upload: are the pictures visible on Coppermine, under this album ?

Etienne

etienne_sf


2.5.6 available here:
http://forum.coppermine-gallery.net/index.php?action=dlattach;topic=43432.0;attach=7735

And the full release notes and all version, on my wiki:
http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb

===== Version 2.5.6 =====

Changes:
  * [Minor] Put some Ajax in the upload_page, in admin mode: the page is no more reloaded when the admin selects another category. Then, the applet is not reloaded, and the selected pictures are not lost.
  * [Minor] When a file filter list is provided (see allowedFileExtensions), the user may not select other files. That is: he can not change the current filter by 'All files'.
  * [Minor] It's now possible to remove the standard upload link. See the new linkKeepStandardUpload config parameter.
  * [Minor] After upload: a message now explains to the user when uploaded picture properties (title, description...) have been saved.
  * [Minor] The JUpload link is now display after or in place of the standard upload button. No more problems when the FAQ link has been removed.


It seems that I didn't post a message for the 2.5.5 release. Here it is:

===== Version 2.5.5 =====

Changes:
  * [Comfort] The JUpload link in the top menu is now 'contextual': when you're browsing a category (for an admin only) or an album, a click on the JUpload link will put this category and/or album as the current one for upload. Thanks to garbs for this good idea!
  * [Config param] Add of linkTitle and linkComment configuration parameter. These parameters allows the admin to override the text that will be displayed on the JUpload link button (and on its mouseover comment).

etienne_sf


Hum: a last minute optimization just broke admin mode in IE. Here is the fix.


2.5.7 available here:
http://forum.coppermine-gallery.net/index.php?action=dlattach;topic=43432.0;attach=7741

And the full release notes and all version, on my wiki:
http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb


===== Version 2.5.7 =====

Fix:
  * [Major] Admin mode fixed with IE.

carltonb

QuoteQuestion:
1) You created an album. Is the album name 'smith wedding' ?
2) After your upload: are the pictures visible on Coppermine, under this album ?

Here is what I am doing with some jpg files attached
Picture of directory prior to using upload http://www.carltonbrooks.net/jupload/pic1.jpg

I go into jupload http://www.carltonbrooks.net/jupload/pic2.jpg and type in an album name http://www.carltonbrooks.net/jupload/pic3.jpg
I click create, it tells me the action was successful. I then go to Browse, select my files, click on the upload button.

It Loads the pictures, gives me an OK message. I then go to the edit screen and apply any changes and save. All is correct and works fine.

When I go back to my file structure it shows the following.http://www.carltonbrooks.net/jupload/pic4.jpg
Where did the sub directory 10062 of userpics come from.
Then if I create new albums and upload pictures to the new album it places all the pictures in the 10062 directory.
Maybe I am a neat freak. I thought that they would be placed in a subdirectory of albums.

Do not get me wrong I love the program and what it does by saving me time of uploading huge volumes of pictures.

Thanks for the help and understanding
Carlton Brooks


etienne_sf

Quote from: carltonb on July 08, 2007, 07:34:49 PM
Then if I create new albums and upload pictures to the new album it places all the pictures in the 10062 directory.

This is the standard way of pictures uploading with Coppermine. Try standard upload: it will do the same. Coppermine create a subdirectory per album, and stores the pictures in it. I'm not a specialist of the inner code of Coppermine. Now my understanding is that Coppermine creates a directory per user. The id for this directory is 10000+InternalId of the user. That is: the internal id for your test user is 62.

Now the place where files are is not really important, provided that everything works Ok ...

There is a point here, though: OS are not good when managing too many files in the same directory. So files must be stored in separate directories, so that finding a file is not too long. This will be not become a problem until some 30,000 pictures uploaded by standard upload or JUpload in a gallery. I'll add this to my TODO list.

Etienne

carltonb

Thanks for the great explanation that answers quite a few questions.

If I were to use the batch upload that comes with CPG it asks me what directory I want to use to get the files from, that is why I was looking for a directory name of my pictures.

If the files are placed in a directory of userpics/10062 can these then be moved or does that mess up the database.

Carlton Brooks

etienne_sf

Quote from: carltonb on July 09, 2007, 10:31:36 PM
If the files are placed in a directory of userpics/10062 can these then be moved or does that mess up the database.

It will mess up the database.

etienne_sf


Seems like there is a problem with 1.4.12 Coppermine release. Here is the fix:


2.5.8 available here:
http://forum.coppermine-gallery.net/index.php?action=dlattach;topic=43432.0;attach=7778

And the full release notes and all version, on my wiki:
http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb

===== Version 2.5.8 =====

Fix:
  * [Major] Fixed incompatibility with Coppermine 1.4.12 (the JUpload link was no more displayed).

will

I updated to 1.4.12 last nite and still using JUpload today with no problems ???