Log inRegister
You are here: Boossy » FwImagePlugin

ImagePlugin


Foswiki v?

Als een plugin wordt bijgewerkt, wordt hij altijd ingeschakeld, ook als hij vooraf uitgeschakeld was, zo ook de ImagePlugin.

Als ik een image heb in een topic, krijg ik dan wel volgende fout te zien ipv de topictekst:

Foswiki detected an internal error - please check your Foswiki logs and webserver logs for more information.

Can't locate Cachepath in @INC (@INC contains: path path path path path path path path path path . path)

De oplossing is dan ook de plugin weer uit te schakelen.

Dit issue is gerelateerd aan het FwImageMagick topic. Daarin staat dat voor NatSkin de ImagePlugin vereist is, maar eigenlijk is dat niet zo.

Foswiki v2.1.9

In v2.1.8, ImagePlugin was disabled and not neccessary, even not for NatSkin, althought it is mentioned as a required dependency (NatSkin < Extensions < Foswiki).

In v2.1.9, I got an error…

ImagePlugin depends on ImageMagick 7.x.

Ubuntu 22.04

But Ubuntu 22.04 ships with ImageMagick 6.x.

I installed version 7.x following the instructions from How to Install Latest ImageMagick 7 on Ubuntu 22.04.

Then I still had some missing perl modules. And althought my @INC included the necessary paths, I had to copy those modules to foswiki/lib/CPAN:
  • Data::UUID
  • JSON::MaybeXS
  • Time::Duration::Parse
  • JSON::MaybeXS
  • Log::Any
  • String::RewritePrefix
  • Digest::JHash
  • MooX::Types::MooseLike::Base
  • MooX::Types::MooseLike::Numeric
  • Hash::MoreUtils
  • Carp::Assert
  • Time::Duration

Shared hosting

I wasn't able to get it working on the shared hosting. There I went back to the previous version of the !TopicInteractionPlugin.


Inserted using the ImagePlugin:

%IMAGE{"griekenland.jpg" type="frame" align="none" caption="Griekenland"}%

%IMAGE{"italië.jpg" type="frame" align="none" caption="Italië"}%

%IMAGE{"spanje.jpg" type="frame" align="none" caption="Spanje"}%

Blahblabhblah

Inserted as attachment:

griekenland.jpg

italië.jpg

spanje.jpg


tags - topicinteractionplugin
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback
This page was cached on 04 May 2025 - 05:55.