Wittyshare
0.2
|
Ws object to render images. More...
#include <WsImages2.h>
Ws object to render images.
This object support some options : debug : true/false default false Output a more messages for debugging. plusWidget : true/false default false add a + widget on the bottom right corner of the image. textWidget : true/false default true add the text widget; reactWhenPathChange : true/false default true change the image when an internal path change, only when the image is on the foreground. imageInBackground : true/false default false push the image on the background image_delay : 0 or > 0 default 5000 Specify the delay for images rotation. setDirectoryNameAsTitle : true/false default false if true set a title that contain the directory name. imagesPath : default "wApp->theme()->resourcesUrl() + "wittyshare/Images/WsModImages2" this is a relative url example : /wt/resources/themes/wittyshare/wittyshare/Images/WsModImages2 add WsApp->docRoot() before this path to access the full system file. example : /var/www/wt/resources/themes/wittyshare/wittyshare/Images/WsModImages2 This path content the .png,.jpg or .jpeg file + 2 files with the same name but with extension :