• 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

Album images embed codes

Do a CHV\DB::get(). I didn't put that because albums has no limits so an album with a large number of images could be a problem.
 
How about if the option is available only for albums with x images. If it has more show a message like "the album has to many images".
And i have no idea how to use CHV\DB::get().
 
PHP:
CHV\DB::get('images', ['image_album_id' => <put the album internal id here>], 'AND', ['field' => 'date', 'oder' => 'asc']);

That will get all the images matching to that album id ordered by date desc.
 
Back
Top