# Server resized thumb and art

**URL:** https://forums.plex.tv/t/server-resized-thumb-and-art/13065
**Category:** Dev/API Corner
**Tags:** other-dev
**Created:** [December 8, 2011, 6:45am UTC](https://forums.plex.tv/t/server-resized-thumb-and-art/13065 "2011-12-08T06:45:24Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![clintsinger](https://avatars.discourse-cdn.com/v4/letter/c/f9ae1b/32.png) [@clintsinger](https://forums.plex.tv/u/clintsinger)
#### Post date: [December 8, 2011, 6:45am UTC](https://forums.plex.tv/t/server-resized-thumb-and-art/13065/1 "2011-12-08T06:45:24Z")

</div>

Hi,  
  
  
  
I am working on a Plex client and I was wondering if it is possible to get PMS to send back the Thumb and Art images resized at the server? If I just browse to the URI of the art, I will usually get a high resolution image which is about 500kb. This seems like a waste of bandwidth (especially over metered cellular) when I really only need a small thumbnail.  
  
  
  
Perhaps HTTP header properties or something I can stick on the end of the URI?  
  
  
  
Cheers,  
  
Clint

---

<div class="post-metadata">

### Author: ![ozie](https://avatars.discourse-cdn.com/v4/letter/o/c2a13f/32.png) [@ozie](https://forums.plex.tv/u/ozie)
#### Post date: [December 8, 2011, 8:05am UTC](https://forums.plex.tv/t/server-resized-thumb-and-art/13065/2 "2011-12-08T08:05:31Z")

</div>

yup

```auto

http://url:32400/photo/:/transcode?width=<width px>&height=<height px>&url=<url of the photo safe encoded>

```

  
  
so like  
  

```auto

http://127.0.0.1:32400/photo/:/transcode?url=http%3A%2F%2F127.0.0.1%3A32400%2Flibrary%2Fmetadata%2F4110%2Fthumb%3Ft%3D1321930768&width=148&height=156

```

  
  
hope that helps

---

<div class="post-metadata">

### Author: ![clintsinger](https://avatars.discourse-cdn.com/v4/letter/c/f9ae1b/32.png) [@clintsinger](https://forums.plex.tv/u/clintsinger)
#### Post date: [December 8, 2011, 3:40pm UTC](https://forums.plex.tv/t/server-resized-thumb-and-art/13065/3 "2011-12-08T15:40:14Z")

</div>

Fantastic!  
  
  
  
That was exactly what I wanted. Any chance this is documented some where? Either I can’t find it or I missed it. Otherwise I may be in here often asking how to do things 🙂  
  
  
  
Cheers,  
  
Clint

---

<div class="post-metadata">

### Author: ![ozie](https://avatars.discourse-cdn.com/v4/letter/o/c2a13f/32.png) [@ozie](https://forums.plex.tv/u/ozie)
#### Post date: [December 8, 2011, 10:44pm UTC](https://forums.plex.tv/t/server-resized-thumb-and-art/13065/4 "2011-12-08T22:44:20Z")

</div>

best source of info… check the log files:)

---

<div class="post-metadata">

### Author: ![clintsinger](https://avatars.discourse-cdn.com/v4/letter/c/f9ae1b/32.png) [@clintsinger](https://forums.plex.tv/u/clintsinger)
#### Post date: [December 9, 2011, 12:01am UTC](https://forums.plex.tv/t/server-resized-thumb-and-art/13065/5 "2011-12-09T00:01:10Z")

</div>

> [@](#):
>
> best source of info.. check the log files:)

  
  
That has been one of my problems. I haven't figured out where it is. I am running the Windows PMS and in the folder there are a log.txt and a log.real.txt which don't ever change. Plus they don't have the information that I am looking for. There is a 'http://.../log' on the PMS service but if I try to open it with my browser I get a '400' error so I may be missing some parameters.  
  
Cheers,  
Clint

---

<div class="post-metadata">

