I just can't figure this out.
In /ca/app/media_processing.png, "MEDIA_TRANSFORMATION_RULES" appears 8 times for up to 53 lines where SCALE is defined for an image. It seems there are many rules repeated, such as
rule_preview_image = {
SCALE = {
width = 180, mode = width, antialiasing = 0.5
},
SET = {quality = 75, format = image/jpeg, background = "#ffffff" }
},
repeated up to 4 times. I really don't know which "VERSIONS" or rules to look after in media_processing.conf.
In https://manual.collectiveaccess.org/providence/user/media/media_watermarking.html it says:
Note that this must be the absolute path to the watermark image. If placed in ‘app’ directory, the pre-existing macros set in global.conf (such as <ca_ap_dir>) can be used to avoid hardcoding path information. E.g., if the watermark image is at web/ca/app/watermarks/mymark.png, you can configure it here as <ca_app_dir>/watermarks.mymark.png
I've tried:
WATERMARK = {
image = <ca_app_dir>/watermarks/mymark.png,
width = 72, height = 85, position = south_east, opacity = 0.8
},
and trying different paths to call the watermark image:
image = ca/app/watermarks/mymark.png,
image = www/ca/app/watermarks/mymark.png,
I will very much appreciate some guidance here.
Thank you.