Forums

  • # December 13, 2012 at 8:17 am

    Hi everybody. I have some problem on Joomla!. When i give a link to image, browser opens it in new window, but i want to download it. I read some about “Content-description” to send it each time to header. I don’t know how to implement it. Also i found some PHP scripts like making download.php but it has security problems. I’m using Joomla!. Any idea and help is appreciated.

    # December 13, 2012 at 1:25 pm

    Have you tried [this](http://css-tricks.com/snippets/htaccess/force-files-to-download-not-open-in-browser/)? Note: This is obviously only if you’re using an Apache server (there’s no .htaccess on Windows servers…)

    # December 13, 2012 at 4:21 pm

    Thanks @Htmlmainiac, that woked. I created .htaccess on my root folder and pasted codes. In chrome, it directly downloads, In Firefox and Opera, it prompt “Save as..” tab. Anyway, cool. Cheers :)

    # December 14, 2012 at 5:43 am

    Actually, it didn’t work on Android. Especially Dolphin browser :(

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

icon-anchoricon-closeicon-emailicon-linkicon-logo-staricon-menuicon-nav-guideicon-searchicon-staricon-tag