image test

Christian Beer
Christian Beer
Joined: 9 Feb 05
Posts: 595
Credit: 188451812
RAC: 248312
Topic 199785

Image using traditional bbcode tags:

Image using WYSIWYG editor: Mikes avatar

End of "Rich text" posting

Christian Beer
Christian Beer
Joined: 9 Feb 05
Posts: 595
Credit: 188451812
RAC: 248312

This seems to work:

This seems to work:

End of "Full HTML" posting

Christian Beer
Christian Beer
Joined: 9 Feb 05
Posts: 595
Credit: 188451812
RAC: 248312

Let's see how quoting the

Let's see how quoting the "Rich text" first post works using "Rich text":

Christian Beer wrote:

Image using traditional bbcode tags:

Image using WYSIWYG editor: Mikes avatar

End of "Rich text" posting

archae86
archae86
Joined: 6 Dec 05
Posts: 3157
Credit: 7223614931
RAC: 1004630

Just to get another example

Just to get another example in here to check that the system can display something besides Mike's picture using the simple img tag method:

I deliberately chose a small picture fragment not to waste transmission.  This image was part of debugging a lens problem.

And yes, as seen here, the img tag method applied to a url to my photobucket account works for me now.

 

 

Mike Hewson
Mike Hewson
Moderator
Joined: 1 Dec 05
Posts: 6588
Credit: 317234366
RAC: 365772

FWIW : Of interest may be

FWIW : Of interest may be what happens if :

- you have already formed and posted a comment with an image by some method.

- but decide later to edit that image eg. resize, but written/refreshed to the same web address that is referenced.

- the BBCode "img" tag will pick up the edit change.

- but the Insert/Edit Image approach doesn't.

That suggests Drupal is caching a copy with the Insert/Edit Image method by the time that dialog is finalised, but retrieving 'on the fly' with BBCode when ( presumably ) the PHP is processed on page fetch.

If that's the case then will the E@H Drupal DB, with time, acquire a potentially huge cached image load of those presented via Insert/Edit Image. Yes ? No ?

Cheers, Mike.

I have made this letter longer than usual because I lack the time to make it shorter ...

... and my other CPU is a Ryzen 5950X :-) Blaise Pascal

Christian Beer
Christian Beer
Joined: 9 Feb 05
Posts: 595
Credit: 188451812
RAC: 248312

There is a difference when

There is a difference when using the bbcode img tag and the drupal one. The first will just display the image linked to in it's original size. The drupal img get's kind of fetched when you enter the URL (to your computer not the server). It then determines the dimensions and enters them in the appearance tab of the Edit/Insert image dialog. In order to resize the image you need to change the value there and do not need to resize the original image. The same can be achieved with the bbcode tags too (by specifying dimensions in the img tag). See the explanation in the BBcode help that is under the editor field.

Something else I just noticed and that will be put into a bug report is that I can't post bbcode tags as part of a <code> or <pre> segment. So I can't post an example here.

Mike Hewson
Mike Hewson
Moderator
Joined: 1 Dec 05
Posts: 6588
Credit: 317234366
RAC: 365772

Thank you Christian. If it's

Thank you Christian. If it's only the size that is remembered then so much the better. I had visions of the DB being steadily overwhelmed. Anyway this also means that other image edits will stay 'live' either way.

FWIW : IIRC I don't think we have ever been able do any other BBCode inside <code> and <pre> ....

Cheers, Mike.

 

I have made this letter longer than usual because I lack the time to make it shorter ...

... and my other CPU is a Ryzen 5950X :-) Blaise Pascal

Christian Beer
Christian Beer
Joined: 9 Feb 05
Posts: 595
Credit: 188451812
RAC: 248312

Please ignore this

Please ignore this post.

Just some German umlauts: ä, ö, ü, ß
Tokio: 東京

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.