Hi coders.
As i use an cmsms install with MultiDomain module (helpful becvause not for every domain / page a new install is needed) i get o the issue that in module Calguys Module Extension i can place one Graphical Watermarks only - this has to be placed physicly in folder uploads.
Who has an idea how to make it selectable fitting to the spewcific domanin and content fpr the diferent domains hosted in the cmsms install with MultiDomains?
Thx MAP
Calguys Smart Image Toolkit use with multidomain
Re: Calguys Smart Image Toolkit use with multidomain
In theory you can have PHP logic within your config.php file, but I have no idea if or how well it would work. Also keep in mind that all CG modules have long been abandoned, so migrating to SmartImage and CMSMSExt would be advised.
Here's an untested thing you could experiment with in your config.php (I'm using CMSMSExt parameters but you can adjust if you're sticking with CG):
I have no idea how well this will work with caching etc., it's just an idea to try. Consult the help for both modules to see what parameters you can use.
Here's an untested thing you could experiment with in your config.php (I'm using CMSMSExt parameters but you can adjust if you're sticking with CG):
Code: Select all
if($_SERVER['SERVER_NAME'] == 'domain1.foo') {
$config['xt_watermark_file'] = 'watermark1.jpg';
} else {
$config['xt_watermark_file'] = 'watermark2.jpg';
}
Not getting the answer you need? CMSMS support options
Re: Calguys Smart Image Toolkit use with multidomain
Thx.
I will try and report.
KR
MAP
I will try and report.
KR
MAP