Can't add image in Composer
Permalink 1 user found helpful
I can't for the life of me get an image added via the Composer feature.
I have created a textarea attribute w/ the Rich Text - Advanced input format, and added it to the composer for a certain page type, and while it works to a certain extent, every time I try to add an image, its address is broken.
I also tried adding a block to the page type via the page type defaults, and then writing a new page w/ the composer. I got the same problem.
Has anyone successfully added images in a textarea with the Composer? What am I missing here? Is this perhaps a bug?
I'm about tearing my hair out.
Thanks,
Jeremy
I have created a textarea attribute w/ the Rich Text - Advanced input format, and added it to the composer for a certain page type, and while it works to a certain extent, every time I try to add an image, its address is broken.
I also tried adding a block to the page type via the page type defaults, and then writing a new page w/ the composer. I got the same problem.
Has anyone successfully added images in a textarea with the Composer? What am I missing here? Is this perhaps a bug?
I'm about tearing my hair out.
Thanks,
Jeremy
All right, the second problem IS a bug.http://www.concrete5.org/community/forums/usage/insert-link-to-page...
Anyone know about this? How would I get the image, added in via a textarea attribute, to show up correctly?
If you go tohttp://waterinthewest.stanford.edu/cgi-bin/groundwater/learn/model/... and click on the "Lake" button on the model, you'll see content pop up. There should be an image there. The SRC of the image ishttp://waterinthewest.stanford.edu/cgi-bin/groundwater/index.php/do... which returns a file not found error.
Is this the correct code to be output at this point? Shouldn't it perhaps be creating an actual link to a file? I'm guessing that JavaScript is somehow failing me?
Any help would be greatly appreciated. Thank you.
If you go tohttp://waterinthewest.stanford.edu/cgi-bin/groundwater/learn/model/... and click on the "Lake" button on the model, you'll see content pop up. There should be an image there. The SRC of the image ishttp://waterinthewest.stanford.edu/cgi-bin/groundwater/index.php/do... which returns a file not found error.
Is this the correct code to be output at this point? Shouldn't it perhaps be creating an actual link to a file? I'm guessing that JavaScript is somehow failing me?
Any help would be greatly appreciated. Thank you.
It's including the site path twice. This MAY be related?
That said, the SRC generated for the image in the composer doesn't suffer from the same issue:
So I know I've bungled something. But what? A fresh install doesn't seem to have either problem.