When a user uploads an image I want wrap all uploaded images with some html code (to let them expand with an onclick-event) Where in the code should I adjust this? I'm searching in umbraco/controls/Images and umbraco/plugins/tinymce3 but I can't exactly find what to adjust..
Also I would like to know where Umbraco resizes the Images. I would like to control this event so I can make my own resized images when a user uploads an image (using the Tinymce). Since the Media.AfterSave += ... won't work I'm not sure how to get started on this.
Thanks Anthony for the links! Do you know if it's possible to resize an image to your give dimensions when a user uploads an image with Tinymce? For example, if the user uploads an image with a width >500px, resize the image width to 500px.
TinyMCE image
When a user uploads an image I want wrap all uploaded images with some html code (to let them expand with an onclick-event) Where in the code should I adjust this? I'm searching in umbraco/controls/Images and umbraco/plugins/tinymce3 but I can't exactly find what to adjust..
Regards
Thijs
Also I would like to know where Umbraco resizes the Images. I would like to control this event so I can make my own resized images when a user uploads an image (using the Tinymce). Since the Media.AfterSave += ... won't work I'm not sure how to get started on this.
Regards
Thijs
hi Thijs ,
after a quick google search i came across these posts , might point you in the right direction
http://www.tinymce.com/forum/viewtopic.php?id=26988
http://www.tinymce.com/forum/viewtopic.php?id=25649
http://www.tinymce.com/wiki.php/Creating_a_plugin
http://www.tinymce.com/wiki.php/Plugin:advimage
Thanks Anthony for the links! Do you know if it's possible to resize an image to your give dimensions when a user uploads an image with Tinymce? For example, if the user uploads an image with a width >500px, resize the image width to 500px.
is working on a reply...