Been many many moons since I had a peak at this script
You can't use both.
you cannot set noLink, and then linkTo - noLink trumps linkTo.
So it would be linkTo:http://mylink.com
There will always be...
October 04 2010 09:40 AM
thanks. i will give a try.
you should write that in the documentation.
October 18 2010 11:42 AM
i have another problem with the "useMicro" parameter.
PHP Formatted Code
useMicro When useThumb, render micro thumbs - possible values: integer pixel width of thumbs default: 0.
it seems it only works with the 'width' of a thumbnail. no problem with the landscape format images but when someone upload a portrait format images, the thumbnails that MediaBlock returns are over the borders of the table where are inserted.
the exactSize parameter from ImageBlock external work both height & width, but have other missing futures that MediaBlock has.
can't you make Media Block work with height as well ?
Last week I had the opportunity to use this script on a client site.
I updated the codebase to the latest mediaBlock(2.1.3) including that the fix you're requesting.
You can get it here.
This new version does away with the tables in favor of CSS tables. It also uses CSS3 box-shadow which only works in IE<9 with the help of PIE.
So if you want the old tables, just update the getThumbUrl function with the new one.