Advanced search  

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

Pages: [1]   Go Down

Author Topic: Upload directly into an album - Is it possible?  (Read 2103 times)

0 Members and 1 Guest are viewing this topic.

AvrilBoi

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 61
Upload directly into an album - Is it possible?
« on: September 28, 2006, 09:17:12 pm »

I was asking myself if this is somehow possible...

the thumbnails pages are
thumbnails.php?album=XX
If you are in theese thumbnails pages you find the "Upload" link on the top, which links to upload.php
If you upload something, you'll have to select one album between all the albums you have in your gallery, and if there are many albums it is a little confusing...
so it could be better to have upload.php?album=XX on top of the thumbnails' pages insted of upload.php, and the pictures you upload go directly in the XX album...
I hope you understand what I mean...
I've searched for this in the forum, but I didn't find anything, has it been already asked? Is it difficult to do?
Thanks
Logged

AvrilBoi

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 61
Re: Upload directly into an album - Is it possible?
« Reply #1 on: September 28, 2006, 10:11:10 pm »

I managed to do something
the album ID is stored in $album.
The album listing code in upload.php is this:
echo '                <option value="' . $val['aid'] . '"' . ($val['aid'] == $sel_album ? ' selected' : '') . '>   ' . $val['title'] . "</option>\n";
How can I modify it to make it show only the album which has $album as ID ?
Logged
Pages: [1]   Go Up
 

Page created in 0.03 seconds with 20 queries.