Recent Topics

1 Apr 10, 2010 20:57    

My b2evolution Version: 3.3.2

Okay, has anyone made a hack to get rid of that annoying auto insertion of <a href="xxx.jpg"></a> when you insert an image from the media folder?

And another thing. Is there any way to made the Smile rendering enabled as default? When ever I start a new blog, I always have to check the [x] Smileys part to get my emoticons to show up.

2 Apr 10, 2010 21:23

TychoX wrote:

Okay, has anyone made a hack to get rid of that annoying auto insertion of <a href="xxx.jpg"></a> when you insert an image from the media folder?

You should link images instead of inserting their code into posts. Then you can edit the skin to display images without links.

And another thing. Is there any way to made the Smile rendering enabled as default? When ever I start a new blog, I always have to check the [x] Smileys part to get my emoticons to show up.

Go to plugin settings and select "always" for rendering method

4 Apr 17, 2010 20:44

i dont see any kind of positioning there

5 Apr 17, 2010 22:31

Er... Are we talking about the same post? You can see images inserted between the paragraphs of text. If you link the images, they all appear at the top of the post. Am I missing something?

6 Apr 17, 2010 22:35

yea i can see one image on top of post, and the others in between paragraphs...I would not know about linked images, as i dont use them, clarify the situation for me, would you..

So are you saying ? :

a.) Manually inserted: /*the image appears wherever you insert it*/

[MII]
[CONTENT]
[CONTENT]
[MII]
[CONTENT]
[MII]

*MII- manually inserted image

b.) Linked Image inserted: /*the image appears on top of posts, no matter what*/

[LII]
[LII]
[LII]
[CONTENT]
[CONTENT]
[CONTENT]

*LII- Linked image inserted image

and you want b, not a ? /*without the applied links*/

7 Apr 17, 2010 22:54

I am not the original poster, but yes, that's what I'm saying. By linking, he gains the ability to get rid of the links, but loses the ability to intermingle text and images.

8 Apr 17, 2010 22:57

well if by "intermingle" you mean, images getting mixed within content, you may well insert your images 'before' content[text] manually, then start entering your content

9 Apr 17, 2010 23:00

How would I do that? I still get an empty textarea after linking the files.

10 Apr 17, 2010 23:02

The only way to get rid of links in inserted images is delete <a> tag

11 Apr 18, 2010 00:26

bit wrote:

How would I do that? I still get an empty textarea after linking the files.

you wont link anything, you will upload your image and insert the images first if you want them on top..

Post-title

<img src=media/mypic1.jpg />
<img src=media/mypic2.jpg />
<img src=media/mypic3.jpg />

[CONTENT]Lorem ipsum...........[/CONTENT]

12 Apr 18, 2010 01:01

Quod erat demonstrandum.

My point is that what you want can only be done by inserting, not by linking. It was an answer to sam2kb who said, "You should link images instead of inserting their code into posts. Then you can edit the skin to display images without links." ;)

This is to say, it looks like what TychoX wants can only be done through a source hack.

13 Apr 18, 2010 01:34

Thanks for the lorem ipsum sarcasm, but remember you might not be the only one having the problem and need an explanation.

Anyways, i assume i got it wrong, and you approved me wrong either...

From your latest explanation i get "Yes, i want my images to be linked, however, if i use auto image linking, i can not insert them wherever i want. I 'could' insert them manually instead, but that would cost me additional time to link them -manually- each time."

If thats it, the problem seems to be "Why are linked images seem always on top of the post and not where i want them to be", right ?

14 Apr 18, 2010 01:44

Oh no no, it was not sarcasm, sorry if it came out that way. You've always been kind, and I wouldn't mock you. I promptly apologize.

As I see, there are two different problems here. The problem with linking is that it is not flexible for positioning, and the problem with inserting is that it is not customizable so that you can change the code.

In my opinion, there should be only one method: linking, with customizable code and an explicit indicator in the textarea for the placement of the image. Because, if you choose inserting and then move your images around, all links break, but when you choose linking, the code gets automagically updated and nothing gets broken.

16 Apr 18, 2010 02:21

And how did you do that? I definitely AM missing something.

18 Apr 18, 2010 08:49

We have a problem of terminology here. In that video, it's clearly seen that you are inserting ("Insert IMG/link into post"), and not linking (chain link button), the image. Try moving it to a different blog (with the button in the right column that has something resembling a "Play" control) and the link will break.

19 Apr 18, 2010 19:04

bit wrote:

As I see, there are two different problems here. The problem with linking is that it is not flexible for positioning, and the problem with inserting is that it is not customizable so that you can change the code.

This is all true.
As I wrote above, you can either modify a file to get the <img> code that you need or you will have to manually edit each inserted image. I'm not talking about linked images.

20 Apr 18, 2010 21:10

i give up on this, i dont seem to understand what the issue is

21 Apr 18, 2010 21:19

You'd need to hack the core for this and replace <img src="hard-coded-url" to <-- i want to be a "linked" image" src="file_id=##" rest_of_attributes_for_current_tag /> -->" and then use a renderer to convert that to a real <img src="hard_coded_link_unless_pre-rendered_cache_is_deleted" rest_of_attributes /> tag .... ish

¥


Form is loading...