• 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.
  • Chevereto Support CLST

    Support response

    Support checklist

    • ⚠️ Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • ✅ Confirm that the server meets the System Requirements
    • 🔥 Check for any available Hotfix - your issue could be already reported/fixed
    • 📚 Read documentation - It will be required to Debug and understand Errors for a faster support response

Help with absolute path to image folder

Valerius

Chevereto Member
How do I get absolute path to the images folder.

PHP:
$imgurl = G\get_base_url(CHV\getSetting('upload_image_path')) . '/'  . $datepath .  'AND HERE???' . 'th.jpg'

Up to here I have this and how do I get out photo file?
 
Last edited:
Usually the context define that path, if you are listing images you will get different paths and all of them are built-in in the image array. For anything else (like your own iterator and things like that) you could use the following built-in functions:

PHP:
G\relative_to_absolute('relative path here');
G\url_to_absolute('URL here');

Hope it helps.

P.S. This is not a Tech support issue. Topic moved.
 
Back
Top