Jump to:

22972 Posts in 11596 Topics by 2824 members

General Questions

SilverStripe Forums » General Questions » Uploading Photos

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 673 Views
  • Antz
    Avatar
    Community Member
    5 Posts

    Uploading Photos Link to this post

    Hi there, this may be a relatively simple question but im not a web designer and this is frustrating me.
    I have created a site for a client and its all up and running but im having to change some of the images on the pages, i have logged into silverstripe CMS and am able to make changes to the information but everytime i try to upload a new image i get the message "File is not a valid upload" this is really frustrating me as i have all these images that need to go up asap for my client.

  • Antz
    Avatar
    Community Member
    5 Posts

    Re: Uploading Photos Link to this post

    Also all the files im wanting to upload are simple jpgs and png files format for websites

  • mmh
    Avatar
    Community Member
    24 Posts

    Re: Uploading Photos Link to this post

    Can you upload files in the "Files & Images" section?

  • swaiba
    Avatar
    Forum Moderator
    1769 Posts

    Re: Uploading Photos Link to this post

    Is there anything in a _config.php along the lines of...

    Files::setAllowedExtensions(array('doc','xls'));
    Upload::allowed_extensions(array('doc','xls'));

    ...something like this can be used to restrict the file types up-loadable by extension.

    673 Views
Page: 1
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.