Using image styles with Scald dnd (Drupal 7)

I have been using the Scald module for several months with a lot of experience. But there is one thing that I still do not quite understand.

When I have Drag'n'Drop for a text box (with CKEditor), I can drag and drop images into the text box and display the original size in it. If I right-click an image, I get image properties for the image, but only at the CSS level.

I am trying to figure out how to add an image style to an image so that my 4000x3000 image that I drag into the editor will be reduced to a more attractive 300x200 image if necessary, and therefore will save some valuable bandwidth.

+3
source share
4 answers

I found the answer after a bunch of googling and reading several articles. First of all, it was a question about installing and configuring Scald. (Please google, I can not post many links :()

I installed the CKEditor module, disabled the Wysiwyg module, uploaded the library to sites / all / libraries /, and finally read this article about contexts with Scald: https://drupal.org/node/2104651 .

On the bottom line, this is possible, but not easy (as Scald sometimes happens), but when you hang it, it is much better than the Media module.

+1
source

I just struggled with this, so I thought I would document how to set up contexts.

, :

  • /admin/structure/scald . , "Make parseable"
  • "" "" " Atom",
  • , (/admin/structure/scald/image/context), . "" "Passthrough" , . " ( )"

, wysiwyg " Atom", . , Scald, "Passthrough" .

, https://drupal.org/node/2046545 scald.pages.inc dev. 7.x-1.2, .

0

, WYSIWYG 2.x-dev CKEditor 4.3, Scald 1.2. , , (, , ):

  • " Scald DnD" " Sals SAS" WYSIWYG
  • ( admin/structure/scald/image/display) , ,
0
source

Do you want to use the image insertion module

https://drupal.org/project/insert

The easiest way to assign image styles to images in the wysiwyg area

-1
source

All Articles