Jump to content

Wicket

Recommended Posts

Hi,

 

I want to be able to view (pan around) large images on a small mobile app. I am using TUnimImage to load the image from the server file system.

 

The screen area is too small for the image, so the screen will only show half the image (for example)

 

What would be the best way to allow the user to pan/scroll around? Possible even zoom in and out?

 

I have looked at using a TUnimScrollbox - but I cant seem to get it to work. 

 

Surely someone has implemented something similar - so any help/pointers/examples would be great.

 

Thanks.

Link to comment
Share on other sites

Hi,

 

 

What would be the best way to allow the user to pan/scroll around?

 

Can you try with this config ?!:

 

UnimImage -> ClientEvents -> UniEvents -> function beforeInit:

function beforeInit(sender, config)
{
    config.scrollable = true;
}
Link to comment
Share on other sites

Any other suggestion? I really only need a simplistic way of being able to pan, so then I can view other parts of the image on the screen, otherwise it is statically in the first of the image and cuts the rest off, with no way of viewing it.

Link to comment
Share on other sites

Hi,

 

Any other suggestion? I really only need a simplistic way of being able to pan, so then I can view other parts of the image on the screen, otherwise it is statically in the first of the image and cuts the rest off, with no way of viewing it.

 

Ok, we will try

 

Best regards,

Link to comment
Share on other sites

×
×
  • Create New...