Hi fretzl, thanks for the quick reply.
Is the plugin properly installed?(does it show up in the list of plugins?)
--> Yes
Did you in fact activate/enable the plugin?
--> Yes, the box on the plugins list is ticked.
Do you have a link to the site?
--> Unfortunately not now, I'm using a virtual machine for testing.
Can you post the code you placed + some surrounding lines of code?
--> Here comes a snippet from libratus' image.php (about lines 63-81):
`
<?php if (getOption('libratus_social')) include ('inc-socialshare.php'); ?>
<?php if ((function_exists('printGoogleMap')) || (function_exists('printOpenStreetMap'))) {
if (function_exists('printOpenStreetMap')) {
$map = new zpOpenStreetMap();
if ($map->getGeoData()) {
setOption('osmap_width','100%',false); // wipe out any px settings for plugin, flex set in css
setOption('osmap_height','300px',false);
printOpenStreetMap();
}
} elseif (function_exists('printGoogleMap')) {
if (getGeoCoord($_zp_current_image)) {
setOption('gmap_width',null,false); // wipe out any px settings for plugin, flex set in css
setOption('gmap_height',300,false);
printGoogleMap(gettext('Show Google Map'),null,'show');
}
}
} ?>
`