ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Very large image in Rich Text Editor

May 10, 2012 9:46am

Subscribe [4]
  • #1 / May 10, 2012 9:46am

    David S

    110 posts

    Hi!

    The new Rich Text Editor seems to be a winner!
    I have one problem though.
    When I choose an image from the filemanager the largest possible version loads into the RTE and makes it a bit cumbersome to edit the post.

    I am also trying to understand where and how to apply styles to images the user chooses to align left or right or elsewhere…  😊

    /regards David S, Sweden

  • #2 / May 10, 2012 10:36am

    bgarrant

    356 posts

    Hi!

    The new Rich Text Editor seems to be a winner!
    I have one problem though.
    When I choose an image from the filemanager the largest possible version loads into the RTE and makes it a bit cumbersome to edit the post.

    I am also trying to understand where and how to apply styles to images the user chooses to align left or right or elsewhere…  😊

    /regards David S, Sweden

    I have the exact issue.  I do not see a way to resize the image.  I like the light weight addition of the RTE as opposed to other WYSIWYG options out there.  I just wish there was a way to resize the image, or choose a smaller version of the image create with the File Manager’s Image Manipulations.

    The one other feature that would make it complete for me is a way to insert a table.  If anyone knows how to create this custom option please let me know.

    Bryan

  • #3 / May 11, 2012 10:43am

    Shane Eckert

    7174 posts

    Hi David,

    You are correct, you cannot dynamically resize. :-(

    Please feel free to file a Feature Request. I would love to see that option there.

    If you hover over the image, do you get the icons for styling? See attached.

    Cheers,

  • #4 / May 11, 2012 10:49am

    bgarrant

    356 posts

    Hi David,

    You are correct, you cannot dynamically resize. :-(

    Please feel free to file a Feature Request. I would love to see that option there.

    If you hover over the image, do you get the icons for styling? See attached.

    Cheers,

    I do get those positioning options Shane.  Works well other than there is no way to resize or shoose a smaller version save via a image manipulation.  Maybe an easier fix would be to allow the File Manager selection box to look other sub directories to find the other saved versions?

  • #5 / May 11, 2012 10:58am

    Boyink!

    5011 posts

    One option is to setup a 2nd file upload directory that maps to the resized images that your 1st file upload directory creates - then you could choose the thumbnails.  I’ve done a similar thing for category images in the past.

  • #6 / May 11, 2012 11:00am

    bgarrant

    356 posts

    One option is to setup a 2nd file upload directory that maps to the resized images that your 1st file upload directory creates - then you could choose the thumbnails.  I’ve done a similar thing for category images in the past.

    That is a good work-a-round Michael.  I will try that.  Thanks.

  • #7 / May 11, 2012 12:18pm

    Shane Eckert

    7174 posts

    Hey bgarrant,

    Thanks to Mike for the options! That’s very cool.

    Is there anything else you need?

    Cheers,

  • #8 / May 11, 2012 1:14pm

    David S

    110 posts

    Hi David,

    You are correct, you cannot dynamically resize. :-(

    Please feel free to file a Feature Request. I would love to see that option there.

    If you hover over the image, do you get the icons for styling? See attached.

    Cheers,

    Hi Shane!
    Yes! I did find the icons…  eventually (after intense scrolling in several directions)
    I sort of fixed the problem myself adding a rule to the themes/cp_themes/default/css/global.css limiting images to either a percentage or a number of pixels I yet have to figure out.
    I wouldnt be surpriced if this is method is considered backwards or something but its the best I can come up with right now. The trick will be to remember adjusting this stylesheet as soon as there is an update.

    I am very keen on input on how to accomplish this in a smarter way.

    Clicking the icons seems to add inline styling to the figure- and img-tags. Is there a way to have those icon apply a class of some sort instead?

    Is there any way to use addons like CE_image and Imageresizer on images published via the RTE?

    /David

    Ah! while working on the language in this post, some cabbage pie (yummie!) and a few diaper changes I see some interestin contributions to this thread. I’ll definitely try Boyinks take on this.

     

  • #9 / May 11, 2012 2:56pm

    David S

    110 posts

    One option is to setup a 2nd file upload directory that maps to the resized images that your 1st file upload directory creates - then you could choose the thumbnails.  I’ve done a similar thing for category images in the past.

    Hi Mike!
    When I try this approach I get the thumbnail image in the RTE and everything is very viewable. However, when I hit submit and publish my entry I end up with a thumbnail also on the frontend where I would like to put the larger version.
    Any idea on how to accomplish that?

    /David

  • #10 / May 11, 2012 3:48pm

    Boyink!

    5011 posts

    Well - keep in mind the RTE is a newborn yet, we’re still figuring out it’s eating and sleeping schedules..😉

    It may or may not work, but I’d investigate the use of Lows Find and Replace plugin to dynamically search through the content in the RT field and change the image references.

  • #11 / May 11, 2012 4:13pm

    David S

    110 posts

    Well - keep in mind the RTE is a newborn yet, we’re still figuring out it’s eating and sleeping schedules..😉

    It may or may not work, but I’d investigate the use of Lows Find and Replace plugin to dynamically search through the content in the RT field and change the image references.

    Hm…  this sounds interesting…
    Would it also be possible to get rid of inline styling in favor of classes or am i tinking homegrown thaughts now again?

  • #12 / May 15, 2012 12:11pm

    Shane Eckert

    7174 posts

    Hello David S,

    I am going to move this over to the Community Help Forum so that you can continue the discussion with the community! Have fun!

    Cheers,

  • #13 / May 29, 2012 2:17am

    Stephen Callender

    148 posts

    I posted a feature request for adding/removing default classes. You can see my markup. I’m able to control my images from RTE now with these default classes. Hope it helps.

    http://ellislab.com/forums/viewthread/218112/

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases