jsantari Posted October 22, 2013 Share Posted October 22, 2013 I have two image type fields in my template. One is used to upload images to be used for a slideshow on the page the other is general images that a user can embed into the page content using TinyMCE. I'd like only the general images to be available in TinyMCE when you click on the image toolbar icon. Is there anyway to limit the popup image selection dialog to just one of the two fields? 2 Link to comment Share on other sites More sharing options...
Martijn Geerts Posted October 22, 2013 Share Posted October 22, 2013 So far I know this is not possible. But I love to have this to. ( It's something for the wish list I think ) 1 Link to comment Share on other sites More sharing options...
ryan Posted October 26, 2013 Share Posted October 26, 2013 Not currently, but if there's enough demand for it perhaps we could add a checkbox to the FieldtypeImage field settings that amounts to the effect of "prevent this field from being used in textarea fields". 2 Link to comment Share on other sites More sharing options...
Martijn Geerts Posted October 26, 2013 Share Posted October 26, 2013 "prevent this field from being used in textarea fields" makes sense! And if it is added to the FieldtypeFile field settings. It would work for both images and files I guess. Link to comment Share on other sites More sharing options...
jsantari Posted October 26, 2013 Author Share Posted October 26, 2013 Ryan, I think that approach would work just fine. Link to comment Share on other sites More sharing options...
ryan Posted November 1, 2013 Share Posted November 1, 2013 I'm actually adding this to the ProcessPageEditImageSelect module configuration just to avoid having to update two modules for this, as well as to minimize the configuration options in the Setup > Fields > field screen, as I'm guessing this option isn't needed by most. I've already put it in place, so will test here and then commit soon. 4 Link to comment Share on other sites More sharing options...
Martijn Geerts Posted November 1, 2013 Share Posted November 1, 2013 This is great. Thankyou ryan! Link to comment Share on other sites More sharing options...
ryan Posted November 3, 2013 Share Posted November 3, 2013 Just committed, so it should be there now on dev. Modules > Core > Process > Image Select Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now