filename suggestion when downloading graphs

Anything that you think should be in Cacti.

Moderators: Developers, Moderators

Post Reply
chird
Posts: 12
Joined: Tue Nov 11, 2003 11:45 am

filename suggestion when downloading graphs

Post by chird »

Hi,

I propose a change in graph_image.php to suggest the browser with a filename to save the image as, if a user wants to save a graph.
I use this all the time when I want to save and send graphs to 3rd persons.

Proposal, after line 35:
header("Content-disposition: inline; filename=cacti-".date("Ymd_His",time()).".png");

Any other/better/more dynamic default filenames are welcome of course.

(Excuse me for not sending a proper patch...)

Regards,
Geert
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest