You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, just read your code, went through the same adventure as you writing an optimization endpoint and a image component for a painting gallery website (but going less further) so I want to give you a feedback from my thoughts, take it as is.
I had a problem where Google would not index my images, even if given in the sitemap.xml
So if not already ensured, I think you should ensure that images generated from your library are indexed by Google.
FYI for me the problem have been fixed after I added following changes :
Used a simple URL for the image (no "api" or many paths parts) (this looks the default for you so great).
Used a src with no query parameters.
Added a "content-length" header (this looks already done for you so great).
The text was updated successfully, but these errors were encountered:
Hey @NicolasCharpentier, thanks for the heads-up. I appreciate it! Also apologies for the late response, I've been super busy over the past few weeks, but I finally released v1 of openimg! 🥳
I assume you believe that the query parameter approach may result in worse indexing performance?
alternative (potentially better): src="/img/cat/100/100/webp"
Doubling checking just so I understand correctly! I can't find any information about this in the Google guidelines (which of course doesn't mean it's not true).
Hi, just read your code, went through the same adventure as you writing an optimization endpoint and a image component for a painting gallery website (but going less further) so I want to give you a feedback from my thoughts, take it as is.
I had a problem where Google would not index my images, even if given in the sitemap.xml
So if not already ensured, I think you should ensure that images generated from your library are indexed by Google.
FYI for me the problem have been fixed after I added following changes :
The text was updated successfully, but these errors were encountered: