[opencms-dev] OpenCMS v. 8.5:How to insert images with different width using a texblock resource type?

Petronio Emilia emilia.petronio at sed.ethz.ch
Mon Mar 11 17:53:29 CET 2013


OpenCMS v. 8.5:How to insert images with different width using a texblock resource type?
I’m using a standard installation of  opencms 8.5 with the template /system/modules/com.alkacon.opencms.v8.template3/templates/main.jsp.
I want to load images with different widths on my webpage and link each of them to a bigger size version of the image.
Is there any simple solution which doesn’t require to add new  code?
Thetextblock resource type has the element „image“ but there the width is already pre-set (it is clear to me where, I have also seen the example on the dev-demo), the scale tab of  the image doesn’t seam to work  and  I don’t know how to link to a bigger  version.
I have thought,  the simple solution would be to use the editor of the Text element,  but the editor bar which is displayed only shows the download gallery button, Ihave no image gallery button.  How can I set the editor bar with the image gallery button?
Thank a lot in advance for your help and best regards

emilia
--------------------------------------------
Emilia (Mietta) Petronio
Schweiz. Erdbebendienst (SED)
Sonneggstrasse 5, NO F67
CH-8092 Zürich
Tel: 044 632 83 55
emilia.petronio at sed.ethz.ch<mailto:emilia.petronio at sed.ethz.ch>


More information about the opencms-dev mailing list