Command to Rotate Thumbnail Only in Dolphin

Is there a simple command to rotate a thumbnail in Dolphin?

In Gwenview all the thumbnails have the proper orientation. My desktop is KDE Plasma.

If I copy an image from my phone through Dropbox onto my desktop, essentially, and opening the images with GIMP, I am prompted to rotate the image. Nevertheless, Gwenview thumbnails are always fine, Dolphin thumbnails are rotated (but only images from my phone).

I wouldn’t mind rotating one thumbnail at a time because I do not have many images regularly.

But maybe KDE or Dolphin is not reading something from my phone image, exif data. IDK, I’m so dumb at this.

Hi - just to make sure I’m understanding the situation correctly, it sounds like there are photos with incorrect rotation in Dolphin’s thumbnails, but correct rotation in Gwenview (in either its thumbnails or full view)? And then, editing the image in GIMP corrects the Dolphin thumbnail?

There were several rotate ( and some ) servicemenus available in 5-ish. Dunno 'bout 6. There are some straightforward commands for certain file types as well.

One such big servicemenu is/was, for example, Reimage.

There are certain image commands, like for example, jpegtran ( only works on jpg’s) that perform simple tasks, like rotate.

Here’s another one that uses mogrify.

So, I guess you could look for a available servicemenu or look for a tool that does this kind of image manipulation and make a servicemenu yourself.

1 Like

Oh gosh, I think I goofed. Maybe it’s GIMP. I need to look into this further. Even though I have several rotated thumbnails, for months back, I failed to reproduce this today.

I would open the file with GIMP, GIMP would ask me to rotate the image clockwise (it still does). I would rotate the image, make several edits for several minutes, and save the file, renaming it — which would in turn rotate the edited image thumbnail clockwise, again.

The original uploaded image thumbnail is properly oriented, I mis-wrote about this.

Yet, I just tried opening a coffee cup file in GIMP, it asked me to rotate, I obliged. I made no edits, and save the file under a new name, and this time the thumbnail is correct.

Then I reopened the file, made one edit, saved it under a new name, and the thumbnail is fine!

This is really aggravating my “dyslexia!”

I’ll come back to this later tonight. Thank you for your responses!

I opened the file a second time, and GIMP did not ask me to rotate.

Sorry for all this confusion! I have to try this again later tonight from scratch.

Myeah…mowkay. Gimp asks to rotate because you didn’t click “don’t ask again” previously. Anywhoo…besides the goof, you now know there are options in the form of image servicemenus in the case your coffee is upside down in dolphin.

I’ve been working with GIMP for 20 years and never had this problem — but I just installed Debian 12 and I’m working out all the kinks and perhaps I’m a bit off-balance — AND I must be turning into a complete moron.

Or we are living in a quantum mechanical simulacrum, where once I write about something, it fixes itself!

arghh… :face_with_open_eyes_and_hand_over_mouth:

Thank you !!!

I thought the “do not ask again” would just always load the image un-rotated with an improper orientation, and thus I would not be able to go back and change it. Thus far, however, everything is working fine.

A quantum simulacrum. Well…kinda. A selfmade reality. You write it…it gets done. Well, sometimes. Like Lao Tzu put it: Watch your thoughts, they become your words; watch your words, they become your actions; watch your actions, they become your habits; watch your habits, they become your character; watch your character, it becomes your destiny. :rofl:

On a sidenote :laughing: Since you’re on Bookworm, that Reimage servicemenu is pretty good stuff for images. Tons of options. There’s a deb for it. https://store.kde.org/p/1231579

1 Like

Awesome, I’ll check that out, too. And thanks for the laughs! My destiny is going to be harsh. :sweat_smile:

Okay, dzon, that link looks interesting. I will check it out later.

How about this question: Why is the thumbnail in Dolphin rotated clockwise (left side up), and regardless of what I use to open it, Feh, Image Viewer, Chrome, Gwenview, the app opens the image with the correct orientation (top side up)? Nor does GIMP ask me to rotate it anymore, and it opens with GIMP correctly too, for example.

Where did I go wrong in my life?

Okay, it happened again: I opened the file in GIMP, there was no prompt to rotate. The image file opened with the correct orientation. I made one edit, cropped, and exported the file with a rename (.edit), and the thumbnail appeared rotated in Dolphin.

Is this a GIMP question? What am I doing wrong?? :joy_cat:

Maybe it’s my usb4 port, LOL. I would not be surprised.

I really have no idea. I can’t reproduce it. If it’s just that one file, I’d say the ghost in the machine or call the exorcist or Constantine.
For example: I rotated this png.

Ran it in Gimp ( no “should I rotate whatever” prompt) and scaled it.

Renamed and saved. Does what it says on the tin. Still rotated but scaled.

And opens up as such in any image viewer for that matter.

Maybe I should try with a portrait picture, a cellphone shot…something

Edit: Some portrait thing from za Pheun. No probs whatsoever.

D’you have the Vatican redline number?

Thank you. I don’t feel crazy anymore. I am almost certain it’s a hardware issue on my end, I think it only does it from my phone (perhaps Dropbox).

I will try to untangle my motherboard USBs and report back, probably in a couple weeks LOL

I untangled my USBs, but the Dolphin on Debian 12 behavior is still the same for me, rotating thumbnails after an ‘export’ or ‘save as’ either thru Gwenview or GIMP.

On the other hand, if I merely upload the file without opening it in another application, the thumbnail orientation will be displayed correctly.

I just want to rotate some thumbnails lol :weary:

Attached is a screenshot of my thumbnails, and they all open correctly, with the correct orientation, in every application that I have tried, thus far.

The thumbnails in my Dolphin application are either correct, or rotated clockwise ninety degrees. In Gwenview, the thumbnails are all correct.

So that’s my KDE Dolphin problem, atm. It’s photos from my phone to Dropbox, to Dolphin, open an application, save the edits, and the thumbnails are rotated clockwise 90 degrees.

Doesn’t anyone else have this problem??

Can’t reproduce it man. Only thing I can think of is a metadata issue. Could you try such a file without any exif data?

Thanks for your help!

Yes, I learned today that it’s only when I shoot the Samsung S23 Ultra in Pro mode, which has accurate GPS stored in the metadata, incidentally.

When the photo is taken in Photo mode and saved, it’s fine, the image orientation reads Unchanged (see image), according to Gwenview.

I just have to strip or change that particular piece of metadata from Pro mode, it’s not correct. I’m not sure where it’s coming from.

Nevertheless, the thumbnail is in the correct orientation, when I first see the thumbnail in Dolphin until I open it and re-save it, then it changes to ‘wrong.’ It’s so annoying. :joy_cat:

But I can open it with GIMP and save it as a new file without the EXIF and XMP data, and everything works fine thereafter. I’ll just ignore the original file … keep it for my records. :joy_cat:

Screenshot_20250112_004228

Or use some servicemenu of course.