Seems like a bug with GflAx.dll 2.54

Discussions on GFL SDK, the graphic library for reading and writing graphic files

Moderators: helmut, XnTriq, xnview

Post Reply
Jean-Pierre
Posts: 3
Joined: Thu May 11, 2006 12:44 pm

Seems like a bug with GflAx.dll 2.54

Post by Jean-Pierre »

Hi everybody,

To test the installation of the ASP component, I use the example.asp and image.asp provided with install.

If the image is located in the same folder as example.asp and image.asp, it works fine. Like
Path = Server.MapPath("/GflAx")
File = Path & "\image.jpg"
File = Path & "\result.bmp"
File = Path & "\microsoft_3.gif"
File = Path & "\COURIERA.TIF"
File = Path & "\Aquatique.jpg"
If the image is located somewhereelse, example.asp displays info about the image, that's correct, but image.asp fails and I get the red X instead of the image. Like
File = Server.MapPath("/xxxxx/yyyyy/zzzzz") & "/Aquatique.jpg"
File = server.mappath("/") & "/xxxxx/yyyyy/zzzzz/" & "Aquatique.jpg"
Any idea ?
Thanks
Jean-Pierre
Jean-Pierre
Posts: 3
Joined: Thu May 11, 2006 12:44 pm

The bug is in the sample, not in GflAx....

Post by Jean-Pierre »

The way it's coded, folder names or image names containing spaces produce the error:

example1.asp should be coded:
<td rowspan="8" valign="top"><img src="image.asp?i=<%=file%>"></td>
image.asp should be coded:
File = request.querystring("i")
That's it
Jean-Pierre
MaierMan
Posts: 78
Joined: Wed Aug 04, 2004 8:32 pm
Contact:

Re: Seems like a bug with GflAx.dll 2.54

Post by MaierMan »

Jean-Pierre wrote:Hi everybody,

To test the installation of the ASP component, I use the example.asp and image.asp provided with install.

If the image is located in the same folder as example.asp and image.asp, it works fine. Like
Path = Server.MapPath("/GflAx")
File = Path & "\image.jpg"
File = Path & "\result.bmp"
File = Path & "\microsoft_3.gif"
File = Path & "\COURIERA.TIF"
File = Path & "\Aquatique.jpg"
If the image is located somewhereelse, example.asp displays info about the image, that's correct, but image.asp fails and I get the red X instead of the image. Like
File = Server.MapPath("/xxxxx/yyyyy/zzzzz") & "/Aquatique.jpg"
File = server.mappath("/") & "/xxxxx/yyyyy/zzzzz/" & "Aquatique.jpg"
Any idea ?
Thanks
Jean-Pierre
I doubt you will get any answers without providing more details (i.e. "real" code).
Furthermore this sounds actually more like a general coding error (or even configuration/permission error).
Post Reply