This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 21 - Pages: 2 [ Previous | 1 2 ] - Last Post: 19 May 20, 13:09 Last Post By: JeffTucker Threads: [ Previous | Next ]
WillemGrooters

Posts: 8
Registered: 12-Jan-2011
Re: Process folders without images, but but files are present
Posted: 14 Aug 17, 23:27   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
I'm using Chameleon, aqua-Dark.

The files in this directory are files containing te tracks covered in the album, formats.gpx, and .csv, in some cases ..gdb (garmin) and .kml (GoogleEarth).
JeffTucker

Posts: 7,680
Registered: 31-Jan-2006
Re: Process folders without images, but but files are present
Posted: 14 Aug 17, 23:39   in response to: WillemGrooters in response to: WillemGrooters
 
  Click to reply to this thread Reply
Ah, that explains the problem. jAlbum doesn't recognize those files as objects that could be included in an album, so if they're sitting in the image directory, or in a folder below that, they'll just be ignored.

If you open the program directory - Tools, Open directories, Program directory - go to the system subdirectory, and look at filetypes.xml, you'll see the extensions that jAlbum recognizes. You could add those other file extensions, and provide a representing icon for them (in the program's res subdirectory). I'm not sure what a skin would do with them, however.
WillemGrooters

Posts: 8
Registered: 12-Jan-2011
Re: Process folders without images, but but files are present
Posted: 16 Aug 17, 22:41   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Attachment Track.png (5.5 KB)
ok, this helped.
Added this to the filetypes.xml file:

<type name="GPS track files" icon="track.png">
<ext>gdb</ext>
<ext>gpx</ext>
<ext>kmz</ext>
</type>

and created an icon file (see attachement). Now Chameleon processes the files as if they were images, and so the directory is shown as expected.

This leads to another feature...
WillemGrooters

Posts: 8
Registered: 12-Jan-2011
Re: Process folders without images, but but files are present
Posted: 19 May 20, 07:55   in response to: WillemGrooters in response to: WillemGrooters
 
  Click to reply to this thread Reply
I updated (19.x), added the lines to filetype.xml again, but this version doesn't process non-image files: No reference to the files in index, nor are the files copied. IIRC, the older version had a checkbox to enable processing of non-image files as if they were images. But I do not recall where this checkbox was...(I still use Chameleon skin)
davidekholm

Posts: 3,581
Registered: 18-Oct-2002
Re: Process folders without images, but but files are present
Posted: 19 May 20, 08:15   in response to: WillemGrooters in response to: WillemGrooters
 
  Click to reply to this thread Reply
Please verify your changes to system/filetypes.xml and your addition of that icon again. There should be no such change in jAlbum to cause what you describe. (I just added a pdf file to a project and made the album. It showed up)
AndreWolff

Posts: 1,992
Registered: 14-Dec-2007
Re: Process folders without images, but but files are present
Posted: 19 May 20, 09:02   in response to: WillemGrooters in response to: WillemGrooters
 
  Click to reply to this thread Reply
(Irrelevant post removed.)

Edited by: jGromit on 19-May-2020 07:08 for violating forum guidelines:

"Ensure that you fully understand the posted topic before replying, to avoid adding irrelevant or misleading posts."
JeffTucker

Posts: 7,680
Registered: 31-Jan-2006
Re: Process folders without images, but but files are present
Posted: 19 May 20, 13:04   in response to: WillemGrooters in response to: WillemGrooters
 
  Click to reply to this thread Reply
Attachment ss007238.png (14.9 KB)
WillemGrooters wrote:
I updated (19.x), added the lines to filetype.xml again, but this version doesn't process non-image files: No reference to the files in index, nor are the files copied.

I just tried the same thing with jAlbum 20.1. I added the lines to the program's system/filetypes.xml file, and added the track.png logo to the program's res folder. I then added a KMZ file to a folder and made the album. The folder is processed, and the KMZ file is sitting in the output directory (in that folder).

Works with Minimal and Chameleon. Newer skins might ignore the file, however.

ETA: Attached is what I see in Chameleon for that folder. Clicking on the icon offers to save the file, since the browser doesn't know what to do with it.

Edited by: jGromit on 19-May-2020 07:06
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums