Author Topic: how do i move a group of pictures?  (Read 8761 times)

0 Members and 1 Guest are viewing this topic.

Offline Ersen

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
how do i move a group of pictures?
« on: September 18, 2012, 06:35:22 PM »
i want to move 300 pictures which is belongs to category id to 14 from 98. It is too hard to edit by hand one by one.

which source do i write to the sql area in phpmyadmin?

Offline Ersen

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
Re: how do i move a group of pictures?
« Reply #1 on: September 19, 2012, 11:44:19 PM »
I found it.

UPDATE 4images_images SET cat_id= 98 WHERE cat_id= 14;

i am so happy :)
« Last Edit: September 20, 2012, 12:28:00 AM by Ersen »

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: how do i move a group of pictures?
« Reply #2 on: September 20, 2012, 04:35:08 AM »
Don't forget move image files to media/98 folder...
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Ersen

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
Re: how do i move a group of pictures?
« Reply #3 on: September 21, 2012, 03:40:49 PM »
Yes i moved images in data/media/14 to 98 and data/thumbnails/14 to 98 folder. And i deleted images in data and thumbnail 14 folders. Because when i clicked check new images, admin panel showed these images again.