[opencms-dev] imageOps problem
Tane Potaka
tane at cofa.unsw.edu.au
Fri Feb 10 00:06:52 CET 2006
Thanks Dmitry. That fixed the problem!
I am also having another problem with imageops.
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.
Is there anything I need to do to get this to work?
Thanks,
Tane
Dmitry Lihachev wrote:
> Hello, Tane Potaka.
>
>> Hi,
>> I am running OpenCms 6.0.3 with the imageOps module installed.
>>
>> I have many images in different image galleries. When I use the image
>> gallery widget to choose an image, no images in my image galleries can
>> be seen in the dialog box.
>>
>> If I disable imageOps, then the images show up.
>>
>> Is there a workaround for this? Is anyone else having this problem?
>
> class CmsResourceTypeImage in imageops module use deprecated API (method
> initConfiguration(String, String)). I think this is trouble.
> Try write your own CmsResourceTypeImage class like this:
> ----------------- cut here -----------------------
> /**
> * File: CmsResourceTypeImage.java
> * Creation: 06.02.2006
> * Author: Dmitry Lihachev
> */
> package de.metamesh.opencms.imageops;
> public class CmsResourceTypeImage extends
> org.opencms.file.types.CmsResourceTypeImage {
> /**
> * @see org.opencms.file.types.I_CmsResourceType#getLoaderId()
> */
> public int getLoaderId() {
> return ImageLoader.C_RESOURCE_LOADER_ID;
> }
> }
> ----------------- cut here -----------------------
> Compile it (or get already compiled (jdk 1.5) class in attachment) and
> repack de.metamesh.opencms.imageops_0.5.5.zip with this
> class.
>
>
> --
> WBR, Dmitry Lihachev
> Sorry for my poor english
>
>------------------------------------------------------------------------
>
>
>_______________________________________________
>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
>http://lists.opencms.org/mailman/listinfo/opencms-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060210/c839cb54/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tane.vcf
Type: text/x-vcard
Size: 286 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060210/c839cb54/attachment.vcf>
More information about the opencms-dev
mailing list