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

Paying to have this done

Just tell me how much you are willing to pay, and I will do it for you.

As you may know I have contributed a lot of mods,
and I am a pretty good Web based languages developer, so anything you may ask for won't be necessary hard for me to do.
 
i hope you did not pay.

go to template.functions.php

and find "get_thumb_html" (its near the bottom)

you should see this.

Code:
/**
 * get_thumb_html
 * Returns the thumb + img link as html
 * arg -> true  : uses the full image URL
 * arg -> false : uses the viewer URL
 */
function get_thumb_html($full=true) {
    if($full) {
        $href = get_img_url();
    } else {
        $href = get_img_viewer();
    }
    return htmlentities('<a href="'.$href.'"><img src="'.get_thumb_url().'" border="0" /></a>');
}
function show_thumb_html($full=true) {
    echo get_thumb_html($full);
}

try changing
Code:
function get_thumb_html($full=true) {
to
Code:
function get_thumb_html($full=false) {

then see if that works.

that did not work for me so i think i may have done something wrong or im misunderstanding where the false is meant to go or some other reason why it did not work. (hopefully someone will understand where i went wrong)

but if you try that and it still does not work then try this as its how i got it to work.

change the "get_img_url" to "get_img_viewer"

so you have

Code:
function get_thumb_html($full=true) {
    if($full) {
        $href = get_img_viewer();
    } else {
        $href = get_img_viewer();
    }
    return htmlentities('<a href="'.$href.'"><img src="'.get_thumb_url().'" border="0" /></a>');
}
function show_thumb_html($full=true) {
    echo get_thumb_html($full);
}

its a bit of a patch job but it does the trick and its worked for me.
 
Back
Top