• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.
  • Chevereto Support CLST

    Support response

    Support checklist

    • ⚠️ Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • ✅ Confirm that the server meets the System Requirements
    • 🔥 Check for any available Hotfix - your issue could be already reported/fixed
    • 📚 Read documentation - It will be required to Debug and understand Errors for a faster support response

How to remove new line from embed codes?

DonnyD

Chevereto Noob
Hey,

I'm really impressed with Chevereto, but one thing puts me off.
I see there was a few old threads for this, but none of them are valid anymore.
So my question is, how do you remove the new line after each image, and have the bbcodes outputted as grouped instead?

Change:
<img>
<img>
<img>
To:
<img><img><img>

I've tried to find the variables, and found some in embed_tpl.php:
However changing "\n" to " " on all lines does not fix it.
Sorry i'm a noob, and would be very happy if someone could help me fix this.
 
Can you show some pictures to get a better understanding of what exactly you are asking?
 
Example:

Out of the box Chevereto outputs the embed links one image per line.
This creates vertical screenshot layouts, eg. one image per line.
This is very unfavorable, and i've never seen it used anywhere, so i'm clueless as to why this would be standard.

Raw Output example:

Code:
[url=http://localhost/imagehost/image/wU5][img]http://localhost/imagehost/images/2018/10/18/GTA-Vd7bc35d703c4296e.md.jpg[/img][/url]
[url=http://localhost/imagehost/image/8uT][img]http://localhost/imagehost/images/2018/10/18/GTA-V2fac3cdc5275d10e2.md.jpg[/img][/url]
[url=http://localhost/imagehost/image/nBB][img]http://localhost/imagehost/images/2018/10/18/GTA-V33da5616b57f34824.md.jpg[/img][/url]


Visual Example (Bad):

originaloutput.jpg

What i need:

Right now, after each upload i copy the links, paste them into notepad++ and join lines (removes the new line outputted by chevereto)
This creates horizontal screenshot layouts, that saves alot of space, and looks much better.

Raw Output example - with new lines removed:

Code:
[url=http://localhost/imagehost/image/wU5][img]http://localhost/imagehost/images/2018/10/18/GTA-Vd7bc35d703c4296e.md.jpg[/img][/url][url=http://localhost/imagehost/image/8uT][img]http://localhost/imagehost/images/2018/10/18/GTA-V2fac3cdc5275d10e2.md.jpg[/img][/url][url=http://localhost/imagehost/image/nBB][img]http://localhost/imagehost/images/2018/10/18/GTA-V33da5616b57f34824.md.jpg[/img][/url]

Visual Example (Great):
newlinesremoved.jpg


Hope these examples clarifies my question :)
 
Sorry thought this was a CSS question, I'm technically limited to answer this 😅
 
This is standard on all imagehosts i've seen using chevereto, so someone must be able to help me archieve this ? :)
 
Back
Top