• 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

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