Image Embed changed

PhoenixMark
PhoenixMark
edited November 2013 in Campaign Portal Building
Not sure if anyone has asked.

In our old system, I could click on a image in the list of images, and it would paste the url. such as:

bc. !http://cdn.obsidianportal.com/assets/34925/Library.jpg(Library)!

It now pastes the image like this:

bc. !(media-item-align-none)//db4sgowjqfwig.cloudfront.net/assets/34925/Library.jpg?1295526539(Library.jpg)!

I was able, in the past, to then simply grab the image url, and paste it into whatever code I wanted to use, such as:

bc. background-image:url('http://cdn.obsidianportal.com/assets/34925/Library.jpg');

How do I do the same using the new code? Does this make sense? Help please, because this is a major change and I am clueless as to how to use the new code to do what I want done.

Thanks,

"PhoenixMark":http://www.obsidianportal.com/profile/PhoenixMark

"CRIMSON SKIES":http://www.obsidianportal.com/campaigns/crimson-skies
"COTM June 2012":http://blog.obsidianportal.com/crimson-skies-junes-campaign-of-the-month/

Also "Sactown Blues":http://www.obsidianportal.com/campaigns/sactown-blues and "Shimmering Kingdoms":http://www.obsidianportal.com/campaigns/shimmering-kingdoms

Comments

  • Savannah
    Savannah
    Posts: 188
    I'm pretty sure you just grab the bit between the parentheses

    bc. background-image:url('//db4sgowjqfwig.cloudfront.net/assets/34925/Library.jpg?1295526539');

    I had some code for images like that working, but then I changed my mind and deleted it, so unfortunately I can't double check, but I know I didn't do anything fancy. (Of course, background-image can be done much more easily by uploading the image to OP directly now.)
  • madartiste
    madartiste
    Posts: 328
    Actually, this part is enough: db4sgowjqfwig.cloudfront.net/assets/34925/Library.jpg
    I've already been using it and it works fine. Just slap an http:// in front of that and you can use it.
  • Keryth987
    Keryth987
    Posts: 1,047
    Yea. What Savannah said

    Plop it after an http: and you're good to go

    Keelah Se'lai,
    Keryth
    "Shadows Over New York":http://www.obsidianportal.com/campaigns/shadows-over-new-york
    "Campaign of the Month - July 2013":http://blog.obsidianportal.com/shadows-over-new-york-julys-campaign-of-the-month/

  • PhoenixMark
    PhoenixMark
    Posts: 90
    Thanks! I figured out another, complicated workaround…

    I just copy and paste the old style code, then plug the asset number and the picture name from the new code. That is a pain, but it works. I will try your solution when I get a few minutes.
  • Savannah
    Savannah
    Posts: 188
    Ah, I was debating whether or not the ?numbers was necessary. I'm pretty sure when I did it, I didn't need the http://, but I can't swear to it.
Sign In or Register to comment.

April 2024
Season of Strife

Read the feature post on the blog
Return to Obsidian Portal

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Discussions