• 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

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