[pmwiki-users] improved markup for floating images...?

Joachim Durchholz jo at durchholz.org
Tue Jul 26 15:57:13 CDT 2005


Patrick R. Michaud wrote:
>>- Finally I can live without proper thumbnailing, but it's a nice to 
>>have for some projects.  I think it could be done more easily by having 
>>the attach syntax only return a direct link to the file if there is no 
>>size specification - otherwise it is handled just like when you disable 
>>direct downloads.  
> 
> This could be done.  More to the point, the width= and height=
> wikistyle attributes could fairly easily detect that they're working
> on an image attachment and adjust the url appropriately, so that
> the syntax remains exactly the same for sites that have resizing
> capabilities as for those that do not.

Thumbnails are a good idea.
One issue here: if the thumbnails are cached, please make sure that they 
are removed after a while. Thumbnails tend to accumulated and can eat up 
lots of space if this isn't checked...

Regards,
Jo




More information about the pmwiki-users mailing list