Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > Image name and desciption View modes: 
User avatar
Member
Member
kentico fairy - 1/17/2013 3:43:33 PM
   
Image name and desciption
I want to insert an image, then display its name and description in kentico portal page. How should I do that?

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 1/18/2013 4:26:59 AM
   
RE:Image name and desciption
Hi,

Maybe an example where you want to insert the image will be also good. Generally you can use the WYSIWYG editor, take a look at the Developers Guide: Inserting images
In other case you can use the macros or the transformations.

Best regards,
Martin Danko

User avatar
Member
Member
kentico fairy - 1/18/2013 10:10:56 AM
   
RE:Image name and desciption
Sorry, I should have described more clearly-
I want to use the editable image webpart, and once I add image to the webpart - it should display the image name on the top and image description at the bottom of the image.

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 2/3/2013 9:43:47 AM
   
RE:Image name and desciption
Hi,

what about using the Web Part properties from HTML Envelope section?

Put the following code into the Content before section:
<div>Image name</div>

and Content after section:
<div>Image description</div>
... and in the end you can just play with the styling.

Best regards,
Martin Danko