Hi!
While using Image Store plugin I discovered one thing and I have a suggestion for future versions.
It’s about download of purchased images by using link provided by plugin.
I had an issue that downloaded images were broken.
After doing some research I discovered that it is because an extra line(character) is generated at the beginning of image file.
After doing some more research it turned out that it is because of my functions.php file.
There were one emtpy line between php tags:
<?php
php stuff
?>
<?php
other php stuff
?>
Because of this extra line was included in downloaded image file.
It’s a bug of my custom theme, of course, but it would be good for Image Store plugin to be safe against such bugs.
So, I have a suggestion to start download.php file of plugin with, for example, ob_clean();
That would clear output buffer from characters that are not supposed to go into image file.
Thanks!
Armands