Author Topic: changin categories of pics from phpmyadmin  (Read 4360 times)

0 Members and 1 Guest are viewing this topic.

Offline arindra

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
changin categories of pics from phpmyadmin
« on: July 13, 2005, 02:01:59 AM »
hi
i have a big gallery with lots of pics in unsorted categories . Will it hurt if i change the pics cats from inside phpmyadmin ? or maybe using some mysql code ? instead of doing it one by one fromthe admin panel ? is it ok to do so ?

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: changin categories of pics from phpmyadmin
« Reply #1 on: July 13, 2005, 05:15:14 AM »
yes, it will hurt ;)

because if u change filename/category of an image only in the database and not move the file itself to the new category, then u'll end up with 404 image (error missing image) in the new category.

We have a mod for batch copy/move images from one category to enother.
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 arindra

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
Re: changin categories of pics from phpmyadmin
« Reply #2 on: July 14, 2005, 02:39:08 PM »
thanks . so it can be ok if i also manually move the pics from /data/media/x/ to /data/media/y ?

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: changin categories of pics from phpmyadmin
« Reply #3 on: July 14, 2005, 02:46:26 PM »
yes
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)