### Author: ![clintsinger](https://avatars.discourse-cdn.com/v4/letter/c/f9ae1b/32.png) [@clintsinger](https://forums.plex.tv/u/clintsinger)
#### Post date: [December 9, 2011, 3:59pm UTC](https://forums.plex.tv/t/server-resized-thumb-and-art/13065/6 "2011-12-09T15:59:46Z")

</div>

Found it. Though I am curious what the http://…/logs usage is.  
  
  
  
For anyone else wondering where the log is on Windows; you will find it in   
  
  
  
%USERS%\<user\>\AppData\Local\Plex Media Server\Logs  
  
  
  
Cheers,  
  
Clint

---

<div class="post-metadata">

### Author: ![jam](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/jam/32/186050_2.png) [@jam](https://forums.plex.tv/u/jam)
#### Post date: [December 9, 2011, 4:20pm UTC](https://forums.plex.tv/t/server-resized-thumb-and-art/13065/7 "2011-12-09T16:20:08Z")

</div>

The /log endpoint is to allow clients to _write_ to the media server’s log file, not for reading from it 🙂

---

<div class="post-metadata">

### Author: ![clintsinger](https://avatars.discourse-cdn.com/v4/letter/c/f9ae1b/32.png) [@clintsinger](https://forums.plex.tv/u/clintsinger)
#### Post date: [December 9, 2011, 6:44pm UTC](https://forums.plex.tv/t/server-resized-thumb-and-art/13065/8 "2011-12-09T18:44:49Z")

</div>

> [@](#):
>
> The /log endpoint is to allow clients to \*write\* to the media server's log file, not for reading from it :)

  
  
OK, thanks.

---

<div class="post-metadata">

### Author: ![clintsinger](https://avatars.discourse-cdn.com/v4/letter/c/f9ae1b/32.png) [@clintsinger](https://forums.plex.tv/u/clintsinger)
#### Post date: [December 11, 2011, 4:39am UTC](https://forums.plex.tv/t/server-resized-thumb-and-art/13065/9 "2011-12-11T04:39:15Z")

</div>

> [@](#):
>
> yup  
>   
> 
> ```auto
> 
> http://url:32400/photo/:/transcode?width=<width px>&height=<height px>&url=<url of the photo safe encoded>
> 
> ```
> 
>   
>   
> so like  
>   
> 
> ```auto
> 
> http://127.0.0.1:32400/photo/:/transcode?url=http%3A%2F%2F127.0.0.1%3A32400%2Flibrary%2Fmetadata%2F4110%2Fthumb%3Ft%3D1321930768&width=148&height=156
> 
> ```
> 
>   
>   
> hope that helps

  
  
I have another question. Is it pretty certain that the Plex Media Server port will always be 32400? ie. Can the user pick a different port? If so how does one figure out what the port is when accessing it via the myPlex API? The address that is published via that mechanism is the external address and the external port. In my case it is 32400 on my lan but something else externally.  
  
Cheers,  
Clint

---

<div class="post-metadata">

### Author: ![jam](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/jam/32/186050_2.png) [@jam](https://forums.plex.tv/u/jam)
#### Post date: [December 11, 2011, 6:11am UTC](https://forums.plex.tv/t/server-resized-thumb-and-art/13065/10 "2011-12-11T06:11:11Z")

</div>

No, the media server will always be on port 32400 - there’s no way for the user to change this. Servers accessed from myPlex may have different ports mapped, but you’ll be able to get that information from the web service 🙂

---

<div class="post-metadata">

### Author: ![cerma1993](https://avatars.discourse-cdn.com/v4/letter/c/a6a055/32.png) [@cerma1993](https://forums.plex.tv/u/cerma1993)
#### Post date: [December 23, 2011, 10:48am UTC](https://forums.plex.tv/t/server-resized-thumb-and-art/13065/11 "2011-12-23T10:48:41Z")

</div>

Great … Best Source … 🙂 thnks .

---

<div class="post-metadata">

### Author: ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)
#### Post date: [December 20, 2019, 9:30pm UTC](https://forums.plex.tv/t/server-resized-thumb-and-art/13065/12 "2019-12-20T21:30:07Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
