Revert "Move slugs into filenames"

This reverts commit 1baf0b454a.
This commit is contained in:
Oliver Davies 2018-10-21 00:04:05 +01:00
parent 1baf0b454a
commit e5abda2ee0
68 changed files with 68 additions and 0 deletions

View file

@ -0,0 +1,21 @@
---
title: Improve JPG Quality in Imagecache and ImageAPI
slug: improve-jpg-quality-imagecache-and-imageapi
tags:
- drupal-planet
- drupal-6
- imagecache
use: [posts]
---
{% block excerpt %}
Whilst uploading images for my Projects and Testimonials sections, I noticed that the Imagecache-scaled images weren't as high a quality the originals on my Mac. I did some searching online and found out that, by default, Drupal resamples uploaded jpgs to 75% of their original quality.
To increase the quality of your images, change the setting in the two following places:
{% endblock %}
{% block content %}
* admin/settings/imageapi/config
* admin/settings/image-toolkit
The first one is for ImageAPI. Primarily, this means Imagecache presets. The second one is for core's image.inc. This is used for resizing profile pictures in core, and some contrib modules. Once changed, I did have to flush each of the Imagecache presets (admin/dist/imagecache) for the changes to take effect.
{% endblock %}