That is exactly my problem, the guy that built the website hardcoded all the
images in the pages (every page has at least one or more images) and all of
them have to be resized compared to the original size. It is driving me nuts
by now. I finally have made the site stable so I don't have to restart
tomcat every hour, but the images still will not display. I have no
documentation on the website so it's all blood sweat and tears but I am very
happy with all the response from you people. I will wait for the next build
this weekend and deploy that monday, and see what happens to my images after
that. 
There is a project starting to redesign the website so fortunately my
problem will not last in the next releases of mmbase. 

Karen. 

-----Oorspronkelijk bericht-----
Van: Michiel Meeuwissen [mailto:[EMAIL PROTECTED]
Verzonden: vrijdag 18 juli 2003 12:37
Aan: [EMAIL PROTECTED]
Onderwerp: Re: servdb problem returns


Nico Klasens <[EMAIL PROTECTED]> wrote:
> I strongly advice to use the Image Servlet and not the servdb. The Servdb
is
> deprecated code. It will be harder to migrate your site to a new mmbase
> release in the future if you use the servdb.
...
> 
> The log mentions this when I access the servlet by <mm:node
> number="867"><img src="<mm:image template="s(128x128)" />" /></mm:node>

That is correct. ImageServlet is a better option, if your pages indeed use
the image-tag. If however
you have a zillion of pages with hardcoded img.db?123+s(128x128) it is
hardly an option. Then you have
to use servdb for images.

For backwards-compatibility with this, and still making those zillion pagen
work, perhaps someone
could extend ImageServlet to make it recognize those extra 'transformation'
parameters. 


Michiel


-- 
Michiel Meeuwissen 
Mediapark C101 Hilversum  
+31 (0)35 6772979
nl_NL, eo, en_US
mihxil'
[]()

Reply via email to