Support Forum
I believe I know what Andy wants you to do, but at this point, I think I will just wait the few hours until he is back around...
Visit Cruise Talk Central and Mr Papa's World
The file in question is /simple-press/sp-api/sp-api-filters.php
It is, I am afraid, a big file. The biggest in core I believe. You are looking for a function called:
sp_format_display_image()
which is about two-thirds of the way through the file at line number 1318.
Pretty near the top if the function are these lines of code:
# is any of this needed? if ($sfimage['enlarge'] == false && $sfimage['process'] == false) return $match[0]; $thumb = $sfimage['thumbsize']; if ((empty($thumb)) || ($thumb < 100)) $thumb = 100;
These lines need to be moved beneath the block of code just a little fiurther down that is:
# is this a smiley? if ((strpos($src[1], 'plugins/emotions')) || (strpos($src[1], $spPaths['smileys']))) { return str_replace('img ', 'img class="spSmiley" style="margin:0"', $match[0]); } elseif (strpos($src[1], 'images/smilies')) { return str_replace('class="spSmiley"', 'class="spWPSmiley" style="max-height:1em;margin:0"', $match[0]); }
So put the first section of code AFTER this second section and I believe all should be well. I am torn between thinking SP has too many option settings and thinking it has what it needs. But I do know the more there are then the more complex the testing has to be to cover all the permutations and I am sorry we missed this one.
YELLOW
SWORDFISH
|
good news... thanks for confirming the fix...
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)