Skip to main content
Topic: [1.1.3] inline images with full size (Read 2751 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[1.1.3] inline images with full size

I attached an image and want it to be shown inline in my post. So I used the new function with size=full and alignment=none. Result: the image is shown in thumbnail size.

See: https://www.elkarte.net/community/index.php?topic=1450.msg37497#msg37497

Re: [1.1.3] inline images with full size

Reply #1

This is another bug ... and maybe an inconsistency.

open ila.integrate.php (sources/subs) and comment out line 399 which says
Code: [Select]
$num .= !empty($modSettings['attachmentThumbnails']) ? ';thumb' : '';

I think the original ILA would show thumbnails for plain [attach]...[/attach] tags.  Now to get a thumbnail you have to specify [attach type=thumb]...[/attach] or maybe it was always that way, its been so long I can't remember  O:-)

The other bug/problem was that it was still showing the "normal" below the post thumbnail (when using just the plain attach tag), commenting out the above line fixes both issues.
Last Edit: June 01, 2018, 09:07:41 am by Spuds

Re: [1.1.3] inline images with full size

Reply #2

I don't have this line in my file. And it ins not in my ILA.subs.php too.

Re: [1.1.3] inline images with full size

Reply #3

LOL .. looks like @emanuele and I are fighting over the same chunk of code  O:-)  That was part of an 1.1.4 fix that I then changed another way.

Anyway, same line 399 ... you will find ;thumb towards the end, just remove that and give it a test.

Re: [1.1.3] inline images with full size

Reply #4

Looking at the original bug report and this report they are related but I'm not sure what the correct ILA behavior is.

Currently in 1.1.4 [attach]some image[/attach] will always show a full size image inline.  To see a thumbnail you have to use type-thumb in the tag.   If this is a problem we need to discuss here and not at 1.1.5

Re: [1.1.3] inline images with full size

Reply #5

YAY! Fighting! :D
Bugs creator.
Features destroyer.
Template killer.

Re: [1.1.3] inline images with full size

Reply #6

Don't tell me you will make a convertor or a script to allow to use the old ila bbcodes on elkarte 1.1. I've edited about 500 messages manually  :)

Just kidding and sorry for the OT  :D
sorry for my bad english

Re: [1.1.3] inline images with full size

Reply #7

I would love that and I would pay a little for it too.


Re: [1.1.3] inline images with full size

Reply #9

You mean in that specific topic?
Change:
Code: [Select]
[attach type=thumb]6057[/attach]
to:
Code: [Select]
[attach type=image]6057[/attach]
Bugs creator.
Features destroyer.
Template killer.

 

Re: [1.1.3] inline images with full size

Reply #10

Yes, thank you!