Support

Admin Tools

#26263 Images

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by Hjortlund on Friday, 07 October 2016 01:04 CDT

Hjortlund
 I have a problem displaying an image from a plugin. I have added the file and directory exception to allow the image to be displayed, but it still doesn't display. Do you have any suggestions what I need to add?

RewriteRule ^plugins\/content\/DGcontactinfo/ - [L]
RewriteRule ^plugins\/content\/DGcontactinfo\/includes\/timthumb\.php$ - [L]

Thanks

nicholas
Akeeba Staff
Manager
You need to add plguins/content/DGcontactinfo/includes/timthumb.php to the "Allow direct access to these files". This will let the thumbnail script to load.

Then you need to set the "Protect against common file injection attacks" option. When this option is enabled we block any request which passes a URL as a page parameter. Since the image is passed to timthumb.php as a URL in a page parameter it results in the request being blocked. Disabling this option will allow timthumb.php to work BUT it also degrades the security of your site.

After these changes please remember to click on Save & Create .htaccess.

SECURITY WARNING! While these actions will let your thumbnail script to run they also seriously degrade the security of your site. TimThumb has a long history of serious security vulnerabilities which, a few years ago, caused millions of WordPress sites to be hacked. We DO NOT recommend following these instructions and let a potentially vulnerable script to run unchecked on your site. We DO recommend looking for a different plugin which doesn't require you to degrade the security of your site to work.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Hjortlund
Thank you very much.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!