4images Forum & Community
4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: edu on June 22, 2005, 10:20:51 PM
-
it would be possible to set the same name to all .zip archives ?
for example: archive.zip
-
yes, it would, but then most of the browsers with default settings will not download second file, they would think its the same file as the first one and use one from the cache.
-
yes, it would, but then most of the browsers with default settings will not download second file, they would think its the same file as the first one and use one from the cache.
Interesting, I wasn´t knowing this. :roll:
Then I would like to change image_name.zip for image_id.zip, thanks in advance. :wink:
-
Try this: (not tested)
in download.php find 4 lines that start with:$file['file_path'] =
below each line insert: $file['file_name'] = $image_id.(($size) ? "_".$size : "").".".$file_extension;
Then find: $file['file_name'] = get_file_name($file['file_name']).".zip";
Replace it with: $file['file_name'] = $image_id.".zip";
-
This works perfect :lol:
Thanks V@no !!!!!
-
Vano to the rescue!!!