Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
Siva  
#1 Posted : Monday, October 10, 2011 9:18:01 PM(UTC)
Siva

Rank: Newbie

Groups: Member
Joined: 10/8/2011(UTC)
Posts: 4

Thanks: 1 times
Hi all,

Please help me to fix this issue. I'm using Aurigma Flash uploader. When I try to get the number of uploader files, I' getting "undefined" in Firefox.

But it shows the count correctly in IE.

Here is the code

Code:
<script type="text/javascript">

    // <![CDATA[
    var uploader = $au.imageUploaderFlash({
        events: {
            afterUpload: [ImageUploaderFlash1_AfterUpload]
        },

        id: 'Uploader1',
        licenseKey: "#######",
        width: '100%',
        height: '600px',
        enableDescriptionEditor: false,
        enableRotation: false,
        enableImageEditor: false,
        converters: [
            { mode: '*.*=SourceFile' },
            { mode: '*.*=Thumbnail;*.*=Icon', thumbnailFitMode: 'Fit', thumbnailWidth: '120', thumbnailHeight: '120' }
            ], uploadSettings: {
            actionUrl: '../AFU_Resource/asp/Upload.asp?Uid=123&rnd=<%=RndStr %>'
            
            }, flashControl: {
            codeBase: '/AFU_Resource/Scripts/aurigma.imageuploaderflash.swf',
            bgColor: '#f5f5f5'//,
            }, restrictions: {
            maxFileCount: 6,
            maxFileSize: 50000, //31457280,
            fileMask: [['Images (*.jpg; *.jpeg; *.png; *.gif; *.bmp)', '*.jpg;*.jpeg;*.png;*.gif;*.bmp']]
            }
    });

    uploader.writeHtml();

    //]]>
</script>


and the following expression not working fine in firefox

Code:
<script type="text/javascript">
if ($au.uploader('Uploader1').files().count() > 0) {
//.... 
}
</script>

Please help me to fix it. Am i doing anything wrong?
p.shirykalova  
#2 Posted : Monday, October 10, 2011 10:58:16 PM(UTC)
p.shirykalova

Rank: Advanced Member

Groups:
Joined: 7/13/2011(UTC)
Posts: 286

Thanks: 6 times
Was thanked: 31 time(s) in 31 post(s)
Hi Siva,

Please try to use this code:
Code:
<script type="text/javascript">
if ($au.imageUploaderFlash('Uploader1').files().count() > 0) {
//.... 
}
</script>

instead of your code.

If this doesn't help please provide us with the link to your Image Uploader Flash page (login/password if any) so we can test it ourselves. You can submit new support ticket and post login information there.

Edited by user Monday, October 10, 2011 10:59:03 PM(UTC)  | Reason: Not specified

Best regards,
Pauline Shirykalova
Aurigma Technical Support
thanks 1 user thanked p.shirykalova for this useful post.
Siva on 10/11/2011(UTC)
Siva  
#3 Posted : Tuesday, October 11, 2011 10:06:44 PM(UTC)
Siva

Rank: Newbie

Groups: Member
Joined: 10/8/2011(UTC)
Posts: 4

Thanks: 1 times
Hi Pauline,

Thanks for your response. It works :).

Thanks
Siva
Siva  
#4 Posted : Tuesday, October 11, 2011 10:35:15 PM(UTC)
Siva

Rank: Newbie

Groups: Member
Joined: 10/8/2011(UTC)
Posts: 4

Thanks: 1 times
Pauline is there any way to disable "add more files" button?

http://www.aurigma.com/docs/iuf/P_J_$au_restrictions_maxFileCount.htm says "0" is for removing max image count restriction.

The scenario is, when a user comes to edit the classified, we need to check the count of images already uploaded. If user already reached the count, we need to disable the button.

Can you please guide me to disable "add more files" button?

Thanks
Siva
p.shirykalova  
#5 Posted : Tuesday, October 11, 2011 10:43:21 PM(UTC)
p.shirykalova

Rank: Advanced Member

Groups:
Joined: 7/13/2011(UTC)
Posts: 286

Thanks: 6 times
Was thanked: 31 time(s) in 31 post(s)
Siva,

Unfortunately there is no way to disable Add More Foles button. Probably you should check whether your user uploaded some files before he opens the Image Uploader Flash page.
Best regards,
Pauline Shirykalova
Aurigma Technical Support
Siva  
#6 Posted : Tuesday, October 11, 2011 10:51:31 PM(UTC)
Siva

Rank: Newbie

Groups: Member
Joined: 10/8/2011(UTC)
Posts: 4

Thanks: 1 times
Thanks for the information Pauline. This is something needs to be added as a feature of Aurigma in future.
p.shirykalova  
#7 Posted : Tuesday, October 11, 2011 11:07:13 PM(UTC)
p.shirykalova

Rank: Advanced Member

Groups:
Joined: 7/13/2011(UTC)
Posts: 286

Thanks: 6 times
Was thanked: 31 time(s) in 31 post(s)
Siva,

Thank you for your idea. I will report our engineers.
Best regards,
Pauline Shirykalova
Aurigma Technical Support
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.