idea / wish for image-links
Posted: Sat Jul 28, 2007 2:26 pm
we have clear, nice structures with textile, bbcode or even nl2br, there is no need to use a wysiwyg-editor.
every one can write and READ and imagine things like
But then, we have monsters! Monsters like
This makes everything crappy and unreadable in the editor field. Even if you use more than one image side by side
Would it be possible to add an option to the media-library to make code like this
<s9y_image_with_text id=237 side=left text=test />
<s9y_image_no_text id=237 side=right />
which is transcribed on the fly to the normal html when viewing the article?
I know, this would cause an sql-query for each image on every article-view (to get image-name/url and size, but I think this would be worth for this effort.
every one can write and READ and imagine things like
Code: Select all
h4. blala
and now a [color=red]listint[/color]
# item 1
** subitem 1.1
# item 2
...But then, we have monsters! Monsters like
Code: Select all
<div class="serendipity_imageComment_left" style="width: 130px"><div class="serendipity_imageComment_img"><a class='serendipity_image_link' href='/uploads/Artikel/Gemeinde/Kirche/aussen/IMG_4421test.JPG'><!-- s9ymdb:237 --><img width='130' height='98' src="/uploads/Artikel/Gemeinde/Kirche/aussen/IMG_4421test.serendipityThumb.JPG" alt="" /></a></div><div class="serendipity_imageComment_txt">test</div></div>Would it be possible to add an option to the media-library to make code like this
<s9y_image_with_text id=237 side=left text=test />
<s9y_image_no_text id=237 side=right />
which is transcribed on the fly to the normal html when viewing the article?
I know, this would cause an sql-query for each image on every article-view (to get image-name/url and size, but I think this would be worth for this effort.