• 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.

[Modify] BBcode link

Gunz

Chevereto Member
Hello guys i want to add under the images "Uploaded with website"

I tried to modify the link with that, but don't wrap.

Code:
/**
 * get_img_bbcode
 * Returns the img as bbcode
 */
function get_img_bbcode() {
    return htmlentities('[url='.get_img_url().'][img]'.get_img_url().'[/img][/url]
 
Uploaded with website');
}
function show_img_bbcode() {
    echo get_img_bbcode();
}

How can i modify it?
Thanks
 
I red on internet that text field on input is only one row. So maybe i must change it to textarea.
 
Yes, but the problem is that not wrap.

i see:
Code:
IMAGE Uploaded to website
but i want this:
Code:
IMAGE
 
Uploaded to website

I hope you understood me.

ps: Test it with thumbnail (or using little images), and you will see that the "Uploded to website" doesn't wrap.
 
Is because text inputs works in single line. You should try to use text area, try to mimic a input field with CSS so it doesn't look that big.
 
Back
Top