Hi Folks,

This blip of code doesnt scale. I was hoping for someone to offer a solution. 

Its a gallery widget in T5.4...no js

It gathers all relevent images from hibernate/mysql and renders them < 50 
images and these can get bulky large ones I sized down with width height.

My code wont scale though... I receive the FORM SIZE Exceeded error which 
presses me to set
set JAVA_OPTS=-Dorg.mortbay.jetty.Request.maxFormContentSize=-1

within jetty or tomcat

and I eventually hit the same high water mark resulting in crashed widget 
controls that fail to operate.

Here is the core image handling code for the widget code.

Can anyone see something wrong ? Images are displayed everywhere. I dont see 
why this shouldnt work its within a form. Is my only solution to display links 
instead of images  because that doesnt jive with a gallery widget.

<t:pagelink t:page="Edit" context="editPageContext">     
    <t:Any t:id="imageComponentId" id="imageComponentId">

        <img
            id="ImageWidget" src="${photoLink}" alt="${currentObject}" 
width="200" height="160" 
            title="${currentObject.photo.fileName}"
            model="currentObject"
            image="${photoLink}"
            style="-moz-border-radius: 5px;border-radius: 5px;-moz-box-shadow: 
5px 5px 5px black;-webkit-box-shadow: 5px 5px 5px black;box-shadow: 5px 5px 5px 
black;"
        />
        
    </t:Any>
</t:pagelink>

Thanks for any tips                                       

Reply via email to