# Do big pictures and videos make my app slow?

Checked 2026-11-15 against GilbApp d5296208bbffa2ab70076e6194f5537c4be1ddf7.

Yes, they can. Ask your AI to make pictures no bigger than they are shown, load lower ones later, and keep videos short.

## Deeper

Pictures. Google says a page should never send a picture larger than it is shown on the screen: "Anything larger than that just results in wasted bytes and slows down page load time." Its advice: make several sizes of a picture so the browser picks the right one, and use SVG, a kind of picture written as text, for icons and other drawings that must grow and shrink \(https://developer.chrome.com/docs/lighthouse/performance/uses-responsive-images, read 13 November 2026\). A picture further down the page can also wait until the visitor scrolls near it; Google warns: "Don't lazy-load images that are likely to be in-viewport when the page loads", that is, do not hold back the pictures people see first \(https://web.dev/articles/browser-level-image-lazy-loading, read 13 November 2026\).

What your AI does. Agent.Coder, the agent that writes your app's code, saves the pictures your app needs in the app's own folder. An agent is your AI following one written procedure, its standing instructions, for one kind of work. Its speed rule says that when the app reads ahead of time for the next screen, it should fetch fewer pictures on small screens and skip that when the browser asks to save data \(the rule's status note of 29 October 2026 says the small-screen part was not checked\), and that the main picture shows as soon as it has arrived. Ask your AI to make your pictures smaller and to check them with Lighthouse, the check in the Chrome browser; one of its checks is "Properly size images". The answer [How do I make sure my app is fast, and how do I measure it?](http://support.gilb.com/help/how-do-i-make-sure-my-app-is-fast-and-how-do-i-measure-it) shows how to run it.

A limit you will meet first. When your app goes live, at https://&lt;name\>.pages.dev, a web address of its own, all its own files together may be at most 5 MB and 2000 files; a bigger app is refused with "The files total … MB; at most 5.0 MB are allowed." So big pictures may need to be made smaller anyway.

Videos. A video counts toward the same 5 MB, so only short, small videos fit in your app's own files. The rules of a published app let videos come only from the app's own files, so a video kept in a vault, or on another website such as YouTube, is not allowed there today. If your app needs longer videos, write to support@gilb.com.

Pictures that change, such as products, can be files in a vault, the place where records are kept: the rules of a published app let pictures come from GilbPlatform's addresses, so they do not count toward the 5 MB. Ask your AI to keep them small too. Where to keep each kind of picture is in [Where do I put the pictures and videos for my app?](http://support.gilb.com/help/where-do-i-put-the-pictures-and-videos-for-my-app)

This answer is written for a computer screen.

Source: Chrome, Lighthouse, Properly size images \(https://developer.chrome.com/docs/lighthouse/performance/uses-responsive-images, read 13 November 2026\). web.dev, Browser-level image lazy loading for the web \(https://web.dev/articles/browser-level-image-lazy-loading, read 13 November 2026\). Standards read from GilbPlatform on 13 November 2026: Agent.Coder \(GilbStack 7a: save every image in the app's own folder; Contextual: Rule\_Code\_gilb-app-speed\), Rule\_Code\_gilb-app-speed \(RuleAppspeedPrefetch: fewer heavy items on small screens, skip when the browser asks to save data; RuleAppspeedVisibleWait: show the main content, for example a picture, as soon as its bytes arrive\), Rule\_Code\_deployment \(RuleDeployPagesDev: 2000 files, 5 MiB; img-src 'self' and https://\*.gilb.com\). GilbPlatform 0fc5a548 \(https://id.gilb.com/version, read 13 November 2026\): src/publish/ticket.ts:19, :31 \(2000 files, 5 MiB\); workers/publish-ingest/src/checks.ts:139-140 \(the refusal words\), :171 \(the site's content rules: default-src 'self', img-src 'self' data: blob: https://\*.gilb.com\). Live help pages, sentences shared: Where do I put the pictures and videos for my app?
