Quote:
Originally Posted by PinkMilk
I think changing to a link would be better, this way no small images are enlarged and saves even more space.
In the last code box find:
PHP Code:
return '<a href="' . $link . '" target="_blank"><img src="' . $link . '" border="0" width="100" alt="" /></a>';
Replace with:
PHP Code:
return '<a href="' . $link . '" target="_blank">' . $link . '</a>';
Not tested but should work
|
PinkMilk -
Is there any way you could modify this to return an if/then statement? I am using your modification above, but users are complaining and want to have the first image or two displayed as images, and the rest displayed as links. Is this easily possible?