D
D
del9937882020-03-28 18:26:26
Client side optimization
del993788, 2020-03-28 18:26:26

Are there image generators?

Hello. To be honest, I don't even know what category to put this question into. Now "web development" - because it will be used on the web.

Is there such a thing (it is desirable that it works on js or php), where you select a background, write text, and it generates an image with this text and background. The output should be an image (png or jpg).

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Dokin, 2020-12-31
@DeniSidorenko

Not quite sure about the images. Why upload images of the same size, but specify double in the code? Maybe you don't know about srcset ?
Regarding the number of requests. You need to watch requests from one domain, because only they have restrictions in terms of simultaneous calls. Those. analytics requests will not block live chat requests, etc. It blocks code parsing at the time of rendering, so optional scripts need to be loaded asynchronously.
Achieving a score > 90 in PageSpeed/Gtmetrix can be very simple: by lazy loading everything that the user does not need at the time of the first render. This applies, for example, to loading all images at once, to embedding third-party code (such as chats and maps).
And let me disagree with the expression that you "have already optimized everything that is possible." Above, I gave a number of recommendations that you most likely did not use. Of course, this is not a complete list, but it is worth starting with these things.
Here is a link to a similar question , where I wrote the recommendations in more detail.

A
Alexey Ukolov, 2020-03-28
@del993788

For example, the GD extension is suitable for you .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question