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

Make it default to generate the shorturls in multi-upload block?

TaintedPix

Chevereto Member
I'm sure its just something like changing a small bit of code in uploaded.php, but I'm trying to figure out how to have the multi-uploaded pictures NOT have /image/ as part of their destination code much like the BB code for individual images when short urls is clicked.
 
Open content/themes/Peafowl/uploaded.php and change this:
Code:
            <textarea id="html-thumb-codes" readonly="readonly"><?php show_images_thumbs_linked_html('viewer', '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('viewer', 'blank', '[img]%IMAGE_THUMB_URL%[/img]', ' '); ?></textarea>

To this:
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>
 
Back
Top