Disable"Full Image" when inserting attachments

alexm

Active member
Would be great if this feature could be implemented in the next update. I am tired of editing fullsized image posts.

Has anyone done anything more with this?

Ideally I'd like to exchange this in the editor:
Code:
[ATTACH type="full"]248556[/ATTACH]

With something like this:
Code:
<CR>
[ATTACH type="full" width="300px"]248556[/ATTACH]
<CR>

I'm a bit sick of editing full sized image posts too and I don't think disabling the "Insert image" button will do it sadly... then I'd end up explaining where the "Attach files" button is and why the "Insert image" button has gone! 🤔

Is there anything out there that anyone has tried?

cheers,

Alex
 

briansol

Well-known member
Ideally,

XF would process on the back-end every upload in at least 3 sizes + thumbnail.

based on device, show, Thumb, S,M,L


Many may hate this as it would triplicate storage. But it works well on the edge/s3.

i've been looking into cloudflare images but it's not straight forward.
 

briansol

Well-known member
Has anyone done anything more with this?

Ideally I'd like to exchange this in the editor:
Code:
[ATTACH type="full"]248556[/ATTACH]

With something like this:
Code:
<CR>
[ATTACH type="full" width="300px"]248556[/ATTACH]
<CR>

I'm a bit sick of editing full sized image posts too and I don't think disabling the "Insert image" button will do it sadly... then I'd end up explaining where the "Attach files" button is and why the "Insert image" button has gone! 🤔

Is there anything out there that anyone has tried?

cheers,

Alex
this doesn't actually reduce the file size, though. it just scales down. your browser can already do this for you with the image fit css on it.
 

alexm

Active member
this doesn't actually reduce the file size, though. it just scales down. your browser can already do this for you with the image fit css on it.
Hi @briansol

I know it just scales it down but I'd be happy just to get the look of it sorted. Can you do this with CSS? Any idea where/what I should put?

cheers,

Alex
 

alexm

Active member
I'm after something like this:

With something like this:
Code:
<CR>
[ATTACH type="full" width="300px"]248556[/ATTACH]
<CR>

a) it splits text and image apart where they leave them joined like this:

1647631160076.png


b) it puts a nice sized image when they upload it 'full size', and if they really want a 'full size' image they can adjust it afterwards!

1647631622757.png
 
Top