AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / Desarrollar una aplicación o un sitio web / Controles, ventanas y páginas / Controles: tipos disponibles / Control Imagen
  • Overview
  • Summary table
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Choose the type of image: dynamic, static, generated, ...
Advertencia
This page is kept for compatibility. Image type is now selected automatically. The options described on this page are available in the "Detail" tab of the Image field option..
Overview
The images are often used to illustrate the site pages.
Several types of images are available in WEBDEV for a dynamic page. Each type corresponds to a specific use of image.
Image type is selected in the "Detail" tab of the image description.
Four types of images are proposed:
  • Static image.
  • Dynamic image.
  • Generated image.
  • From a database.
To use the images generated and stored in a database in Linux, you must install the QT library (Core and GUI), version 5 or later.
Summary table
Static image
UseImage not modified when using the site:
  • company logo
  • etc.
Image modified only in a browser code: image selected by an upload field.
CharacteristicsThe image associated with a static image must be selected in the WEBDEV editor. This image can be modified through programming in browser code only.
All the image formats recognized by WEBDEV are allowed.
When saving the page, the image is automatically converted into GIF or JPEG format and saved in the <Project Name>_WEB directory (except if the image is already in GIF or JPEG format).
When deploying the WEBDEV website:
  • The file associated with the image must be found on the server.
  • If the image is modified in browser code, the new image must be accessible (FolderWeb is used to find out the directory of images on the server) and it must be in a format recognized by the browser.
Dynamic image: the most frequently used image type
UseImage modified when using the site:
  • image of the product in a product form
  • photo of the contact in a directory
This type of image is used to manage the automatic image sliding. For more details, see Automatic image sliding.
CharacteristicsA dynamic image can be modified through programming in server code or in browser code.
The image programmed for the field must be:
  • Found in the <ProjectName>_WEB directory
  • in a format recognized by the browser (GIF, JPEG or other)
Please note: binary memos cannot be used..
To use the dynamic images, you must install the QT library (Core and GUI), version 5 or later.
Generated image
UseImage drawn when using the site:Note: To specify an original image, it is necessary to indicate the full path to this image.
CharacteristicsA generated image is built while the WEBDEV website is used. This type of image should not be used to display existing "image" files: the performance of your site might be reduced.
When the browser asks to display the image (when displaying or refreshing the page for example), a temporary image of current drawing is built on the server and saved in JPG format.
This image is displayed in the browser.
Remark: This image type handles transparency. This allows you to set a background image ("Style" tab of the Image control description window).
From a database
Use
  • Memo: Product images displayed in a RepeatString area. The images are saved in the binary memos.
  • Path: Product images displayed in a RepeatString area. The path of the image is stored in a text item. This path must be relative to the "<ProjectName>_WEB"directory of the site.
    This type of image (from a database: Path) can be used to manage automatic image dequeue.. For more details, see Automatic image sliding.
CharacteristicsIt's advisable to use a centered homothetic image: all images displayed will be proportionally resized to fit in the Image field.
Ver también
Versión mínima requerida
  • Versión 9
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 21/09/2024

Señalar un error o enviar una sugerencia | Ayuda local