It would be nice if you could have a link to an image that does not display the image, but allows you to click on it to view it.
In setting up a knowlegebase that has many images, some of them quite large (router configuration maps), it was a bit of a pain dealing with images as they want to be displayed rather than just used as a link which then opens up the full image. Not sure if there is a way to force them to be clickable links like other documents. Would be nice to be able to integrate Lytebox as well.... Unlike lightbox2 which is basically limited to images, lytebox can be used for any content, not just images. http://www.dolem.com/lytebox/ Example of Lytbox in action: http://www.wx-host.com/stations.php It makes dealing with content that is larger than the fixed width of a regular page to be elegantly displayed. Still working on embeding a flash image slideshow package though I have not done much since the initial try. On Fri, Oct 16, 2009 at 3:00 AM, The Editor <[email protected]> wrote: > > I'm looking at the code in the uploads function and notice all upload > links have their attributes run through this bit of code, whether a > link to a pdf or an img: > > foreach($args as $f => $v) { > if (! in_array($f, BOLTattrs('img'))) > continue; > $attr .= "$f='$v' "; > } > > I'm wondering if links to files shouldn't have a different set of > allowed attrs. Currently I have: > > $BOLTattrs['a'] = > > 'id,class,href,name,style,rev,rel,target,title,accesskey,tabindex,class,id,xmllang'; > $BOLTattrs['img'] = > 'align,border,style,class,height,width,hspace,vspace,title'; > > Seems I should assign the BOLTattrs('a') filter to links to files? > Any thoughts... > > Cheers, > Dan > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "BoltWire" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/boltwire?hl=en -~----------~----~----~----~------~----~------~--~---
