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

links no longer display the viewer in my 2.4.2 site

dotch

Chevereto Member
Since I've upgraded my Chevereto site to 2.4.2 new images uploaded don't generate (thumb)links to the viewer. I think it's not a problem in the viewer as old images uploaded in previous versions still show the viewer. When I upload new images the links display this page:

http://demo.chevereto.com/md

and I want to see links to:

http://demo.chevereto.com/image/md (the difference is " /image/ ")

I've set FALSE:

\content\themes\Peafowl\view.php

" value="<?php show_thumb_bbcode(false); ?>"
" value="<?php show_thumb_html(false); ?>"


\content\themes\Peafowl\uploaded.php

" value="<?php show_thumb_bbcode(false); ?>"
" value="<?php show_thumb_html(false); ?>"

Any help? The viewer is important to me because it generates some money trough ads.
 
Thanks for the quick reply. I tried, but it doesn't work on my site. Did you try this on the demo site?

I've changed the values both in \Peafowl\view.php and \Peafowl\uploaded.php , but no luck.
 
Yes and it works.

HTML:
                <div class="image-tools-section thumb_plus_link">
                    <h3><?php show_lang_txt('txt_thumb_plus_link'); ?> <span><?php show_lang_txt('txt_thumb_plus_link_desc'); ?></span></h3>
                    <div class="input-item"><label for="html-code-<?php show_image_id(); ?>"><?php show_lang_txt('txt_thumb_plus_link_html'); ?>:</label> <input type="text" id="html-code-<?php show_image_id(); ?>" value="<?php show_image_thumb_linked_html('viewer'); ?>" /></div>
                    <div class="input-item"><label for="bb-code-thumb-<?php show_image_id(); ?>"><?php show_lang_txt('txt_thumb_plus_link_bbcode'); ?>:</label> <input type="text" id="bb-code-thumb-<?php show_image_id(); ?>" value="<?php show_image_thumb_linked_bbcode('viewer'); ?>" /></div>
                    <div class="input-item"><label for="thumb-url-<?php show_image_id(); ?>"><?php show_lang_txt('txt_thumb_url'); ?>:</label> <input type="text" id="thumb-url-<?php show_image_id(); ?>" value="<?php show_image_thumb_url(); ?>" /></div>
                </div>
 
I see, but I changed the code to get spaces between thumbs (solved that a few days ago) So how would you change:

Code:
 <textarea id="html-thumb-codes" readonly="readonly"><?php show_images_thumbs_linked_html('shorturl', 'blank', '<img src="%IMAGE_THUMB_URL%" alt="%IMAGE_FILENAME%" border="0" />', ' '); ?></textarea>
            <textarea id="thumb-bb-codes" readonly="readonly"><?php show_images_thumbs_linked_bbcode('shorturl', 'blank', '[img]%IMAGE_THUMB_URL%[/img]', ' '); ?></textarea>

to get the mult-codes link to the viewer?
 
Back
Top