• 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

Some questions about uploaded page modifications

John

Chevereto Member
Hi,

I have questions about how-to modify some things of the uploaded page for multi-uploads:

-Where can I make taller (+height) the uploaded_list div id (114px by default) so it doesn't need a scroll bar?

-How can I make the thumbnail+link code linked to the visualizator instead of the full image (both in the textarea before at the top of the page and at the bottom (after the image)? And the normal bb codes (no thumb)? And link the direct links of the textarea to the visualizator instead of the image file?

Thanks 🙂 (and sorry for my bad english)
 
1. Go to content/system/js/peafowl.php and find this:
Code:
$(uploaded_list).height($(this).outerHeight(true));
and replace with:
Code:
//$(uploaded_list).height($(this).outerHeight(true));

2. From the documentation:
> get_thumb_html($arg)
Returns the image thumb as HTML tag, like <img src="http://127.0.0.1/images/thumbs/image.jpg" border="0" />. If $arg = true (default) the code will generate a link to the full image url, $arg = false will use the viewer instead. show_thumb_html() echoes this function.

> get_thumb_bbcode($arg)
Returns the thumb + img link as BB-Code. If $arg = true (default) the code will generate a link to the full image url, $arg = false will use the viewer instead. show_thumb_bbcode() echoes this function.

You have to go to the view.php file of your template dir and change the calls to that functions to include the "false"argument.
 
Open content/themes/Peafowl/view.php and change this:
Code:
show_thumb_html(true)

to this:
Code:
show_thumb_html(false)

And change this:
Code:
show_thumb_bbcode(true)

to this:
Code:
show_thumb_bbcode(false)
 
Mmm then you are doing something wrong. Like using and old version or not uploading the changes.
 
Back
Top