OK, I've got directories with a bunch of images in them, so to cram them into the POS, I am using fsimport... so two things: 1) the page says use URL?fsfile=... when it's really URL?fsdir=... no big deal :-) 2) I tworked for the first directory, I think, but I added a test so that it would work, regardless of the case of the extensions in figuring out it's an image... now it doesn't work, even though according to dear old Mr. Creosote, it's passing the _isimg test... Clues? Chris -- | Christopher Petrilli | petrilli@amber.org
At 04:23 PM 12/28/98 -0500, Christopher G. Petrilli wrote:
OK, I've got directories with a bunch of images in them, so to cram them into the POS, I am using fsimport... so two things:
1) the page says use URL?fsfile=... when it's really URL?fsdir=... no big deal :-)
Sorry for the typo. I updated the How-To.
2) I tworked for the first directory, I think, but I added a test so that it would work, regardless of the case of the extensions in figuring out it's an image... now it doesn't work, even though according to dear old Mr. Creosote, it's passing the _isimg test...
I don't quite understand what you mean. If you are saying, "I hacked the external method and now it doesn't work." I would say, "Most likely your hack broke it. Post your code and let's take a look at it." -Amos
On Mon, Dec 28, 1998 at 02:12:37PM -0800, Amos Latteier wrote:
I don't quite understand what you mean. If you are saying, "I hacked the external method and now it doesn't work." I would say, "Most likely your hack broke it. Post your code and let's take a look at it."
I hacked the _isimg test to drop the extension to all lower case BEFORE comparing, it still returns true, as it did before... and according to mrcreosote, it SHOULD be running the manage_addImage method, but all the images are inserted, but have application/octet-stream as their type, which says that it was inserted based on a failed _isdoc _isimg test... that make sense? I didn't modiufyt anything in THAT section of the code. Chris -- | Christopher Petrilli | petrilli@amber.org
participants (2)
-
Amos Latteier -
Christopher G. Petrilli