have to clear image before using new image on block
Permalink
Hi Guys
I have a block where user can change the image, add a heading or enter some text in rich text editor. (Three sections in the block)
if you click on the image and select choose file to change the image, all that happens is the file namw is added at the top of the rich editor, the image does not change. No idea why it gets added to rich text editor.
However, if I first select "clear" to remove the image and then I choose a new image using "choose image" which is then available, everything works fine. I am wondering if this could be a bug or something that I have done wrong as its first "choose file" but once removed "choose image" - Any ideas please?
I have a block where user can change the image, add a heading or enter some text in rich text editor. (Three sections in the block)
if you click on the image and select choose file to change the image, all that happens is the file namw is added at the top of the rich editor, the image does not change. No idea why it gets added to rich text editor.
However, if I first select "clear" to remove the image and then I choose a new image using "choose image" which is then available, everything works fine. I am wondering if this could be a bug or something that I have done wrong as its first "choose file" but once removed "choose image" - Any ideas please?
Thanks Steve,
I did spend a little time with bug list etc before posting but could not find anything. However, clearly it's affecting by custom block and when others use image in a block, they are not having same issue. Will delve a little deeper
I did spend a little time with bug list etc before posting but could not find anything. However, clearly it's affecting by custom block and when others use image in a block, they are not having same issue. Will delve a little deeper
Hi David,
tallacman is referring specifically to the block called "Content Around Image" which is in the marketplace (so it has a different discussion forum and bug tracker than the main one):
http://www.concrete5.org/marketplace/addons/content-around-image/...
http://www.concrete5.org/marketplace/addons/content-around-image/qu...
If I recall, the problem is that the javascript call made by the image selector is getting intercepted by the TinyMCE editor. I have no clue how to solve this but I am going to be building a similar block soon and am hoping it can be figured out somehow (either by you or me or someone else).
Please post back here with any info you discover that might help solve the problem. Thanks!
-Jordan
tallacman is referring specifically to the block called "Content Around Image" which is in the marketplace (so it has a different discussion forum and bug tracker than the main one):
http://www.concrete5.org/marketplace/addons/content-around-image/...
http://www.concrete5.org/marketplace/addons/content-around-image/qu...
If I recall, the problem is that the javascript call made by the image selector is getting intercepted by the TinyMCE editor. I have no clue how to solve this but I am going to be building a similar block soon and am hoping it can be figured out somehow (either by you or me or someone else).
Please post back here with any info you discover that might help solve the problem. Thanks!
-Jordan
Hi Jordan,
Sure, will report back with anything worth knowing, thanks
Sure, will report back with anything worth knowing, thanks
Cool, thanks.
By the way, I just rediscovered these threads, which may or may not be helpful at all:
http://www.concrete5.org/community/forums/customizing_c5/making-a-t...
http://www.concrete5.org/community/forums/customizing_c5/standard-c...
By the way, I just rediscovered these threads, which may or may not be helpful at all:
http://www.concrete5.org/community/forums/customizing_c5/making-a-t...
http://www.concrete5.org/community/forums/customizing_c5/standard-c...
Steve