Jump to:

7939 Posts in 1543 Topics by 946 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » ************* WIN A SILVERSTRIPE BOOK! *****************

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Page: 1 2
Go to End
Author Topic: 1623 Views
  • sajok
    Community Member
    82 Posts

    Re: ************* WIN A SILVERSTRIPE BOOK! ***************** Link to this post


    I'm new to Silverstripe and I'm working on a multilingual website. Lately I came across your amazing modules, and I'd like to thank you for the nice features your modules incorporated into my website. Concerning new features, I'm still amazed at how things are easily done for now, but I'll post later when I want a new feature.. thanks again

  • UncleCheese
    4085 Posts

    Re: ************* WIN A SILVERSTRIPE BOOK! ***************** Link to this post

    Thanks to everyone who contributed to this thread! Our randomly chosen winner is Juanitou! Congratulations!

    Please contact me through my website www.carlinowebdesign.com and provide an address two which I can send the book. Thanks again, everyone!

  • Thorarinn
    Community Member
    1 Post

    Re: ************* WIN A SILVERSTRIPE BOOK! ***************** Link to this post


    I'm working on my first SilverStripe project so a copy of the book would be very much appreciated. As I haven't really put your modules to the test, I don't yet know what features I might find missing. I must say however that I find this environment quite exciting and look forward to exploring and possibly contributing to it in the future.



    PS Darn, I guess you might as well delete this post...

  • erad67
    Community Member
    6 Posts

    Re: ************* WIN A SILVERSTRIPE BOOK! ***************** Link to this post

    Very nice of you UncleCheese.

    I'm a noob and could really use a copy of the book to figure out what the heck I'm doing so I don't bug people on the forum with dumb questions.

  • Juanitou
    Community Member
    323 Posts

    Re: ************* WIN A SILVERSTRIPE BOOK! ***************** Link to this post

    Thank you!

    I’ll do my best to share the knowledge contained in the book.

    “We make a living by what we get, but we make a life by what we give.”
    Winston Churchill

  • patjnr
    Community Member
    101 Posts

    Re: ************* WIN A SILVERSTRIPE BOOK! ***************** Link to this post

    Hi uncle cheese.

    What a cool module it is.
    I am a web developer from South Africa and i have been using SS as my choice of CMS and im not turning back.
    Most of the web site we are developing here are fro the tourism industry for reasons which are obvious.
    They say a picture is worthy a 1000 words and clients want to show off they places, be it a small bed and breakfast lodge to a big hotel.

    What i would expect to be included is a functionality to resize images as you upload and im sure this was part of the earlier version of SS. I know SS uses resampled versions of images but at times clients upload images straight from their cameras and some will be 5 to 8 MB.
    It can work like this.

    1. specify your image sizes (W,H or kilobytes) in the CMS before you upload.
    2. As you will uploading images it resamples they and stores only the resampled image.
    If either dimensions or size is not specified then it upload the raw image.

    the main reason being that if you upload a file which is more than 3mb that page will crash and you will not be able to remove that image using CMS.

    of every 10 support calls we have 3 are for crashed pages.

    thank you


  • banal
    Community Member
    901 Posts

    Re: ************* WIN A SILVERSTRIPE BOOK! ***************** Link to this post

    Hi Patrick

    You've got a point. Processing large images can lead to problems on webservers where PHP doesn't have enough memory available.
    Sadly your proposition won't work either, because the resampling of the image has to take place at some point and will then consume lots of memory (~46mb for 12 megapixels of raw image data). Then your page will crash at the upload of the image...

    There are several possible solutions to this problem though.
    1) Specify the largest allowed image size. Reject all images that are larger in size (or simply don't attempt to resize them, because that will result in a crash).
    2) Use ImageMagick to resample the image. It's faster than PHP GD methods and doesn't suffer from php max_memory restrictions. ImageMagick is not installed on every webhost out there, so this solution won't work for everybody.
    3) Create a droplet or mini application that takes an image and resizes it to approximately 1200 x 900 pixels. Install this application on all your clients computer and tell them to resize their images with the app, before they upload them.

    This isn't much of a DataObjectManager issue though. It's the way image resizing in sapphire (and PHP) works. To tackle this issue, one should probably start with the Image and GD classes.

  • Ricardona
    Community Member
    26 Posts

    Re: ************* WIN A SILVERSTRIPE BOOK! ***************** Link to this post

    Hi Uncle,

    I working in Validation using JQuery too, when we know more about this module?, maybe we can join forces in this development.



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.