Image sizing question

Topics for the MainLobby 4 client
indecision
Intermediate
Intermediate
Posts: 431
Joined: Wed Jul 14, 2004 12:23 pm
Contact:

Image sizing question

Postby indecision » Sat Oct 12, 2013 8:17 am

This is probably a pretty elementary question but I am having a tough time fixing the height/width of images on a few of my scenes. I was having trouble with the recently played images on my Pandora scene which was basically the standard/demo scene from the original ML4 release. A few months ago the recently played cover art started disappearing intermittently. Dave helped me update my image commands to a cleaner version that has solved my issue.

Old Command:
http://{{server_servername}}:6246/GetImage?{{Pandora_{{Pandora_activeRadio_{{clientname}}}}_history2_albumarturl}}|width=275|height=275

New Command:
{{Pandora_{{Pandora_activeRadio_{{clientname}}}}_history1_albumarturl}}

With the new command I am using the scaling as the old imaging sizing parameters don't have any effect. However, many of the Pandora images are smaller resulting in inconsistent sizing of cover art on my scenes. How can I create a fixed image size using the updated command?

Thanks,
Davis

User avatar
CinemarDave
Site Admin
Site Admin
Posts: 10535
Joined: Fri Feb 07, 2003 8:56 am
Location: Planet Earth
Contact:

Re: Image sizing question

Postby CinemarDave » Sat Oct 12, 2013 11:35 am

I need to push out an update to the Pandora app. They used to provide all their cover art at 500x500 resolution. They have now started using different image sizes. I am going to update Pandora so that it creates a new scaled server variable whose image is always the same size. I should have that done today.

indecision
Intermediate
Intermediate
Posts: 431
Joined: Wed Jul 14, 2004 12:23 pm
Contact:

Re: Image sizing question

Postby indecision » Sat Oct 12, 2013 2:45 pm

Thanks Dave. No hurry. I know you have plenty to do!

User avatar
CinemarDave
Site Admin
Site Admin
Posts: 10535
Joined: Fri Feb 07, 2003 8:56 am
Location: Planet Earth
Contact:

Re: Image sizing question

Postby CinemarDave » Sat Oct 12, 2013 6:05 pm

Today's update to the Pandora app will now create consistent 400x400 pixel cover art images.

indecision
Intermediate
Intermediate
Posts: 431
Joined: Wed Jul 14, 2004 12:23 pm
Contact:

Re: Image sizing question

Postby indecision » Sun Oct 13, 2013 8:16 am

Many Thanks!

indecision
Intermediate
Intermediate
Posts: 431
Joined: Wed Jul 14, 2004 12:23 pm
Contact:

Re: Image sizing question

Postby indecision » Sun Oct 13, 2013 11:09 am

One more question....is it possible to standardize the size of the fan art?

indecision
Intermediate
Intermediate
Posts: 431
Joined: Wed Jul 14, 2004 12:23 pm
Contact:

Re: Image sizing question

Postby indecision » Wed Oct 16, 2013 2:29 pm

Sorry to be a pest on this. If it doesn't make sense to standardize the size of the fan art, is there a way that I can force the image sizes?

Thanks again!

User avatar
CinemarDave
Site Admin
Site Admin
Posts: 10535
Joined: Fri Feb 07, 2003 8:56 am
Location: Planet Earth
Contact:

Re: Image sizing question

Postby CinemarDave » Wed Oct 16, 2013 5:09 pm

Yes, I can make it happen and it will. In the meantime you could always

http://{{server_servername}}:6246/getimage?{{the fanart image}}|width=1920|height=1080

or whatever size you need.

indecision
Intermediate
Intermediate
Posts: 431
Joined: Wed Jul 14, 2004 12:23 pm
Contact:

Re: Image sizing question

Postby indecision » Wed Oct 16, 2013 8:19 pm

Perfect. Thanks Dave!


Return to “MainLobby 4 Client”

Who is online

Users browsing this forum: No registered users and 1 guest