[Qgis-community-team] Shadow border in training manual images?

George Irwin george at linfiniti.com
Thu Jun 26 01:28:54 PDT 2014


The CSS solution would work for the HTML output, but I don't think it will work for PDF output. But there must be some way to add a margin around the images when outputting the PDF, rather than having to add it to every image file manually?

Perhaps macho has an idea?

George


On 26 Jun 2014, at 10:22, Eduardo Gonzalez <eg at gismood.com> wrote:

> hi George,
> 
> I see, it seems that the border is somehow embedded in the image but my image viewer (IrfanView) does not recognize it and so its no visible there, but if I open the image in my browser (chrome) the border is there...
> 
> I will add at least a white border to my images so that they don't get so close to the text, but it would be nice to have a similar border to those you get from your mac. I will try to do it with GIMP, but does anyone have a better idea?
> 
> Eduardo
> 
> 
> On Thu, Jun 26, 2014 at 11:06 AM, George Irwin <george at linfiniti.com> wrote:
> Hi Eduardo,
> 
> The screenshots do mostly have shadows - any which show a full window have a shadow. They were taken on a mac which adds that shadow if the screen shot is of a full window. Not sure how you can replicate that on linux, but I don't think it's important. The shadow is not added by Sphinx or in the HTML (although I suppose it wouldn't be hard to replicate using CSS in the HTML output).
> 
> George
> 
> On 26 Jun 2014, at 10:02, Eduardo Gonzalez <eg at gismood.com> wrote:
> 
> > Hello,
> >
> > I am writing a new module for the training manual and I noticed that the images I am adding to the materials don't get the shadow border that other images in the manual have.
> >
> > I checked that the original images that are showing the shadow border, don't have the border... so it seems that the border is added to the HTML and PDF via the sphix template? But the images I have created myself come without a border...
> >
> > Anyone knows about this? And how I could get my own images to display that border?
> >
> > Regards,
> >
> > Eduardo
> > _______________________________________________
> > Qgis-community-team mailing list for organizing community resources such as documentation, translation etc..
> > Qgis-community-team at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/qgis-community-team
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-community-team/attachments/20140626/d9f77dde/attachment.html>


More information about the Qgis-community-team mailing list