>> <% $qry := build query string(""; "file"; "images/mypicture.jpg"; "format";
>> "gif" ) %>
>> <img src="/image.a4d<%=$qry%> alt="image" />
>>
>> Generates a jpeg. Same with format set to "png"
>>
>> Is this a bug or does the format string not work on files?
>
> This is definitely working for me. But like I said, don't convert images
> unless you are resizing them.
>
You are right, it is working. The error was on my side, but you didn't spot
it either. ;-)
There is a " missing in the code above just after "/image.a4d<%=$qry%>
Thus image.a4d gets a format string it doesn't recognize. In that case it
silently uses jpeg as the output format.
Sorry for wasting your time.
Pete
_______________________________________________
Active4D-dev mailing list
[email protected]
http://list.aparajitaworld.com/listinfo/active4d-dev
Archives: http://vasudev.aparajitaworld.com/archive/active4d-dev/