Back

About the Image Transformations

  • 0
  • Storage
  • Cloud
[Object][Object]
12 Mar, 2025, 17:25

Hey I wanted to ask what is the quota for Image Transformations on getFilePreview endpoint for github student plan. As far as I know, it's similar to Basic Pro plan so 100 origin images per month?

TL;DR
Developers discussing GitHub education renewal and image transformations. They suggest using the view endpoint over the preview one and clarify the quota for image transformations in GitHub student plan (similar to Basic Pro, providing for 100 origin images per month).
[Object][Object]
12 Mar, 2025, 17:28
TypeScript
        <div className="aspect-video relative mb-4">
          {/* Use the previewUrl as the image source */}
          <Image
            src={
              `https://cloud.appwrite.io/v1/storage/buckets/67a6452c003b5b6b6502/files/${note.fileId}/preview?project=679a700c0013ee3706ba` ||
              "/jerry.jpg"
            } // Fallback to '/jerry.jpg' if previewUrl is empty
            alt={note.title}
            fill
            className="object-cover rounded-md pointer-events-none select-none"
          />
        </div>
        <p className="text-base text-muted-foreground mb-2 line-clamp-2">
          {note.description}
        </p>
      </CardContent>
[Object][Object]
12 Mar, 2025, 17:29

like I'm using that endpoint to get the file-preview as an image, nothing fancy

Steven
12 Mar, 2025, 17:36

yes, correct, same as Pro plan.

Steven
12 Mar, 2025, 17:37

btw, you're not really making use of the image transformations, so you should use the view endpoint and not the preview one

[Object][Object]
12 Mar, 2025, 17:47

hey thanks!! that worked

[Object][Object]
12 Mar, 2025, 17:57

also how long is the github education active before needing renew (duration) I think the github education offers renewal after every 2 years

So if i signup now I have to renew the appwrite education after 2 years?

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more