• Home
  • Contact
  • FAQs
    • What is Webcomics.com?
    • Member Benefits
    • How To Post an Article or News Item
    • How to Post a Webcomic on the List
    • How to Post a Comic
    • Terms of Service
  • Forums
  • WebComics List
  • Benefits
    • Print Vendors: Get multiple quotes
    • Banner stand: Discount
    • Consultation discount
    • “How To Make Webcomics” book: discount
    • “Webcomics Handbook”: discount
    • ALL benefits
  • My Account
    • Welcome
    • What is Webcomics.com?
    • My Subscription
    • Join us!
  • Account
  • Membership List
Twitter Email RSS

Webcomics.com

How To Make WebComics

WebComic Handbook

‹ Social media — “I don’t know what... Webcomics Handbook ›

Get better-looking JPEGs on your WordPress site

You don’t need a subscription to read today’s post!

This is a re-post from the Webcomics.com archive. If you’ve ever been curious about the kind of information, tutorials and advice that you’ll get as part of your subscription to Webcomics.com, this is a good example.

If you’d like to join the site, you can get a 12-month subscription for $30 — or you can get a one-month Trial for $5 … with no obligation after your 30 days expire.  For less than three bucks a month, you can get a steady flow of information, tutorials and advice targeted towards your webcomic business — plus a private forum to discuss issues with other professionally minded cartoonists.

As you may have noticed, uploading a JPEG to your WordPress site kicks off an automatic process in which the file is compressed about 80%. This is great for the run-of-the-mill blogger that consitutes WordPress’ bread-and-butter user. But for us artists? Not so much.

In our cases, we’ve already compressed the image to the degree that we’re comfortable with — and an additional compression on top of that can sometimes add artifacts that make our images look worse than we intended!

So how do you prevent this from happening? Philip M. “Frumph” Hofer, the creator of the ubiquitous webcomics theme Comic Easel, has a solution.

It’s as simple as a few lines of code:

[css]// Don’t let WordPress recompress images.
add_filter( ‘jpeg_quality’, ‘mytheme_return_no_commpress_value’ );

function mytheme_return_no_commpress_value($quality) {
$quality = 100;
return $quality;
}[/css]

Implementation

You’ll put this code in your Functions.php file under your Child Theme.

• In your WordPress dashboard, go to Appearance -> Editor.

• In the right-hand corner, make sure the field in “Select theme to edit:” is your Child Theme.

• Click on Theme Functions (functions.php) in the right-hand column.

• Now, simply plug in your code (like the example below) and click Update File at the bottom.

wordpress-jpeg-tip

Please note: This only works if you’re uploading JPEG files. If you’re uploading PNG files, for example, the WordPress compression is not initiated, and there’s no reason to code against it!

Share this:

  • Facebook
  • Twitter
by Brad Guigar on October 9, 2015
Posted In: Archive Dive, Art, Tech, Web Site Design
Comments available to logged in users only.


Recent comments

  • Shadowmark Productions on Comicraft’s annual New Year’s Day Sale
  • Shadowmark Productions on CASE Act passes
  • Phil Maish on Comicraft’s annual New Year’s Day Sale
  • Phil Maish on Comicraft’s annual New Year’s Day Sale
  • Don Vega, v1: "Zorro" on the Border - Pipeline Comics on The crossbar ‘I’

Search




Webcomics.com Poll

I design my comic specifically for smartphones and digital tablets.

View Results

Loading ... Loading ...
  • Polls Archive

Categories

  • Archive Dive
  • Articles
    • Advertising
    • Art
    • Business
    • Community
    • Conventions
    • Creativity
    • Crowdfunding
    • Digital publishing
    • Image prep
    • Lettering
    • Marketing / Social Media
    • Merchandise
    • Print publishing
    • Tech
    • Web site
      • Web Site Design
    • Writing
  • ComicLab
  • Edited and Ready
  • Events
  • Guest
  • Hot Seat critiques
  • Information
  • Interviews
  • Livestream Chat
  • Mail Bag
  • Member Benefits
  • Promos
  • Site News
  • Studios
  • Surviving Creativity
  • To-Do List
  • Uncategorized
  • Video
  • Webcomics Confidential
  • Webcomics Weekly
  • Webcomics.com Poll

Tags

AdSense advertising Comic Easel comments composition contract copyright creativity exercise credit cards Crowdfunding digital lettering digital publishing Facebook Google Analytics holiday Humor IP KDP Kickstarter Kindle legal lettering line weight Longform comics Manga Studio merchandise NCS panels Patreon Promotion PulsePoint readers revenue SEO shipping social media Square taxes trademark Twitter typography Web design word balloons WordPress writing

Special Features

Just now, in the forum…

  • Quantity time vs quality time on social media
  • Writing a Slice of life
  • Can’t Set Up WordPress Site
  • Multiple Websites for Multiple comics?
  • How many to start with?

Recent Posts

  • Eisner Awards: Call for Entries
  • Finding the right format
  • NCS Divisional Awards: Call for entries
  • The Great Twitter Bot Purge
  • Doing it for the right reasons

Recent Replies

  • Shadowmark Productions on Can’t Set Up WordPress Site
  • Brad Guigar on Can’t Set Up WordPress Site
  • Shadowmark Productions on Can’t Set Up WordPress Site
  • edustin78 on Can’t Set Up WordPress Site
  • Brad Guigar on Quantity time vs quality time on social media

Recent Topics

  • Quantity time vs quality time on social media by MrMcCloud
  • Writing a Slice of life by MrMcCloud
  • Can’t Set Up WordPress Site by edustin78
  • Multiple Websites for Multiple comics? by MrMcCloud
  • How many to start with? by Boofredlay

Recent Comments

  • Shadowmark Productions on Comicraft’s annual New Year’s Day Sale
  • Shadowmark Productions on CASE Act passes
  • Phil Maish on Comicraft’s annual New Year’s Day Sale
  • Phil Maish on Comicraft’s annual New Year’s Day Sale
  • Don Vega, v1: "Zorro" on the Border - Pipeline Comics on The crossbar ‘I’
  • My Subscription
  • Contact
  • Store
  • Terms of Service
  • Account
  • Membership List

©2007-2021 Webcomics.com | Powered by WordPress with ComicPress | Subscribe: RSS | Back to Top ↑