Search…

X3 Photo Gallery Support Forums

Search…
 
w3design
Posts: 8
Joined: 18 Sep 2008, 11:22

22 Jun 2009, 02:23

Unfortunetly there is no "Compatibility Mode" button when Imagevue is running in IE8 :(

But, I have been trying a lot of different things with the Javascript code for the swfupload function in 'index.index.phtml' admin template to see if I could resolve it.

And it seems like the "document.observe('dom:loaded', function() {...})" function is giving the problems in IE8 because in the swfupload demos they dont call the script with this function.

So I removed the above function in 'index.index.phtml' by just deleting line 185 and line 223 and now seems to be working all the time in IE8.

The javascript for swfupload in 'index.index.phtml' now looks like this and it works:
Code
<script type="text/javascript">
// <![CDATA[
	var swfu;

		var settings = {
			flash_url : "admin/swfupload.swf",
			upload_url: (Prototype.Browser.IE ? "" : "../") + "index.php?a=upload&path=<?php echo $this->path; ?>",	// Relative to the SWF file
			post_params: {"<?php echo session_name(); ?>": "<?php echo session_id(); ?>"},
			file_size_limit : "<?php echo $this->uploadLimit; ?>B",
			file_types : "<?php echo implode(';', $fileTypes); ?>",
			file_types_description : "All Files",
			file_upload_limit : 100,
			file_queue_limit : 0,
			custom_settings : {
				progressTarget : "fsUploadProgress",
				cancelButtonId : "btnCancel"
			},
			debug: false,

			// Button settings
			button_image_url: "images/uploadFileButton.png",	// Relative to the Flash file
			button_width: "100",
			button_height: "40",
			button_placeholder_id: "uploaderContainer",
			
			// The event handler functions are defined in handlers.js
			file_queued_handler : fileQueued,
			file_queue_error_handler : fileQueueError,
			file_dialog_complete_handler : fileDialogComplete,
			upload_start_handler : uploadStart,
			upload_progress_handler : uploadProgress,
			upload_error_handler : uploadError,
			upload_success_handler : uploadSuccess,
			upload_complete_handler : uploadComplete,
			queue_complete_handler : queueComplete	// Queue plugin event
		};

		swfu = new SWFUpload(settings);
		$('btnCancel').observe('click', function (ev) {
			swfu.cancel();
		});
// ]]>
</script>
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

22 Jun 2009, 07:40

Hmm interesting observation.. we'll try to do something regarding other javascripts on the page, thanks for reporting this.
firedev.com
 
Wajalot
Posts: 8
Joined: 18 Jun 2009, 12:50

30 Jun 2009, 04:17

I have the same problem with some people using Internet Explorer in my server. Any final solution for this issue?

Thanks
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

30 Jun 2009, 12:02

Could you modify your file as it stated above and tell us if it helped you?
firedev.com
 
vindis
Posts: 2
Joined: 06 Sep 2008, 06:58

It is working

30 Jun 2009, 16:09

I have changed as suggested and it is working....
Thanks a lot

/Per
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

01 Jul 2009, 07:26

Allright, we're releasing an update in a few days then.
firedev.com
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

08 Jul 2009, 12:17

Thank you for reporting this, new version 2.1.3 which just been release having this fix along with a handful of other IE8 related fixage.
firedev.com
 
lowray1975
Experienced
Topic Author
Posts: 137
Joined: 26 Jul 2008, 08:04

12 Jul 2009, 22:08

pain wrote:Thank you for reporting this, new version 2.1.3 which just been release having this fix along with a handful of other IE8 related fixage.
The new version fixed the upload problem! Woohoo!