I think I may have found a bug regarding importing images into a solution. I have found no mention of it on the forums.
I am unable to import any type of image file into a solution for the Mac version of Servoy.
Steps:
Enter design mode.
Select Elements > Place Image from menu.
In the Media window click the “Import File” button.
From the “Media File Import” window select the image file to be imported.
Once you have returned to the Media window there should be a new image file in the list, but there is not.
I have tried this with many different file types (jpeg, tiff, pdf, etc) and none work. I tried the the same solution on a WinXP machine (by importing the solution) and image imports work fine.
Can anyone confirm this bug or correct me if I am doing something wrong.
Servoy Developer
Version R2 2.1.2-build 315
Java version 1.4.2-38 (Mac OS X)
and
Servoy Developer
Version R2 2.1.2-build 315
Java version 1.4.2_06-b03 (Windows XP)
I figured out what the problem was. It has to do with the file name of the image being imported. All image files must have a extension. None of the files that I was importing had extensions (.jpg, .tiff, etc). So once I add their extension, all was well.
This makes since regarding the imports not working on the Mac side but worked on the Windows side. Mac OSX does not require files to have extensions.