Animated GIFs in Lotus Notes - animated-gif

I have built a HTML email newsletter containing an animated GIF Christmas Ecard which is being sent to all employees of a company who exclusively use Lotus Notes.
The problem I'm having is that they are receiving the email fine, but the GIF isn't animating.
Any idea if there's a way to get this working?

You could ensure that the first frame of the gif looks nice so that the animation is an 'added benefit' rather than a requirement.

That they had one come through last year seems amazing to me. But if that is actually the truth it might have had something to do with the file size being too large. You should try to keep them under 40kb

Click Create in the toolbar above the email message. Click on the Picture option and then choose GIF from the pull-down menu. Go to the folder location of the animated GIF that you want to embed in the email. Click and highlight the file. Click the Import button to add the animated GIF.

Related

Wagtail: How to render the blocks dynamically on Admin panel?

In wagtail, I need to make a Struct/Stream Block
There is a dropdown on the top of the block(Image/Video)
If editor choose Image, VideoChooserBlock should be hidden.
And if editor choose Video, ImageChooserBlock should be hidden.
class MyBlock(StruckBlock):
category = ChoiceBlock(choices=(("image", "image"),("video", "video")))
image = ImageChooserBlock()
video = videoChooserBlock()
Here, editor should be able to choose only image or video depending on category.
Any help is appriciated.
Thanks
You may find it useful to review the code of wagtail-link-block which does something similar.
Main files to focus on:
blocks.py for displaying fields conditionally based on a ChoiceBlock
static/link_block/link_block.js and static/link_block/link_block.css to handle the DOM manipulation and styling with JavaScript and CSS
wagtail_hooks.py to insert JS and CSS

angularjs pdf viewer - select text of pdf

I use this directive to view pdfs:
PDF Viewer
and it really works fine. The only thing I would need is also to select text in PDF. Is there a possibiliy to do this or is it not doable?
Actually I am not sure if I am right but is it an image or is it the real pdf which is shown?
It is not possible to do this. If you inspect the HTML you will see the PDF is rendered in a canvas element. So it is an image that is shown rather than an actual PDF.

Community Builder platform in Salesforce-Increase space between button and text

I have a very simple assignment but for some reason it is not working. I am using the Community Builder feature in Salesforce. All I want to do is increase the spacing between the text and button(the orange marking). See picture below. I have been clicking to the "Page Editor" icon to make changes to the layout. On the side, where it says "Rich Text," I have pressed enter probably a 1000 times to increase the space but the button is in the same position. Can anyone please help on how I can increase the space between button and text?
Thank you
For Winter '17, simply pressing enter to create a new line break appears to work as you expect.
For non Winter '17, you could try this:
Click on the Rich Content Editor (or Rich Text) Lighting Component in the Community Builder
Click Source
At the very top of the source, you'll see <p>, change this to <p style="padding-bottom: 10px;">
If you want something like this to happen more than once, you could also create a custom Lighting Component that allows you to pick how much padding you want.

Navigate through big image

I have a big image with coordinate points.
I need to navigate through these points by pressing onscreen buttons.
Only a part of image is seen on the screen at once (shows your location).
By pressing arrow button the view moves to the next part of the same image.
This example looks good.
Please, suggest any way to implement this functionality in Codename One App
Thank You.
You can use the Map component but you can place any image as a label icon within a scrollable container and just let the user use the touch/keys to scroll.

Using lightbox2 to display text instead of images

I am trying to use lightbox2 to display a block of text after clicking a heading element:
something like
<h3>name</h3>
I have used lightbox for images with captions but this time I would like the caption to come up without an associated image after clicking a name on a webpage.
Thanks for any replies.
I don't think that lightbox2 is made for such a thing, why don't you try http://fancybox.net/ this one works 100%.

Resources