Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: 1 2 3 4 5 [6] 7 8 9 10 ... 33   Go Down

Author Topic: Upload applet (JUpload) : the easiest upload !  (Read 615194 times)

0 Members and 1 Guest are viewing this topic.

etienne_sf

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: Upload applet (JUpload)
« Reply #100 on: June 28, 2007, 06:28:23 pm »

First of all thank you for such a good App

 8)

Etienne , it would be better to attach your new versions to initial post of this thread this way people find it better

Done !


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
Logged

etienne_sf

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: Upload applet (JUpload)
« Reply #101 on: June 28, 2007, 06:31:54 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
Logged

MatthewSchenker

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 38
Re: Upload applet (JUpload)
« Reply #102 on: June 28, 2007, 06:34:09 pm »

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!
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Upload applet (JUpload)
« Reply #103 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
Logged
‍I don't answer to PM with support question
Please post your issue to related board

garbs

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Upload applet (JUpload)
« Reply #104 on: June 30, 2007, 05:12:46 am »

Quote
Change 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/
Logged

etienne_sf

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: Upload applet (JUpload)
« Reply #105 on: June 30, 2007, 11:44:41 am »

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
Logged

etienne_sf

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: Upload applet (JUpload)
« Reply #106 on: June 30, 2007, 11:51:44 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
Logged

will

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 263
Re: Upload applet (JUpload)
« Reply #107 on: July 04, 2007, 07:50:59 pm »

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
Logged

carltonb

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
? Load to Specific Directory
« Reply #108 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.

Thanks
Carlton Brooks
Logged

etienne_sf

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: ? Load to Specific Directory
« Reply #109 on: July 05, 2007, 12:07:04 pm »

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
« Last Edit: July 05, 2007, 12:16:58 pm by etienne_sf »
Logged

carltonb

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Upload applet (JUpload)
« Reply #110 on: July 05, 2007, 11:26:45 pm »

I still do not understand
Quote
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.

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
Logged

etienne_sf

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: Upload applet (JUpload)
« Reply #111 on: July 06, 2007, 09:59:15 am »

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
Logged

etienne_sf

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
JUpload released 2.5.6 (and 2.5.5 ?)
« Reply #112 on: July 06, 2007, 06:55:03 pm »


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).
Logged

etienne_sf

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: JUpload released 2.5.6 (and 2.5.5 ?)
« Reply #113 on: July 07, 2007, 11:25:48 am »


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.
Logged

carltonb

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Followup
« Reply #114 on: July 08, 2007, 07:34:49 pm »

Quote
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 ?

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

Logged

etienne_sf

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: Followup
« Reply #115 on: July 09, 2007, 10:37:44 am »

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
Logged

carltonb

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Upload applet (JUpload)
« Reply #116 on: July 09, 2007, 10:31:36 pm »

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
Logged

etienne_sf

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: Upload applet (JUpload)
« Reply #117 on: July 10, 2007, 10:17:03 am »

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.
Logged

etienne_sf

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: Upload applet (JUpload)
« Reply #118 on: July 10, 2007, 10:22:20 am »


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).
Logged

will

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 263
Re: Upload applet (JUpload)
« Reply #119 on: July 10, 2007, 08:44:29 pm »

I updated to 1.4.12 last nite and still using JUpload today with no problems ???
Logged
Pages: 1 2 3 4 5 [6] 7 8 9 10 ... 33   Go Up
 

Page created in 0.027 seconds with 20 queries.