<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks Dmitry. That fixed the problem!<br>
<br>
I am also having another problem with imageops. <br>
<br>
I have created thumbnails in my news page. The scaled images show up
fine while I am logged into OpenCms but won't show up in the published
site. The scaled thumbnail image doesn't seem to export.<br>
<br>
Is there anything I need to do to get this to work?<br>
<br>
Thanks,<br>
Tane<br>
<br>
Dmitry Lihachev wrote:
<blockquote cite="mid43EAE0D5.4080301@tusur.ru" type="cite">Hello, Tane
Potaka.
<br>
<blockquote type="cite">Hi,
<br>
I am running OpenCms 6.0.3 with the imageOps module installed.
<br>
<br>
I have many images in different image galleries. When I use the image
<br>
gallery widget to choose an image, no images in my image galleries can
<br>
be seen in the dialog box.
<br>
<br>
If I disable imageOps, then the images show up.
<br>
<br>
Is there a workaround for this? Is anyone else having this problem?
<br>
</blockquote>
class CmsResourceTypeImage in imageops module use deprecated API
(method
<br>
initConfiguration(String, String)). I think this is trouble.
<br>
Try write your own CmsResourceTypeImage class like this:
<br>
----------------- cut here -----------------------
<br>
/**
<br>
* File: CmsResourceTypeImage.java
<br>
* Creation: 06.02.2006
<br>
* Author: Dmitry Lihachev
<br>
*/
<br>
package de.metamesh.opencms.imageops;
<br>
public class CmsResourceTypeImage extends
<br>
org.opencms.file.types.CmsResourceTypeImage {
<br>
/**
<br>
* @see org.opencms.file.types.I_CmsResourceType#getLoaderId()
<br>
*/
<br>
public int getLoaderId() {
<br>
return ImageLoader.C_RESOURCE_LOADER_ID;
<br>
}
<br>
}
<br>
----------------- cut here -----------------------
<br>
Compile it (or get already compiled (jdk 1.5) class in attachment) and
repack de.metamesh.opencms.imageops_0.5.5.zip with this
<br>
class.
<br>
<br>
<br>
--
<br>
WBR, Dmitry Lihachev
<br>
Sorry for my poor english
<br>
<br>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
<a class="moz-txt-link-freetext" href="http://lists.opencms.org/mailman/listinfo/opencms-dev">http://lists.opencms.org/mailman/listinfo/opencms-dev</a></pre>
</blockquote>
</body>
</html>