Jump to content

Change name of image


Mamerto

Recommended Posts

Hi all,

 

I am dealing with an html page in which a dynamically created PNG image is shown with:

 

<img src="createchart.php">

 

The problem arises when users try to download the image since the default name that appears is just "createchart.php".

Is there any way to make the browser suggest something like "chart.png"?

 

Than you guys for your help,

Mam

Link to comment
https://forums.phpfreaks.com/topic/252369-change-name-of-image/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.