Jump to:

10928 Posts in 2612 Topics by 1809 members

All other Modules

SilverStripe Forums » All other Modules » Image Gallery

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1 2
Go to End
Author Topic: 1250 Views
  • aarono
    Avatar
    Community Member
    34 Posts

    Re: Image Gallery Link to this post

    It returns a javascript alert() filled with the current pages html (seems very odd that could happen)

    I can browse to the url (http://thegootgame.com/submit-a-picture/handleswfupload), and the function is loaded fine as I can echo out a string.

    In the debug window i can see this:

    SWF DEBUG: Event: uploadSuccess: File ID: SWFUpload_0_0 Data: <!DOCTYPE html>

    and the entire html follows on from there

  • UncleCheese
    Avatar
    4085 Posts

    Re: Image Gallery Link to this post

    Well the upload won't work in debug mode. You're going to have to turn that off.

    I tried to go to the url you gave me and it's behind a login, so the HTML response you're getting is probably the login form.

  • aarono
    Avatar
    Community Member
    34 Posts

    Re: Image Gallery Link to this post

    wow don't i feel stupid now. It executes correctly now

    Cheers

  • aarono
    Avatar
    Community Member
    34 Posts

    Re: Image Gallery Link to this post

    I want to upload the images into the ImageGallery album that is also specified on the form - i changed the class to ImageGalleryItem but i dont think its putting the right info into the db. How should I go about this?

    1250 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.