• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space

[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