MAGICINFO DIGITAL SIGNAGE SUPPORT FORUM

Digital Information Displays (Digital Signage) => MagicInfo => Topic started by: mmanser on February 07, 2011, 07:35:29 AM

Title: Image resizing
Post by: mmanser on February 07, 2011, 07:35:29 AM
Hello

Im new on working with MagicInfoPro and very happy that i found this forum, which gave me already a lot of support and ideas.

I have a question and i hope somebody can help me:

I want to show in a 345x240 px size frame this webcam:
http://www.tbamobcam.ch/tba01/live/tba01live.jpg

The problem is, the image from the webcam is to big for my frame.

So, what can i do, that it looks fine?

Thanks for your help.

Best regards from Zürich (Switzerland)
Title: Re: Image resizing
Post by: Ewanl30 on February 07, 2011, 11:52:06 AM
is it not possible to embed the frame via html therefore having it set at the required size.
you can then add this to Magicinfo easily ive done it here.
Title: Re: Image resizing
Post by: EricL on February 07, 2011, 11:57:08 AM
Hi

download the file attached-change the file extension from .jpg to .html

Place this file on your web server anywhere (desktop)

Create a web area in your template where you would like your webcam feed to show

Link to this file so it will show in the web area

Change the size of the web area to match the size set in the .html file code which is as below (300 x 300 is an example):

<html>
<head>
</head>
<body>
<img src="http://www.tbamobcam.ch/tba01/live/tba01live.jpg" width="300" height="300">
</body>
</html>

Your webcam will now show full picture but reduced to the chosen size

EricL
Title: Re: Image resizing
Post by: RLS on March 10, 2011, 10:54:04 AM
Hello

I'm currently in the process of trying this...But I'm just getting a red x?

Naturally i'm trying it with our webcam link which is in the format of "http://ipaddres:port/pda.htm"...

I have created a web area on the screen linking to the file on the desktop with the above address written into it...however the preview window does not work.

Any ideas? Am I missing something? Should I try the same thing ont the screens in dividually?

Thanks :)
Title: Re: Image resizing
Post by: RLS on March 10, 2011, 11:21:08 AM
Right, I have it working by using the following:

<html>
<head>
</head>
<body>
<object data="http://IP:port/pda.htm" width="700" height="500">
</body>
</html>

However...How can I make the feed smaller in MagicInfo? By changing the above values or?
Title: Re: Image resizing
Post by: Ewanl30 on March 10, 2011, 11:48:02 AM
if your feed isnt as big as your html page make your adjustments via the html.
when you add the webpage to the screen on magicinfo you need to change the setting for top and left offsets
will take a little messing around but main point is you will need to use minus offset

look in the forum for BBC Iplayer one was just posted that will explain it more.
Title: Re: Image resizing
Post by: RLS on March 10, 2011, 11:53:43 AM
if your feed isnt as big as your html page make your adjustments via the html.
when you add the webpage to the screen on magicinfo you need to change the setting for top and left offsets
will take a little messing around but main point is you will need to use minus offset

look in the forum for BBC Iplayer one was just posted that will explain it more.

Hello

I have looked at that thread, but it doesn't show / explain how to resize the web page it is viewing...The problem I have is resizing the video feed on magic info, I can scale the magic info 'web' box to fit the video feed but I cant make this smaller as it starts to crop things then :(

Title: Re: Image resizing
Post by: RLS on March 10, 2011, 11:57:10 AM
also, the issue may be the page I am trying to display...as it has a video within a page...and you can manually scale the outside 'scroll' window...so i'm not sure if this is causing the issues
Title: Re: Image resizing
Post by: Ewanl30 on March 10, 2011, 12:15:34 PM
the webpage and video playing shouldnt be an issue

the problem i had was using a pc to scale the video it looked fine but when published it wasnt showing correctly
if you have magicinfo pointing to the webpage you should only need to mess around with the top and offset settings.

what is the resolution of your magicinfo screens and what is the size of your video feed?
Title: Re: Image resizing
Post by: RLS on March 10, 2011, 12:33:51 PM
Size of the video feed is: 640x480

The screens resoloutions are 1920x1080

When you use the options for the 'web' box in MI it crops the window (naturally) however it won't scale...Or I cant get it to scale from within the HTML...Using the html file is really helpful at the moment as our video feed times out on the screens when they refresh, so i really want this working :)
Title: Re: Image resizing
Post by: Ewanl30 on March 10, 2011, 12:45:59 PM
when you set the screen on magicinfo you want your web window to be the size of your video on the html roughly.
you then use the top offset and left offset settings to adjust the scale so the webpage moves to show the video

my setting were Left Offset is -10, Top Offset is -202

from my understanding you just want the video file to show and not the rest of the webpage.

Ewan
Title: Re: Image resizing
Post by: RLS on March 10, 2011, 12:51:22 PM
yes, its exactly what we want, the only way I can manage it at the moment is by manually changing the physical video feed to a lower resoloution, which isn't ideal...I want to be able to change the video feed on the webpage I am viewing alone by using the steps provided above...But sadly they dont work

Its hard to explain, but I can only change the outer 'border', not the video size
Title: Re: Image resizing
Post by: RLS on March 10, 2011, 01:37:23 PM
Grrr...Seperate issue again!

I can see the webpage...but I can't see the feed! It's got a red x in it, and I've allowed the required IP :(

the video feed itself comes up as a .cgi extension apparently =/
Title: Re: Image resizing
Post by: RLS on March 10, 2011, 01:45:11 PM
Although I guess the big question is...do the published screens support Javascript with them?
Title: Re: Image resizing
Post by: RLS on March 15, 2011, 12:25:17 PM
Hello Again...

Is there no way then to re-size a web page on MI? Or zoom out? People say by changing the values it makes the page smaller but it doesn't, it just moves the page around to the area you want it in... :(
Title: Re: Image resizing
Post by: London-I on March 16, 2011, 09:10:42 AM
No, you can only frame the particular part of the page you require, there is no way to zoom into a particular part.
Title: Re: Image resizing
Post by: RLS on March 16, 2011, 09:12:22 AM
No, you can only frame the particular part of the page you require, there is no way to zoom into a particular part.

Oh...Great....Is this not a bit weird? Considering you can point a web page toa  box, scroll around and do everything within this box you can ona  webpage...apart from zoom?

I think it would be a really helpfull addition for some...Rather than creating local fake pages and resizing it with html