Search in support tickets

#923 – Need to Remove Image Rotation Feature.

Posted in ‘Support’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Thursday, 01 April 2021 06:27 CEST
mshihan
Hi,

The new feature you have added to latest adsmanager is not working correctly. Because the more you rotate images the more decreases image quality.

So, please let me know how to completely remove this feature.

Best Regards
Custom Fields
Joomla Version
3.9.25
PHP Version
7.3.27
Product
AdsManager
Product Version
3.2.11
Thursday, 01 April 2021 08:25 CEST
loic
Hello,

I will add an option in the configuration.

In the meantime, you can hide it by using some CSS or simply remove the link from the details page view code.

Best regards.
 
Thursday, 01 April 2021 10:47 CEST
mshihan
I need to remove the link. Could you please tell me the code I have to remove.
Thursday, 01 April 2021 14:26 CEST
loic
Hello,

sorry, here is more details.

If you are using adsclarity, open the file templates/adsclarity/html/com_adsmanager/details/default_jssor.php and look for the following code :
echo "<a class='rotateimage-gallery' data-image='".$cpt."' data-src='".$img->image."' data-path='".$imagePath."' href ='#'>".JText::_("ADSMANAGER_ROTATE_IMAGE")."</a><br/>";


Just comment ça line ike this to disable the feature :
//echo "<a class='rotateimage-gallery' data-image='".$cpt."' data-src='".$img->image."' data-path='".$imagePath."' href ='#'>".JText::_("ADSMANAGER_ROTATE_IMAGE")."</a><br/>";


If you are not using adsclarity, you need to found that line in components/com_adsmanager/views/details/tmpl/default_jssor.php and components/com_adsmanager/views/details/tmpl/default.php

The line is a little different mostly identical, you just need to add the double slach to comment it.

If you don't find the line, look for the string ADSMANAGER_ROTATE_IMAGE with the search feature of your IDE.

Best regards.
 
Saturday, 03 April 2021 10:52 CEST
mshihan
Dear,

I am using both adsclarity and adsmanager, so do I need to remove those lines on both as well?
Tuesday, 06 April 2021 08:03 CEST
loic
Hello,

The template override the default component display.

If you are using the template to display the adsmanager view, you just need to chenge the template.

Best regards.
 

Please rate this ticket

Help us improve our support services by rating this ticket from one to five stars, according to how much you are satisfied from the handling of this ticket, one being not satisfied and five being very satisfied.