• 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

Random Image - Album Based

ashkir

👽 Chevereto Freak
I would like an option to enable random image and get a "link" that generates a random image that ends with a .jpg (to trick forums/etc) to actually load a random image. I have a code that can do that with root contents, but, no idea how to implement it.

For example: I have 5 forum avatars, I'd like a random one to load from my album. Each time the page loads a random icon is fetched.
 
Thinking about this in the server file streaming or delivery terms, the most efficient way to achieve that is using dynamic server side rewrite rules. Problem is that for each hit you will need to re-do the rewrite rules, maybe you can create a cron so the image is updated each hour or so.

The alternative is to use .php to serve the image which I don't recommend at all. For each hit you will be calling a lot of resources (php, mysql, etc.) so it is not recommended at all. Seriously I don't recommend to use .php to achieve this unless you want to burn that server.
 
Thank you for the response. I have a script that does randomly display anything as an index.php and we just name the folder test.jpg so it's really mysite.com/test.jpg/ but without the / it works and most services will accept the random link. Anyways, I would absolutely love and pay for this to be a feature. This is a highly requested feature I'm seeing across many imagehosts. There is two other hosts right now that do offer it as a service. It's quite popular with RPers, and I think it should solely be album based or an addon feature that you choose your own images for it.
 
This is a highly requested feature I'm seeing across many imagehosts.
Really? First time I heard about this.

Like I said, if you want to burn the server go ahead and use a PHP method.
 
Back
Top