CartoDB / odyssey.js

Making it easy to merge map and narrative
BSD 3-Clause "New" or "Revised" License
1.62k stars 188 forks source link

Inserting fixed-width images with img HTML tag. #213

Open aurimaz opened 9 years ago

aurimaz commented 9 years ago

I have used slides layout in sandbox and tried to limit width of one of my photos by using tag as suggested in http://cartodb.github.io/odyssey.js/documentation/#images . I didn't get expected result - the one I got was the photo in default size (as with Alt text)

I haven't checked how it behaves with scroll layout.

matallo commented 9 years ago

hey @aurimaz is there any code snippet you can share so we can help? Thanks!

aurimaz commented 9 years ago

Hi, Carlos.

Sure, try this:

-baseurl: "https://2.maps.nlp.nokia.com/maptile/2.1/maptile/newest/normal.day/{z}/{x}/{y}/256/png8?lg=eng&token=A7tBPacePg9Mj_zghvKt9Q&app_id=KuYppsdXZznpffJsKT24"
-title: "img test"
-author: "Aurimas Pranskevicius"

img test

something somewhere

Evo Morales

Regards, Aurimas


On Mon, 5/4/15, Carlos Matallín notifications@github.com wrote:

Subject: Re: [odyssey.js] Inserting fixed-width images with img HTML tag. (#213) To: "CartoDB/odyssey.js" odyssey.js@noreply.github.com Cc: "aurimaz" aurimaz@yahoo.com Date: Monday, May 4, 2015, 8:18 AM

hey @aurimaz is there any code snippet you can share so we can help? Thanks!

— Reply to this email directly or view it on GitHub.

montrealks commented 8 years ago

Also curious about how to use HTML to control images