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: [Closed]: Move pictures to another album and change album name  (Read 4898 times)

0 Members and 1 Guest are viewing this topic.

hl90

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 44
[Closed]: Move pictures to another album and change album name
« on: January 15, 2009, 10:18:50 pm »

Hi, how can i move picture(s) from an album to another album. And how can I change the album name?

For example:

photoshoots/2008/marc/001.jpg
move to:
photoshoots/2008/black/001.jpg

and
photoshoot/2008/marc
change to:
photoshoots/2008/black

I don't want to do this in coppermine it self but in PhpMyAdmin. I already searched for more info on this forum but I didn't really understand.
I know I have to run a query but I'm not sure where to do that. Can someone help me?
« Last Edit: January 17, 2009, 10:30:11 am by Phill Luckhurst »
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Logged
It is a mistake to think you can solve any major problems just with potatoes.

hl90

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 44
Re: Move pictures to another album and change album name
« Reply #2 on: January 16, 2009, 04:51:25 pm »

Where do I have to run the UPDATE cpg_pictures SET aid = <newaid> WHERE aid = <oldaid>?
Sorry I don't really get it.
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Move pictures to another album and change album name
« Reply #3 on: January 16, 2009, 07:26:24 pm »

You run it in something like phpmyadmin but your host may provide a dfferent tool for manipulating your database.

Here is a good tutorial.

http://community.mybboard.net/showthread.php?tid=4720

Make sure you backup your database before fiddling with it.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

hl90

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 44
Re: Move pictures to another album and change album name
« Reply #4 on: January 16, 2009, 10:43:04 pm »

Thanks for the tutorial but to be honest it didn't really help because it's for a forum and not for coppermine gallery.
Let's say if I want to change an album name, where should I click first at MyPhpAdmin at the left menu? cpg14x_albums
or cpg14x_pictures. For an example if I want to change the albumname "black" into "white" how should to fill in this at SQL:

UPDATE cpg_pictures SET aid = <newaid> WHERE aid = <oldaid>
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Move pictures to another album and change album name
« Reply #5 on: January 16, 2009, 10:53:14 pm »

That tutorial just shows how to use phpmyadmin. It doesn't matter what package you are editing, it just shows you how to enter a query.

We are not here to teach you how to use phpmyadmin. You need to learn that. It is very easy and the tables are quite self explanatory.

If you just need to rename an album or move a few files then I suggest you do that from within coppermine.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

hl90

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 44
Re: Move pictures to another album and change album name
« Reply #6 on: January 17, 2009, 12:23:04 am »

nevermind then....not very helpfull...
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: [Closed]: Move pictures to another album and change album name
« Reply #7 on: January 22, 2009, 08:46:47 am »

What a nice attitude... ::)
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.