EllisLab text mark
Advanced Search
     
Very large image in Rich Text Editor
Posted: 10 May 2012 09:46 AM   [ Ignore ]
Joined: 2004-12-18
153 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…  smile

/regards David S, Sweden

 
Posted: 10 May 2012 10:36 AM   [ Ignore ]   [ # 1 ]   [ Rating: 0 ]
Joined: 2010-09-17
442 posts
David S - 10 May 2012 09:46 AM

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…  smile

/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

 
Posted: 11 May 2012 10:43 AM   [ Ignore ]   [ # 2 ]   [ Rating: 0 ]
Avatar
Joined: 2011-11-25
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,

 Signature 

Recent version: EE 2.5.4 | Forum Module 3.1.10 | MSM 2.1.4 | 2.x Bug Tracker | Version Upgrade

 
Posted: 11 May 2012 10:49 AM   [ Ignore ]   [ # 3 ]   [ Rating: 0 ]
Joined: 2010-09-17
442 posts
Shane Eckert - 11 May 2012 10:43 AM

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?

 
Posted: 11 May 2012 10:58 AM   [ Ignore ]   [ # 4 ]   [ Rating: 0 ]
Avatar
Joined: 2002-12-06
4240 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.

 Signature 

Get the missing EE2 owner’s manual - a complete guide to building an EE2 site.  It’s available in PDF or print.

 
Posted: 11 May 2012 11:00 AM   [ Ignore ]   [ # 5 ]   [ Rating: 0 ]
Joined: 2010-09-17
442 posts
Boyink! - 11 May 2012 10:58 AM

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.

 
Posted: 11 May 2012 12:18 PM   [ Ignore ]   [ # 6 ]   [ Rating: 0 ]
Avatar
Joined: 2011-11-25
7174 posts

Hey bgarrant,

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

Is there anything else you need?

Cheers,

 Signature 

Recent version: EE 2.5.4 | Forum Module 3.1.10 | MSM 2.1.4 | 2.x Bug Tracker | Version Upgrade

 
Posted: 11 May 2012 01:14 PM   [ Ignore ]   [ # 7 ]   [ Rating: 0 ]
Joined: 2004-12-18
153 posts
Shane Eckert - 11 May 2012 10:43 AM

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.

 

 
Posted: 11 May 2012 02:56 PM   [ Ignore ]   [ # 8 ]   [ Rating: 0 ]
Joined: 2004-12-18
153 posts
Boyink! - 11 May 2012 10:58 AM

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

 
Posted: 11 May 2012 03:48 PM   [ Ignore ]   [ # 9 ]   [ Rating: 0 ]
Avatar
Joined: 2002-12-06
4240 posts

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

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.

 Signature 

Get the missing EE2 owner’s manual - a complete guide to building an EE2 site.  It’s available in PDF or print.

 
Posted: 11 May 2012 04:13 PM   [ Ignore ]   [ # 10 ]   [ Rating: 0 ]
Joined: 2004-12-18
153 posts
Boyink! - 11 May 2012 03:48 PM

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

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?

 
Posted: 15 May 2012 12:11 PM   [ Ignore ]   [ # 11 ]   [ Rating: 0 ]
Avatar
Joined: 2011-11-25
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,

 Signature 

Recent version: EE 2.5.4 | Forum Module 3.1.10 | MSM 2.1.4 | 2.x Bug Tracker | Version Upgrade

 
Posted: 29 May 2012 02:17 AM   [ Ignore ]   [ # 12 ]   [ Rating: 0 ]
Avatar
Joined: 2010-10-19
146 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/

 Signature 

I’m with shoeshinedesign.com - @shoeshinedesign