Page 1 of 1

altimage directories appearing

Posted: 22 Jan 2010, 16:39
by jfhermans
Hello, I'm using Imagevuex V1 for a long time with altimage = _large/ in my config.ini.

In V2, the altimage parameter becomes a boolean, I have to rename all my _large directories to _altimage... ok but, even if I do that I see the _altimage directory in menu.

JF

Posted: 23 Jan 2010, 04:23
by mjau-mjau
Go to admin -> manage -> navigate to your _altimage folders and set "Hide this folder" in the controlpanel on the right.

Posted: 23 Jan 2010, 05:03
by jfhermans
I have already a lot of directories in Imagevue V1, rename _large is not a problem but manual action on each directory is not possible :
Code
ls  -R | grep /_large | wc -l
875
Why doesn't V2 take care of altimage directory like V1 ?

JF

Posted: 26 Jan 2010, 01:13
by mjau-mjau
What do you mean "manual action on each dir is not possible"?

In Imagevue V1, this is hardcoded, while in Imagevue X2 things are more flexible. You can create folders for many uses (including alt images), and simply use the "HIDE" function to hide them from the menu.

Posted: 26 Jan 2010, 02:50
by jfhermans
mjau-mjau wrote:What do you mean "manual action on each dir is not possible"?

In Imagevue V1, this is hardcoded, while in Imagevue X2 things are more flexible. You can create folders for many uses (including alt images), and simply use the "HIDE" function to hide them from the menu.
I speak for me... I don't want extended admin config, I want to send automatically my photos by clicking on an icon on my desktop :)
With V1, I send photos (web version 800x600, 80%, 92dpi + original version in _large directory) via ftp via a batch file and nothing more. If this is not possible with V2 I will keep V1 and forget my upgrade.

Does anybody want to use altimages AND show the _altimage folder ?

Thanks.

JF

Posted: 27 Jan 2010, 02:24
by mjau-mjau
jfhermans wrote:Does anybody want to use altimages AND show the _altimage folder ?
It would take you approximately 1 minute to set "hide" to an altimage folder from the admin. If you have uploaded 10 altimage folders, it might take you 3 minutes. Is there any reason you can spend 1 hours uploading images, but not 1 minute hiding the folder?

I dont think anyone wants to SHOW the altimage folder, but since its as easy as flexible that you can just click "hide", I think its not a huge problem.

Posted: 27 Jan 2010, 03:57
by jfhermans
I have already 875 altimage directories on my server... I will keep V1.

Just for info, I don't spend one hour to send photos, my computer does it. When I connect my camera to the computer, Cam2PC transfers photos in directories by date, I delete unwanted photos and I click on my upload icon (batch using nconvert and ftpsync).

Thanks

JF

Posted: 29 Jan 2010, 02:02
by mjau-mjau
We could always integrate some automatic hide of altimage folders in next release ... Just for the record, the folders you want to hide from the menu are all called "_altimage"?

Posted: 29 Jan 2010, 03:52
by Nick
Actually you have a point here, we will auto-hide them folders, since they are hardcoded now anyway.
Also i see you're quite keen with shell, so maybe for now you could inject this file into each of those folders:

folderdata.xml
Code
<folder hidden="true" />
This will do the trick.

Posted: 29 Jan 2010, 09:02
by jfhermans
pain wrote:Actually you have a point here, we will auto-hide them folders, since they are hardcoded now anyway.
Also i see you're quite keen with shell, so maybe for now you could inject this file into each of those folders:

folderdata.xml
Code
<folder hidden="true" />
This will do the trick.
Easy solution :)

Thanks

Posted: 21 Feb 2010, 05:42
by jfhermans
Hello, I'm back with my _altimage folders problems.

1. The option "Recreate thumbnails in all folders, starts from current" creates thumbnails in _altimage folders.

2. The Admin/Manage page try to create/modify folderdata.xml files in subdirectories of hidden directories. The problem for me is that writing isn't allowed in these directories, result is a red message
Can't write to file content/[2010]/[2010-02]/_gsdata_/test/folderdata.xml

My config:
folderdata.xml in _altimage folder contains hidden="true"
configUser.xml contains <altimage>true</altimage>


Thanks and regards

Posted: 22 Feb 2010, 02:18
by mjau-mjau
1. Yes, the admin would try to create thumbnails for ALL folders if you click "Create thumbnails for all folders". Is it a problem that you get thumbnails in your hidden "_altimage" folders?

2. Yes of course it tries to set/modify folderdata.xml files in hidden folders. How else can it hide a folder? All data is stored in these XML files ... May I ask WHY it isnt allowed in these folders?

Posted: 22 Feb 2010, 02:21
by Nick
1. Hmm you're right it actually shoudln't create thumbnails in _altimage folders. We're having updated release around the corner, will add a fix for this.

2. But I am not sure what is the problem with subfolders in hidden folders? Hidden means just 'hidden from menu' otherwise it's normal folder.

Posted: 22 Feb 2010, 02:48
by jfhermans
mjau-mjau wrote:2. Yes of course it tries to set/modify folderdata.xml files in hidden folders. How else can it hide a folder? All data is stored in these XML files ... May I ask WHY it isnt allowed in these folders?
These folders are created by Goodsync. Goodsync synchronize by SFTP, creates directories chmod 0755 and the user is not www-data.

The first time I sync, I change the main goodsync directory's owner and I copy folderdata.xml with hidden="true", but sometimes Goodsync creates subdirectories and I should to the same thing for each one.

It is not a big problem, but as it is impossible to show subfolders of a hidden folder, do you have to create foderdata.xml in subdirectories.

Posted: 22 Feb 2010, 04:21
by Nick
Ofcourse we do, folderdata.xml is used as a cache file for building content tree and other stuff, even if there are no images in this folder.