How do you code auto keywords based on the album you are uploading to instead of having to enter them?
In the upload.php, could you not change the following:
Quote// Create thumbnail and intermediate image and add the image into the DB
$result = add_picture($album, $filepath, $picture_name, 0,$title, $caption, $keywords, $user1, $user2, $user3, $user4, $category, $raw_ip, $hdr_ip, $movie_wd, $movie_ht);
to:
Quote// Create thumbnail and intermediate image and add the image into the DB
$result = add_picture($album, $filepath, $picture_name, 0,$title, $caption, $album, $user1, $user2, $user3, $user4, $category, $raw_ip, $hdr_ip, $movie_wd, $movie_ht);
Which will in turn put the album name automatically into the keyword variable within the database?
I am getting a point here with this. I replied to a previous thread but forgot where it was about having multiple albums for a single image. The only way I see how to do this is use the keyword variable for the album name.. .. In default, the default keyword will be the current album you are uploading to.. then you can add additional 'keywords' based only on the current albums you have to join them together. What do you think?
Well, I give up - What is the variable name in upload.php that passes on the album title? I used $alb_cat, but it passes on member name and title of Album, which is almost correct..
How do you change this to capture the keyword as album name?
array($lang_upload_php['keywords'], 'keywords', 0, 255, 1),
or is it this entry?
$keywords = addslashes($_POST['keywords']);
Anyone have an idea?
Not alot of readers. Anyone have any suggestions?
Usually, if nobody answers, nobody knows the answer. Or nobody wants to answer. No use bumping frequently.