Forcing the upload page to use a specific album Forcing the upload page to use a specific album
 

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

Forcing the upload page to use a specific album

Started by louiscox, October 15, 2014, 03:26:10 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

louiscox

Hi,

I have created an HTML5 site that uses canvas, and I have installed Coppermine as an image upload repository on the same domain as the HTML5 canvas.

I want to have a completely faceless upload page - ideally I would have no method ( selected = single, not Flash ) and no album choice ( selected = album of my choosing ). I don't want an anonymous user to have access to anything other than a simple file upload - no login, no home etc.

I can see the form items are created inside function create_form_simple(&$data), and that form_alb_list_box($element[0], $element[1]); is forming the album list for example.

I cannot seem to eliminate the album selection criteria - I want a particular album to be forced as the selection, in other words not a selection box at all - all the user can do is select a file to upload...

Can anyone help me with this?

many thanks

ron4mac

#1
Let's see if I have this straight ... are you looking to use Coppermine only as a method to upload images and not as an image gallery? If that is the case, there are plenty of standalone upload methods out there that would serve you better. (http://www.plupload.com being just one)  And in the scenario you've described (single upload, single destination), a single PHP file could do it all for you.

Αndré


louiscox

Quote from: ron4mac on October 15, 2014, 03:55:16 PM
Let's see if I have this straight ... are you looking to use Coppermine only as a method to upload images and not as an image gallery? If that is the case, there are plenty of standalone upload methods out there that would serve you better. (http://www.plupload.com being just one)  And in the scenario you've described (single upload, single destination), a single PHP file could do it all for you.

Thanks for the reply, but ah the frustration - I needed this a while ago. It seems to fulfil the role of exactly what I needed, rather than a full install of coppermine. Sigh.

A friend sent me a similar link because I was thinking of using WordPress and he described https://prismic.io/. A brilliant solution that allows full control and content authorship - everything that WordPress offers without the hassle of large organisation and low security. But the downside as always is the learning curve in actually installing and using. Its hard work - if your not a natural programmer like me.

I must admit this looks a lot more handleable though. Many thanks.


louiscox


louiscox

Quote from: louiscox on October 16, 2014, 11:55:08 AM
Thanks for the reply, but ah the frustration - I needed this a while ago. It seems to fulfil the role of exactly what I needed, rather than a full install of coppermine. Sigh.

A friend sent me a similar link because I was thinking of using WordPress and he described https://prismic.io/. A brilliant solution that allows full control and content authorship - everything that WordPress offers without the hassle of large organisation and low security. But the downside as always is the learning curve in actually installing and using. Its hard work - if your not a natural programmer like me.

I must admit this looks a lot more handleable though. Many thanks.

Further to this - I did try and use plupload and found Im getting no joy from it at all. I don't seem to get an error or be able to fix it - have posted on the plupload forum but these things are never a quick fix, and I know inevitably despite its large size CM is going to be a better solution for now.

louiscox

Quote from: louiscox on October 16, 2014, 11:56:06 AM
Thanks - thats a pretty neat solution...

Further to this - I tried it and it has no effect. I was pretty hopeful it would do as needed.

Αndré

Please post a link to your gallery and a test user account with upload privileges, if needed.

ron4mac

Perhaps if you could post a more precise and complete description of what your needs are, we could advise you about whether CPG can be coerced into serving your needs.
Do you wants users to have accounts/logins? Do you want there to be only anonymous access with file upload capabilities?

If my suspicions are correct about what I think you're looking for, I'm not sure that CPG will be a good fit for you unless it is heavily modified for your particular use case.

Here is another standalone file manager that I have used with some success for particular situations:
http://www.responsivefilemanager.com