Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8789291
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T22:21:57+00:00 2026-06-13T22:21:57+00:00

The new thumbnail feature works great when inserting a new file. Is there a

  • 0

The new thumbnail feature works great when inserting a new file.
Is there a way to update the thumbnail for an existing file?
I did not manage to update the thumbnail (in Java) using the files().patch() or files().update() methods.
I don’t get any error message, but the thumbnail in Google Drive is just not changing when uploading a new thumbnail.

File file = drive.files().get(fileId).execute();
String encodedImage = Base64.encodeBase64URLSafeString(imageData);
Thumbnail thumbnail = new Thumbnail();
thumbnail.setImage(encodedImage);
thumbnail.setMimeType("image/png");
file.setThumbnail(thumbnail);
drive.files().update(fileId, file).execute();

Update:
As I am using exactly the same code for inserting a file with thumbnail (which works) and updating the file as shown in the code snippet above (which will not update the thumbnail) it may make sense that you use my app to perform both operations.

Login to www.ultradox.com
Copy one of the examples. 
This will create a new file on your Google Drive with the correct thumbnail 
(as it triggers the insert file method with thumbnail).
Click on the "Customize" button
Scroll down and click on the thumbnail image to upload a new thumbnail
= Thumbnail not changed, but update should be triggered. 
So probably something shows up in your logs?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T22:21:58+00:00Added an answer on June 13, 2026 at 10:21 pm

    The current behavior is that updates to metadata alone do not allow a change in the thumbnail. So changes to the metadata alone do not take the thumbnail change. I am not sure this is the best behavior, and we will try to improve it to:

    1. Allow the thumbnail update
    2. Report an error rather than appearing to succeed
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

FileOpenPicker openPicker = new FileOpenPicker(); openPicker.ViewMode = PickerViewMode.Thumbnail; openPicker.SuggestedStartLocation = PickerLocationId.PicturesLibrary; openPicker.FileTypeFilter.Add(.jpg); openPicker.FileTypeFilter.Add(.jpeg); openPicker.FileTypeFilter.Add(.png);
Today I have another specific question about a new feature in windows 7 called
Is there any way (server or client side) to force the browser to pull
About 6 months ago there was an update to the WordPress API which allows
I'm using the all new HTML layer feature introduced in 1.2.5 of the galleria
I have the following HTML: <select class=file_image_type name=file_image_type> <option>Gallery</option> <option>Feature</option> <option>Thumbnail</option> </select> This is
I'm new to this concept but I'm sure there should be solution to it.
new on ruby and using windows xp and rails 3, i want to send
New to PHP and MySQL, have heard amazing things about this website from Leo
new to c#. I'm trying to make a simple system where I can search

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.