News:

CRITICAL UPGRADE CPG RELEASE 1.6.30
Version 1.6.30 removes a serious security issue that could allow unauthorized access to modify your site. Upgrade as soon as possible.

Main Menu

simple request regrarding multiple uploads

Started by ganeshcp, November 20, 2005, 07:21:14 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ganeshcp

hi,

I have installed the mod that sorts the album list while doing a upload.
But when I do multiple upload I need to choose the category for every picture that has been uploaded. Can anyone write a mod that automatically chooses the category that was applied for the prev pic?

Thnks.


i tried this mod but it wudn't work
http://coppermine-gallery.com/forum/index.php?topic=9391.0

Nibbler

All you need is to find

$result = add_picture($album, $filepath, $picture_name, $title, $caption, $keywords, $user1, $user2, $user3, $user4, $category, $raw_ip, $hdr_ip, $movie_wd, $movie_ht);

in upload.php and add this afterwards:

$HTTP_GET_VARS['album'] = $album;

ganeshcp

works like a charm. life is so much simpler now  ;D

ganeshcp

 :\'(
unfortunately this doesn't work for 1.4.2...help anyone?

Nibbler