• Some of my comic images get displayed at a slightly smaller size than the actual file. In the linked example, the strip is 600px wide (and if you right-click and view the image, that’s the size of the image you’ll get), but it’s being displayed at 571px wide.

    Another example is here:

    https://shine.erinptah.com/ashn/doujinshi-kas-inbox-yumiko-and-yumie/

    (Ahh, my art style circa 2005…)

    There’s no obvious pattern to the strips that get affected. I have wider strips that display normally, and taller strips that display normally, so it’s not like they’ve hit some automatic “shrink everything over x pixels” limit.

    What gives?

    And while I’m here, one more thing: In tag pages and search results, when you click the image for a strip, it doesn’t take you to the strip you clicked. (Instead it always takes you to the newest strip.) I’m not sure if that’s a new problem as of Webcomic 5, but I could swear it hasn’t always been there.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Mike

    (@mgsisk)

    I’ve fixed the archive issue by updating the /inkblot/webcomic/content.php template to use updated Webcomic 5 template tags.

    For the weird comic widths, try adding this to your custom CSS:

    
    .post-webcomic .webcomic-image img {
      box-sizing: content-box;
    }
    
    Thread Starter Erin Ptah

    (@sailorptah)

    Archive fix worked great! Does that mean it’ll be pushed to other sites running Inkblot next time there’s a general update?

    The CSS fix worked on the comics, but it also stopped the resizing that happens on archive/search pages, so those suddenly had a bunch of horizontal scrollbars. I expanded it to this and got the effect limited to the comic pages:

    .webcomic1-template-default .post-webcomic .webcomic-image img,
    .webcomic2-template-default .post-webcomic .webcomic-image img,
    .webcomic3-template-default .post-webcomic .webcomic-image img
     {
      box-sizing: content-box;
    }
    

    If there’s a more elegant solution, let me know. If not, well, at least it works.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Unnecessary comic resizing + incorrect links’ is closed to new replies.