Example
https://michal.walasz.net/photos/action … p;download
Under Chrome it downloads 94% or so and then does nothing and goes like 190% without finish
Under Firefox it gives this message right away cK_MvjyG.jpg.part can't be saved because source can't be read
Under IE it works OK
I checked and this is something with my Piwigo or settings on hosting server because this file from else is downloading just OK
http://douglassfamily.org/piwigo/action … p;download
downloading folders as ZIP also works OK so problem is with single files
Offline
telemach wrote:
https://michal.walasz.net/photos/action.php?id=499&part=e&download
Under Chrome it downloads 94% or so and then does nothing and goes like 190% without finish
Under Firefox it gives this message right away cK_MvjyG.jpg.part can't be saved because source can't be read
Works for me with both Firefox and Chromium.
Offline
Firefox, Chrome, Safari
All OK.
Offline
I asked a friend and there is something bad indeed
I've checked with all plugins disabled and no change
Last edited by telemach (2020-04-07 15:32:52)
Offline
I fixed it by small workaround
{assign var=linkobrazka0 value=$current.selected_derivative->get_url()|replace:'_data/i/':''}
{assign var=linkobrazka value=$linkobrazka0|replace:'-me':''}
{strip}{if isset($current.U_DOWNLOAD)}
<a id="downloadSwitchLink" href="https://michal.walasz.net{$U_HOME}{$linkobrazka}" download="{$current.TITLE}.jpg" title="{'Download this file'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
so I switched from PHP script from Piwigo to straight HTML5 download option to force download instead of viewing
Offline