From the documentation:

"Loading from the 4D picture library

To load an image from the 4D picture library, pass the following query parameter:

Parameter     Description
id                     Numeric id or name of picture

If this query parameter is passed, the picture with the given id or name will be returned if it exists. "

However, if you pass the NAME of a picture a 404 error occurs. This is because in the actual script you convert the id value into a number:

...
case of
    :(collection has($params; "id"))
        get picture from library(num($params{"id"}); $pict)
...

Either you need to disallow calling via name or you need to update the image.a4d script to handle text.

Regards, Michael.
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to