Search…

X3 Photo Gallery Support Forums

Search…
 
marco963
Experienced
Topic Author
Posts: 89
Joined: 14 Oct 2006, 10:22

Moving folders

13 Jun 2011, 11:00

Hi Karl/Nick.

Can I move an entire folder with the admin interface to another position of the folder hierarchy ?

Regards,
Marco
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

Re: Moving folders

14 Jun 2011, 06:35

Sorry, no, there are some technical reasons why we didn't implement it. Since Imagevue is file-based everything gets incredibly problematic. What If there is a folder with the same name in the target folder? etc.
firedev.com
 
Crash
Experienced
Posts: 26
Joined: 28 Feb 2011, 16:02

Re: Moving folders

14 Jun 2011, 16:16

Could you do it with some judicious editing of the XML files if you really felt need at some point?
 
User avatar
Martin
Experienced
Posts: 651
Joined: 30 Jan 2011, 23:24

Re: Moving folders

14 Jun 2011, 16:35

Crash wrote:Could you do it with some judicious editing of the XML files if you really felt need at some point?
What's wrong with moving folders by means of a ftp-tool, like FileZilla e.g. .... ?
 
marco963
Experienced
Topic Author
Posts: 89
Joined: 14 Oct 2006, 10:22

Re: Moving folders

15 Jun 2011, 02:56

Martin wrote: What's wrong with moving folders by means of a ftp-tool, like FileZilla e.g. .... ?
What would happen to xml files ? The folder hierarchy is defined at xml level, if you modify the tree structure with an external tool (different from the default X2 admin), the risk of inconsistency might be significant.
If Nick confirms, I could try, but I am not going to risk (I have 4000 images online).
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: Moving folders

15 Jun 2011, 04:59

Crash wrote:Could you do it with some judicious editing of the XML files if you really felt need at some point?
Although Nick is the master in this area, I wouldn't recommend this approach. Imagevue is a folder-based XML gallery, where XML is updated an maintained to precisely mirror your file- and folder structure. Messing with the XML files will just be messing with the system ...
Crash wrote:What would happen to xml files ? The folder hierarchy is defined at xml level, if you modify the tree structure with an external tool (different from the default X2 admin), the risk of inconsistency might be significant.
If Nick confirms, I could try, but I am not going to risk (I have 4000 images online).
Actually, moving by FTP would be the correct way to do it. Imagevue would simply update your XML structure to reflect the true folder structure. This is how Imagevue differs from DB galleries, and is in fact one of the benefits because you have full freedom to change your physical folder structure as you like, and Imagevue will merely reflect this. Information about each folder is stored in an XML file inside the specific folder, so when you move the folder, you also move the XML file and keep all titles/descriptions and meta info ...
 
marco963
Experienced
Topic Author
Posts: 89
Joined: 14 Oct 2006, 10:22

Re: Moving folders

15 Jun 2011, 05:01

mjau-mjau wrote: Actually, moving by FTP would be the correct way to do it. Imagevue would simply update your XML structure to reflect the true folder structure. This is how Imagevue differs from DB galleries, and is in fact one of the benefits because you have full freedom to change your physical folder structure as you like, and Imagevue will merely reflect this.
Thanks Karl !
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

Re: Moving folders

15 Jun 2011, 11:21

You can move/copy files within Imagevue but not the folders. For folders you better use FTP. Or just create a new folder and copy/move files.

Thinking of this I think we could make Imagevue to move folders in OS X fashion - so folder replaces the one with the same name completely with it's content. So we won't have to resolve file/xml conflicts.
firedev.com
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: Moving folders

15 Jun 2011, 11:52

Nick wrote:Thinking of this I think we could make Imagevue to move folders in OS X fashion - so folder replaces the one with the same name completely with it's content. So we won't have to resolve file/xml conflicts.
Perhaps with a warning prompt if over-writing?
 
Crash
Experienced
Posts: 26
Joined: 28 Feb 2011, 16:02

Re: Moving folders

16 Jun 2011, 20:52

I think it's awesome that Imagevue just reworks its index if you start moving folder around.

I imagined that would break something for sure. Thanks for the tip incase I need it in future.
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

Re: Moving folders

17 Jun 2011, 07:48

mjau-mjau wrote:Perhaps with a warning prompt if over-writing?
With a warning prompt of course, this goes unsaid.
firedev.com
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: Moving folders

17 Jun 2011, 10:03

Nick wrote:With a warning prompt of course, this goes unsaid.
So why did you just say it then :?: 8) :mrgreen: