JCOGS Image / CE Image compatibility tests

Original

JCOGS Image - Resizing

width='350'

height='200'

width='350' aspect_ratio='16_9'

width='350' height='225'

width='350' height='225' fit='contain'

width='350' height='225' fit='cover'

width='350' aspect_ratio='16_9' fit='contain'

width='350' aspect_ratio='16_9' fit='cover'

height='260' aspect_ratio='7:5' fit='contain'

height='260' aspect_ratio='7:5' fit='cover'

JCOGS Image - Cropping

width='300' height='150' crop='y|center,center|0,0|y'

width='300' height='150' crop='y|center,center|0,0|n'

width='300' aspect_ratio='4_2' crop='y|center,center|0,0|n'

height='260' aspect_ratio='7:5' crop='y|center,center|0,0|n'

height='260' aspect_ratio='7:5' crop='y|face_detect,face_detect|0,0|n'

height='260' aspect_ratio='7:5' crop='y|face_detect,face_detect|0,0|n' filter="face_detect"

height='260' aspect_ratio='7:5' crop='face_detect' face_crop_margin='50px'

JCOGS Image - Transformations

width='350' reflection='0'

width='350' rotate='45'

width='350' flip='v'

width='350' flip='h'

width='350' flip='h|v'

JCOGS Image - Image Type

width='350' save_type='webp'

width='350' save_type='webp' quality='lossless'

width='350' save_type='webp' quality='100'

width='350' save_type='webp' quality='20'

width='350' save_type='png'

width='350' save_type='png' png_quality='3'

width='350' save_type='png' png_quality='9'

width='350' save_type='gif'

width='350' save_type='bmp'

width='350' save_type='jpg'

width='350' save_type='jpg' interlace='yes'

width='350' save_type='jpg' quality='20'

Convert HEIC image - source heic save_type="webp" width='400' aspect_ratio='16_9'

JCOGS Image - Filters

width='350' filter='auto_sharpen'

width='350' filter='brightness,40'

width='350' filter='colorize,-20,20,-20'

width='350' filter='contrast,40'

dominant colour filter

dot filter - dot

dot filter - dot,,,square

dot filter - dot,4,#000,square

width='350' filter='edgedetect'

width='350' filter='emboss'

width='350' filter='gaussian_blur'

width='350' filter='gaussian_blur,30'

width='350' filter='grayscale'

width='350' filter='lqip'

width='350' filter='mean_removal'

width='350' filter='negate'

width='350' filter='noise'

width='350' filter='noise,10'

width='350' filter='opacity,50' save_type="png"

width='350' filter='pixelate,12,true'

width='350' filter='pixelate,12,false'

Replace Colour Filter

width='350' filter='scatter,3,5'

width='350' filter='sepia'

width='350' filter='sepia,slow'

width='350' filter='selective_blur,3'

width='350' filter='sharpen'

width='350' filter='sharpen,30'

width='350' filter='smooth,3'

width='350' filter='sobel_edgify'

width='350' filter='sharpen,30|grayscale|pixelate,15'

Rounded corners webp

Mask with star-13 jpg

Mask with star-5 webp

Mask with star-11 webp

Mask with circle webp

Mask with triangle wepb

Mask with square wepb

Mask with polygon webp

Mask with ellipse wepb

Mask with rectangle wepb

Mask with image webp

Rounded corners with border webp

Mask with star-11 border webp

Mask with circle border webp

Mask with triangle border wepb

Mask with square border wepb

Mask with polygon border webp

Mask with ellipse border wepb

Mask with rectangle border wepb

Mask with image border webp

srcset test

srcset+lazy test

svg test

background lqip lazy loading test

background dc lazy loading test

traditional lqip lazy loading test

traditional dc lazy loading test

JCOGS Image - Face Detection

face_detect filter no crop

normal crop on face_detect,face_detect

smart-scale crop on face_detect,face_detect

face_detect crop default settings

JCOGS Image - Bulk Tag

width='350' filter='sharpen' flip='h'

Macavity, Macavity, there’s no one like Macavity, There never was a Cat of such deceitfulness and suavity.

cats
img src="images" width="700px"

He always has an alibi, and one or two to spare: At whatever time the deed took place—MACAVITY WASN’T THERE!

cats
img src="https://gratisography.com/wp-content/uploads/2023/06/gratisography-kitten-plant-free-stock-photo.jpg"
cats
img src="/media/images/window-restore.svg"

JCOGS Image - Other parameters

nonsense filename: src='cats'

nonsense filename plus fallback_src: src='cats' fallback_src = 'https://addon-ee7.jcogs.net/media/images/blackcatbeach.jpg'

Oversized Image test

Cats! Cats!

Text Overlay

Text Overlay with custom font

Watermark Single

Watermark Repeat

Watermark Testing - kalkun

Watermark Testing - omjelle

{product_gallery:alt_text}

Filename contains URLencoded characters

filename has '+' within it

Aasun's tag
tag pair + width="637" height="850" crop="y"
allow_scale_larger="y" filter="sharpen,5"
border='5|rgba(30,40,50,.75)' cache='500'

Variable Output
aspect ratio 1.3343799058085
aspect ratio orig 1.325
attributes data-stuff="cheese" alt="" class="kittens" style="tigers"
extension jpg
extension_orig jpg
filesize {filesize}
filesize_bytes {filesize_bytes}
filesize_orig {filesize_orig}
filesize_bytes_orig {filesize_bytes_orig}
height 850
height_orig 530
lazy_image
made /images/jcogs_img/caches/blackcatbeach_-_1f4_-_09ef34da83c6458bfe93eafcd316d8fdb1960437.jpg
made_url https://addon-ee7.jcogs.net/images/jcogs_img/caches/blackcatbeach_-_1f4_-_09ef34da83c6458bfe93eafcd316d8fdb1960437.jpg
made_with_prefix /images/jcogs_img/caches/blackcatbeach_-_1f4_-_09ef34da83c6458bfe93eafcd316d8fdb1960437.jpg
mime_type
img_credit {img_credit}
img_description {img_description}
img_location {img_location}
img_title {img_title}
name blackcatbeach_-_1f4_-_09ef34da83c6458bfe93eafcd316d8fdb1960437
name_orig blackcatbeach
orig /media/images/blackcatbeach.jpg
orig_url https://addon-ee7.jcogs.net/media/images/blackcatbeach.jpg
orig_url https://addon-ee7.jcogs.net/media/images/blackcatbeach.jpg
path /home/jcogsnet/addon-ee7.jcogs.net/public_html/images/jcogs_img/caches/blackcatbeach_-_1f4_-_09ef34da83c6458bfe93eafcd316d8fdb1960437.jpg
path_orig /home/jcogsnet/addon-ee7.jcogs.net/public_html/media/images/blackcatbeach.jpg
type jpg
type_orig jpg
width 637
width_orig 400

palette test

Dominant Colour rgb(214, 222, 203)
1 rgb(18, 19, 12)
2 rgb(214, 222, 209)
3 rgb(219, 173, 39)
4 rgb(139, 199, 215)
5 rgb(216, 225, 129)
6 rgb(150, 77, 87)

save_type not specified wrong extension (png given format actually webp)

png with transparency

Image has IFD0.Orientation data

Photo of {submission:first_name:value} {submission:last_name:value}

animated gif