Dakis
Well-known member
I have done an import from sonnb's gallery to XFMG, and it's gone quite smoothly
I have a few issues I need to take care of, and I could use some help.
The first one is that in the previous gallery systems I used it was more usual for the members to leave each photo's title empty and put something in the description field. This had now a result of thousands of photos having a title of "imported item" and their actual title sitting in the description field.
Is there an SQL query I could run for all photos that have this title, to move whatever lies in the description field and replace the title? Or isn't that the way to do it?
Could it be something as simple as this for example:
?
I have a few issues I need to take care of, and I could use some help.
The first one is that in the previous gallery systems I used it was more usual for the members to leave each photo's title empty and put something in the description field. This had now a result of thousands of photos having a title of "imported item" and their actual title sitting in the description field.
Is there an SQL query I could run for all photos that have this title, to move whatever lies in the description field and replace the title? Or isn't that the way to do it?
Could it be something as simple as this for example:
UPDATE xengallery_media
SET media_title = media_description
WHERE media_title = 'Imported Item'
?
Last edited: