• 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

How to show images in "Explore" just from custom ids

demontaihack

Chevereto Member
Dear Chevereo team,

I would like to ask if it's possible to show images in "Explore" page just from some certain Ids.
I also want to import free stock images from my computer to my website? which way is the fastest way to do that?

Thanks in advance.
 
I would like to ask if it's possible to show images in "Explore" page just from some certain Ids.

Copy app/routes/route.explore.php to app/routes/overrides/route.explore.php

Open app/routes/overrides/route.explore.php

Find this
PHP:
$list->exec();

Add the following code just before that line
PHP:
$list->setWhere('WHERE image_user_id IN (1,2,3,4)');

Where 1,2,3,4 is a comma separated list of IDs that you want to use.

I also want to import free stock images from my computer to my website? which way is the fastest way to do that?
No way to do that unless you build your own importer (directory iteration + db injection).

Hope it helps.
 
Back
Top