Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Images resized when no need

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 1522 Views
  • CubeDave
    Avatar
    Community Member
    8 Posts

    Images resized when no need Link to this post

    Hi,

    Having fixed the performance problems I've been having (more RAM in the server did the trick), and having worked around the file permission problems (I have to create folders in /assets using ftp, and create the _resampled folder too & chmod them both 777 - this is a server configuration issue that has effected other CMSs too).

    I am now stuck with a single final problem that stands between me and a completed silverstripe site. Well, it's hardly a problem really, but I would like to understand what's going on.

    When I upload images in the CMS and place them into the text in tinymce, they are always resampled. Even when the size of the image is unchanged.

    For example, here's the original image:
    http://bellbirdspring.co.nz/assets/Images/notes.jpg

    And here's the 'resampled' image:
    http://bellbirdspring.co.nz/assets/Images/_resampled/ResizedImage487265-notes.jpg

    Why does this occur? Is it by design? These images happen to look ok, but I believe that's simply because the original one is a bit over-compressed.

    -dave

  • Aster
    Avatar
    Community Member
    6 Posts

    Re: Images resized when no need Link to this post

    Hm ... My pictures in editor is ok, no more resampled

  • Willr
    Avatar
    Forum Moderator
    5489 Posts

    Re: Images resized when no need Link to this post

    This should be fixed in silverstripe 2.3. By default it resized each and every image as it was just easier for SS to do!. There was a ticket for it and I remember ajoneil submitting a patch for it.

    1522 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.