Upload directly into an album - Is it possible? Upload directly into an album - Is it possible?
 

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 directly into an album - Is it possible?

Started by AvrilBoi, September 28, 2006, 09:17:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

AvrilBoi

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

AvrilBoi

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 ?