Forum Discussion

OrangeYambles's avatar
OrangeYambles
Rising Adventurer
24 days ago

Cannot post images inside a spoiler

I can't find an official announcement saying that this feature is removed, so I'm treating this as a bug.

Replication steps:

  1. Create a spoiler tag
  2. Add image through either methods of computer or url.
  3. Try to publish



It works  in this post though.

10 Replies

  • OrangeYambles's avatar
    OrangeYambles
    Rising Adventurer
    23 days ago

    puzzlezaddict​ 

    That would be great. I'm trying to organise my post better so I only need it to work on the main thread itself, and not replies. 

    There's a "source code" option if I try to edit my thread. Are you able to share how yours is structured? Maybe I just need to mimic the same layout.

  • OrangeYambles​  Source Code is what I use too, but I don't know HTML well enough to remember how to do everything off the top of my head.  So what I often do is click the button for a given formatting tool in rich text mode, then switch to source code to see what it looks like, and add more there if necessary.

    In your situation, I would add the image first, plus any additional text you're including, then switch to source code and add the spoiler tags around it.

    This is the HTML version of that part of my guide:

    <li-spoiler label="[open the spoiler with the arrow to the right]">

    <p class="lia-linked-item">This is likely due to OneDrive syncing your files, although other cloud-syncing apps can be at fault.&nbsp; For OneDrive, try pausing syncing, which you can do by right-clicking the cloud icon in the lower-right corner of the screen, or sometimes the icon is hidden in the Tray (^ icon).</p>

    <li-image src="https://forums.ea.com/t5/s/tghpe58374/images/bS0xMjYzNjgwNC1STkxsREM?image-dimensions=750x750&amp;revision=13" id="RNLlDC" caption="false" alt="" align="center" resized="false" size="default" layout="stretch" name="" data-mce-src="https://forums.ea.com/t5/s/tghpe58374/images/bS0xMjYzNjgwNC1STkxsREM?image-dimensions=750x750&amp;revision=13"></li-image>

    [the other text I included]

    </li-spoiler>

  • OrangeYambles's avatar
    OrangeYambles
    Rising Adventurer
    23 days ago

    Sadly it didn't work. I copied the whole block and pasted it directly into the main post here too, without changes.

  • OrangeYambles​  I copied the same block into source code and posted it, but I edited a bit first.  Namely, I put one line above the spoiler and one just before the end (both looking like this: <p>stuff</p> ), and I deleted the extra line breaks.  Otherwise, the source code might not be read properly.  The post showed up fine in this forum, although I removed it later.

    Anyway, I've asked someone else if they know what's going on, whether it's a permissions/rank issue or something else about the site.  I don't have an alternate account to test with myself.

  • OrangeYambles​  This should be possible in general, but you would probably need to upload a fresh image (not the one from my HTML, and likely not one you've already posted elsewhere), then put the spoiler tags around it using Source Code editing mode.

  • OrangeYambles's avatar
    OrangeYambles
    Rising Adventurer
    11 days ago

    Hi puzzlezaddict​, I have made some progress, though now I am stumped again.

    First, your suggestion worked somewhat. I was able to put one image in spoiler and save it. You can find it in the link below.

    Next, I tried to add banners inside the other spoiler tabs in the same post by replicating the same method.

    But... I received the same error. And I'm not able to redraft my post without removing the successful image insertion.

    I'm leaving it up for now in case you want to inspect what went wrong. Here are the steps I used which made it partially work:

    Worked:

    1. click on a space outside the spoiler tab.
    2. upload an image directly from my computer.
    3. drag said image into an empty space inside spoiler tab.
    4. Hit Publish.

     

    Didn't work:

    1. Re-edit post.
    2. Repeated steps 1-3 for a new banner in a different spoiler tab.
    3. Hit Publish, receive error.
    4. Removed new banner and tried to publish. Receive Error. 


    Inspect partially working image in spoiler situation here:
    Kang Legacy

  • OrangeYambles​  I would strongly suggest not adding the spoilers until you've formatted everything else the way you want, AND adding them in HTML rather than moving stuff around.

  • OrangeYambles's avatar
    OrangeYambles
    Rising Adventurer
    10 days ago

    Hi puzzlezaddict

    That is my concern that banners in spoilers cannot be added unless everything else has been formatted completely. My use case is not a one-off edit but an ongoing project where I would like to add generational banners and sim profiles as my sim's legacy expands, so the post itself is an ongoing project and not a completed blurb. In this case where the intended use case by the devs doesn't meet user expectations, I hope this can be investigated as I do think there would be others that like me, would appreciate being able to organise their story threads without worrying about losing the ability to save after adding multiple generations of information. 

    I've tried adding pictures directly in spoilers with no luck, hence the dragging of pictures. I will give those a try again.

  • OrangeYambles's avatar
    OrangeYambles
    Rising Adventurer
    6 days ago

    Hi puzzlezaddict​ 

    I'm back with a new wave of testing.

    My latest finding is that I am able to add images in spoiler tag provided there were no existing images in spoiler tags before. Here is a list of findings so far:

    1. Images in spoiler can only be added through Upload to computer
    2. Images in spoiler can only be added once during the creation of a post. During this time, you can add as many spoiler images as possible.
    3. After #2, re-editing a post causes issues/bug to existing images in spoiler. User cannot re-publish the post unless they remove all existing images in spoiler, then reupload them all using #1.

    To replicate:

    1. Add images to spoiler via step 2.
    2. Re edit the post, don't change anything, and attempt to publish it.
    3. Observe error happening.