Fix Gmail table rendering bug with images

Not something i do much but emailing is also part of a web developer life (except you feel so hype you don’t accept to do them anymore). After all, if you know how to code clean & reliable HTML4 code, it’s not a big deal.

But here it is: webmails. And specially Gmail. We all love it, and it’s one of the best around but we it comes to HTML rendering, i can’t really say Google has done a really great job here. And once again, here is the problem:

Gmail rendering bug

Of course, same email renders perfectly in Outlook, Apple Mail or Yahoo. Table cells have same height & width than included images and table has cellpadding/cellspacing to zero. After a few tests / fails, i’ve just ask Google and found this solution: adding an inline CSS  “display: block” statement on all images.

<img src="image.jpg" alt="foobar" width="600" height="100" style="display:block">

And it works.

Posted in Uncategorized

Fake giant digital camera street-marketing viral video

Viral marketing operation from Samsung using a shipping container as a giant digital camera. Not a big fan of the hipsters crowd and fake badly-integrated picture on top of the building but it’s still a pretty neat idea for a real street marketing event.

Posted in Uncategorized

Infinite Mario, in HTML5

Back in 2006, Minecraft’s father Markus Persson creates a Java-based Mario variant with procedurally-generated levels that could potentially go on forever. Yet pretty neat, 18 years old Robert Kleffner makes it even better, converted into a fashionable, cross-platform friendly HTML5 project.

Play Infinite Mario in HTML5

With HTML5 Angry Birds available for a few months and now part of Google+ Games, no doubt HTML5 is showing more and more its great potential out of web developers lands as an open cross-platform technology of choice.

Si is Flash a soon dead horse? As it actually stands and based on how good some HTML5 games perform, it seems easy to assume it is as it stands today. As it stands today, since i hardly imagine WebGL do as good as their Molehill realtime 3D engine anytime soon…

source: https://www.gamepro.com/article/news/221839/timewaster-of-the-day-play-mario-forever-with-html5-infinite-mario/

Posted in Uncategorized

Does Gmailman actually look at pictures too?

Holiday is, for most of us, a time we do exactly the opposite of what we do the rest of the year: you see business womans not moving a single finger / tanning all days long on the beach, car-addicted dad hiking, geeks getting some sun 🙂 It actually make no sense since (i hope) we normally don’t hate that much what we do year long but hey…

As part of the latter, i’ve decided to go paragliding since it actually makes no sense at all (ask my friends!). That was awesome/fantastic/breathtaking/mindblowing/blablabla… the point here is: my friend tool pictures of the land off and send them to me later in the day. And this is where GmailMan invites himself.

Here is a screenshot of the crime scene:

How can you actually explain me that? No subject, no body, no relevant picture name, … my friend is pure geek as me so his email is in no way related to some paragliding stuffs. Image recognition? There is nothing here on the picture itself any computer could recognize: it’s just a few pixels flatten wing on the floor.

Paragliding is definitely not something i do everyday so my gmail inbox is not full of related keywords. First people told me “what about your navigation history or search?”. If those were taken in account here, ads should be full of “position in NYC”, “HTML5”, or “mobile”. Anyway, i’ve just search once for paragliding nearby and there is no Adsence banners on the spot website.

That should come from the image. But how?!

If still don’t have the answer and please comment this blogpost if you have any idea but here is what i’m thinking about for now: exif metadatas. For those who don’t know it, cameras stores exif metadatas anytime you take a picture, and iPhone has a lot to say this it’s not just a camera: flash, orientation, gps location, elevation, iOS version (?!), … So if you just geocode those GPS coordinates, you can get some nice informations about what is popular around.

In image metadatas, OSX is giving town + province + country. If guess this is something iPhoto geocodes during import process based on GPS coords and adds in file metadatas too. Good chances that iPhoto is actually using Google Geocoding API to do so but this is something Google can easily do to reading my attachment metadatas. Once done, just look at what Google Search has to say when i ask town+province+country (here “Montmin, Rhones Alpes, France”)?
Yeap, I’m feeling lucky says “Paragliding”.

What do you think? Sounds like a pretty heavy process just to display an ad but taken in account that ads is #1 Google source of revenue, i guess it perhaps doesn’t sounds that heavy for them…

Thoughts?

EDIT: seems like i’m not the only one asking myself: https://www.labnol.org/internet/email/does-google-read-gmail-email-attachments-for-adsense-ads/2438/

Posted in Uncategorized

Heineken releases the fun out of TV spots with Augmented Reality

In july 2nd, Heineken launched an augmented reality based street marketing operation in Taiwan. Following a 360 campaign, this AR billboard lets pedestrians interact with one of the three main TV spot caracters. A star on the floor helps the ad to detect you, and invites you to be the star on screen (aka L.A.’s Walk Of Fame)

Worth notice there is not a single reference to the product itself (beer) in the interactive process, only on colored prints around the huge screen everybody is looking at. Nothing to win, no coupon, no drive-to-the-shop process, no Like-us-on-Facebook prompt, … fun centric.

Thumb up!

Posted in Uncategorized

A day in California tilt shift video from 10 000 shots

Ryan Killackey is working on and off for a year and a half, compiling 10 000 shot token in California by him and his wife. Final result is really cool!

Posted in Uncategorized

UGC intègre des QRCodes dans son magazine Illimité

Les cinémas UGC continue sur sa lancée mobile. Après son partenariat avec tout-le-cine.com proposant de voir la bande annonce du film en prenant en photo l’affiche du film (voir L’application Pixee sur votre iPhone), c’est maintenant directement dans son magazine gratuit “Illimité” qu’il est possible d’accèder à la vidéo par des qrcodes.

Cette fois, c’est coté cinema.fr qui rafle la mise, le lien du QRcode étant lié à une page dédié par film sur leur site, qui adapte la vidéo à votre terminal mobile.

Posted in Uncategorized