I have images in a component where I applied a lightbox jquery effect, images paths are stored in a table.
No problem here, in my load view I put: {{=A(IMG(_src=URL('download',args=mysession.image),_width="400px"),\ _href=URL('download',args=mysession.image)) }} and in my callback function I have: response.js="$('a').lightBox()" But I would like to have the lightbox box caption set to the original image file name and not the names you retrieve from the uploads folder. I would find impractical to store the original image file name in the database table just for this trivial purpose. How can I retrieve the image original name as decoded ( I supposed) by response.download? thank you carlo