Closed (fixed)
Project:
Album Photos
Version:
6.x-2.6-beta3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Jul 2009 at 21:36 UTC
Updated:
31 Jul 2013 at 05:35 UTC
Unix systems are case sensitive.
WIth the code in "photos_swfu_style.tpl.php" file in photos_swfu folder, there is an linux limitation.
No .JPG file extension are found on linux file system.
You have to add *.JPG;*.PNG;*.GIF;*.JPEG;
// $Id: photos_swfu_style.tpl.php,v 1.1.2.1 2009/03/06 08:22:41 eastcn Exp $
?>
<script type="text/javascript">
var swfu;
window.onload = function() {
var settings = {
flash_url : "<?php echo $v['swf'];?>",
upload_url: "<?php echo $v['url'];?>",
post_params: {"PHPSESSID" : "<?php echo session_id(); ?>"},
file_size_limit : "<?php echo $v['max_file_size'];?> MB",
file_types : "*.jpg;*.png;*.gif;*.jpeg;", // <-----CHANGE THIS : you have to add new extensions (.JPG, .PNG)
file_types_description : Drupal.t("All images..."),
file_upload_limit : "<?php echo $v['num_uploads'];?>",
file_queue_limit : 0,
custom_settings : {
progressTarget : "album-swfu",
cancelButtonId : "btnCancel"
},
...
Thanks to correct this.
Comments
Comment #1
bealdav commentedComment #2
nathaniel commented