Image for example the Elizabeth Gilbert image

I am trying to change the images in the videoplayer example. I see that the url for the Elizabeth Gilbert image is at url :

http://rokudev.roku.com/rokudev/example … ilbert.jpg

When I look at the folders I see that this image is in the artwork folder and not image yet the url referers to it in “images” within the url.

Can someone give me a tip on how to change this image to my own? I added my new SD picture to test with the dimensions 254x191, but into which folder should my new picture go? I tried the artwork folder and the image folder so I am guessing there is another page of xml or source etc that I need to make a change to, also.

Any help is appreciated.

Thank you.

I would ignore the artwork folder for now and just point your url to your images directory on your site. Edit the categories xml and category leaf xml that show your url to your image and don’t forget to ftp your images to the right location in your url path, then rezip and sideload your zip file. I always edit both the local copy of categories.xml and the other leaf xml’s on my local PC first and then I ftp the changed files to my xml folder on my site and also ftp my new image file to my image folder on my site and it should all be there. Hope it make sense.

Hi bandal,

Thanks for the help.

I will take your advice and do my edits on the local pc first. I have been making some changes within the server “edit” for what changes I have been making. But, I will do on pc first because if I make a mistake it will be an easier fix than messing up the server files. I’m using a temporary server right now to test and try and learn how to make the changes needed. I have to setup my server soon so I won;t have to go back and make all the changes again to the url’s and related images.

I’ve been working with the videoplayer example while trying to learn what to change, tweak etc. if I understand correctly, the main files that get uploaded to my server are:

Server:

  1. the images
  2. the xml
  3. ?source files? Right now I have those on my server. Is this where they are suppose to be?

Roku Device files currently are:

  1. the manifest
  2. source files
  3. the images I refer to in the manifest

Is this the correct procedure ? I think I uploaded files on the server that don’t need to be there and possibly uploaded some to the device in the zip file that don’t need to be there.

I’ve so far been changing the titles, description and generic items plus testing a video url that played fine. I have not changed the file names that came in the original videoplayer example. ie: just tweaked it and left file names the same. It’s a little confusing when not having a background in coding. Not sure if I am suppose to leave the original file names as they are since the channel on my device is working. Or, do I change them before submitting it to Roku in the final stage? For example, I took some of the images that were in the original, changed them into my images but did not change the file name. So to give an example, one titled TED_Design is still titled as “TED_Design” but it’s my image not the TED image.

Any clarification is appreciated. I think one of the difficult parts of learning to build the channel is knowing which files go to which location ie: the server vs the Roku Device.

Thank you.

The only files that are needed on your server that the Roku can see is like www.server.com/roku/images and www.server.com/roku/xml and www.server.com/roku/vod
The source files or .brs files are not needed on the server, just your pc for changes and to rezip the files and sideload. You can change the original videoplayer .brs files anytime and if you need them back, just re-download the SDK again and you have a fresh copy.
For submission to a Public channel all code should point to your content. If private you can do most anything like leave the TED stuff with your content to.
When zipping the files from the pc I have the manifest file, the xml directory and images directory and source directory only. I keep all the images in the images directory on the pc for the manifest and appMain.brs pointers.
But, all other images are referenced by my xml files with the full path are stored on the server in its own images directory. In your xml directory on you PC you really only need the categories.xml, but I keep them all in my local pc directory anyway as they are small. You do need all xml files on the server though. I make edits to my xml’s on my pc, then ftp the xml file up to the server.
I use a program called Snagit Editor to resize and redo images. I grab something I like and make a Logo or Banner or Image to resize. Just use the dimensions of the images and use that size from the original sample. But, if you have a different layout the images will have it’s own size that is in the SDK documents.

DA

Hi bandal,

Okay, so my images (except for the manifest ones), the xml and the video content on my server.

The manifest, original xml file from the sdk, the images that relate to the manifest and the manifest get zipped and put onto the device.

Disregard the artwork folder and just make my images and put them in an images directory on my server and refer to the urls of each.

I use Snagit, also. It’s a great program. A big help and time saver.

Thank you!

bandal,

Do you happen to know how to add multiple episodes of a show that is a category? I have a category classic tv and under it I want to have the show names and each show itself has more than one episode. Where can I find how to do this?

I will be glad when I can learn more about knowing how to write the code. It hasn’t clicked yet but it will eventually.

Best Regards.

I asked the same question before and get answers that are so vague I gave up. If someone wants to post a small piece of code to do this, it would be appreciated for the videoplayer example.

Hi bandal,

I’ve been away working on other projects but checking in as I begin again to work on the channel.

Figuring out how to do it as episodes is difficult. We are working on the same! Yes, if a piece of code can be shared here would certainly make it easier. I guess people are making it Top Secret…lol

Yes, same thing. If I find a solution I will let you know a secret. Lol.

Hi, just sent a message to your Roku inbox.

In this thread I began about an image from the artwork folder. I have the other questions answered but the image is Gilbert image 254x191. Is there also another size that needs to be made for this image for HD? If so, what dimensions?

Thank you.

“newchannel” wrote:
In this thread I began about an image from the artwork folder. I have the other questions answered but the image is Gilbert image 254x191. Is there also another size that needs to be made for this image for HD? If so, what dimensions?

Thank you.
The videoplayer example uses the same images for both SD and HD. Are you having a problem with it not working in HD?

Hi belltown,

I just wanted to make sure because I made the SD and HD images for the main channel manifest graphics and see the the categories xml shows SD and HD. Just wasn’t sure if I had missed it stated somewhere in the sdk.

Thanks for clarifying it for me.

Have a great day.

If what you’re talking about is the artwork for the Channel Store and the Home Screen then the SDK contains a document, “Homescreen and Channel Store Artwork Guidelines”, in the file artwork-guidelines-v3.pdf. This document gives Roku’s recommendations for this artwork, including different sizes for SD and HD images. So yes, you can make different images for SD and HD, which seems to be what they recommend, although in practice it seems that you can use the same image for both SD and HD, and this is what several of the examples in the SDK do.

I read about the sizes for those. Been making one for each SD and HD..

Do you happen to know the correct dimensions to use for display advertisements that show at the bottom of the screens?

I’m currently researching this right now in the forum

Thank you.

This might help: viewtopic.php?p=156265#p156265

Banner Ad is at the end.

-JT

Hi renojim,

Thanks for the link to the post about the image sizes. I didn’t see the dimension 254x191 listed there. When I took a look at the artwork folder, the pics that came in the videoplayer example are 254x191 for example the BenjaminZander. Is it ok to still use this same size for the replacement images?

Thank you.