Hi,
I have installed DirectResize 0.9 to only create thumbnails
without a link to the original image.
In
Resources/Manage Resources/Plugins/DirectResize --> Configuration I wrote
&config = Configuration; string; thumb, created a file named
thumb.config.php and placed it in
assets/assets/plugins/directresize/configs
The content of this file is as follows:
<?php
$dr_global["path"] = "assets/images/sovonex";
$dr_local["tpl_thumb"]["all"] = "[+dr.shortcut.source2thumb+]";
$dr_local["thumbonly"]["all"] = true;
$dr_local["thumb_quality"]["all"] = 95;
?>
However, for some reason DirectResize still creates a link to the original image for every thumbnail. The corresponding HTML code looks like this:
<a target="_blank" href="images/997c58afd615f2c673d6a2053fd39db5/test.jpg">
<img class="img_container_left" width="205" height="138" alt="test" src="images/d4d193353c1a502688ba59c3e36aa2f0/thumb_test.jpg" title="test"/>
I have no Idea where the <a> tag might come from but I’m pretty sure it has something to do with my configuration file.
Maybe anyone using DirectResize has an idea. Any suggestions are highly appreciated!
Best regards,
Stefan